필터 지우기
필터 지우기

Setting the dimensions of a plot.

조회 수: 2 (최근 30일)
J
J 2015년 2월 23일
댓글: Sad Grad Student 2015년 2월 23일
How can I make the output plot of a function equal to x maximum and y maximum?

답변 (1개)

Sad Grad Student
Sad Grad Student 2015년 2월 23일
plot(max(x), max(y))
  댓글 수: 3
J
J 2015년 2월 23일
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 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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by