Setting the dimensions of a plot.
显示 更早的评论
How can I make the output plot of a function equal to x maximum and y maximum?
回答(1 个)
Sad Grad Student
2015-2-23
plot(max(x), max(y))
3 个评论
Sad Grad Student
2015-2-23
Can you explain what do you mean by "output plot" ? Give an example of input to the function and the expected output.
J
2015-2-23
Sad Grad Student
2015-2-23
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.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!