Setting the dimensions of a plot.

Respuestas (1)

Sad Grad Student
Sad Grad Student el 23 de Feb. de 2015
plot(max(x), max(y))

3 comentarios

Sad Grad Student
Sad Grad Student el 23 de Feb. de 2015
Can you explain what do you mean by "output plot" ? Give an example of input to the function and the expected output.
J
J el 23 de Feb. de 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 el 23 de Feb. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

J
J
el 23 de Feb. de 2015

Comentada:

el 23 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by