Setting the dimensions of a plot.
Show older comments
How can I make the output plot of a function equal to x maximum and y maximum?
Answers (1)
Sad Grad Student
on 23 Feb 2015
plot(max(x), max(y))
3 Comments
Sad Grad Student
on 23 Feb 2015
Can you explain what do you mean by "output plot" ? Give an example of input to the function and the expected output.
J
on 23 Feb 2015
Sad Grad Student
on 23 Feb 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.
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!