Effacer les filtres
Effacer les filtres

Setting the dimensions of a plot.

2 vues (au cours des 30 derniers jours)
J
J le 23 Fév 2015
Commenté : Sad Grad Student le 23 Fév 2015
How can I make the output plot of a function equal to x maximum and y maximum?

Réponses (1)

Sad Grad Student
Sad Grad Student le 23 Fév 2015
plot(max(x), max(y))
  3 commentaires
J
J le 23 Fév 2015
Its for a trajectory function...the graph will always vary due to unlimited possibilities of input. How do I make sure that y and x maximum never exceed the graph dimensions?
Sad Grad Student
Sad Grad Student le 23 Fév 2015
you can always check for conditions by getting the edges of the graphs and comparing those with values of x and y. Perhaps I might be able to help you better if you paste your code here.

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by