Range of x and y

1 次查看(过去 30 天)
Offroad Jeep
Offroad Jeep 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