필터 지우기
필터 지우기

Range of x and y

조회 수: 5 (최근 30일)
Offroad Jeep
Offroad Jeep 2022년 10월 14일
댓글: John D'Errico 2022년 10월 14일
Hi!
I have the values of x and y...
x ranges for 1.8 to -1.8
y ranges from 5 to -5
I want to set the value of x = 2 to -2 and for y 5.5 to -5.5
so that the graph gets plotted in between my set range .... please guide
Regards...
  댓글 수: 1
John D'Errico
John D'Errico 2022년 10월 14일
Are you really asking for the axes to be plotted in REVERSE order, thus with the ticks showing High to Low on both axes?

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

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 10월 14일
Use the axis command after creating your plot.
axis([-2 2 -5.5 5.5])

추가 답변 (0개)

카테고리

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