Scale the plot

3 Ansichten (letzte 30 Tage)
khatereh
khatereh am 5 Dez. 2011
Hi , I have as loop that plots something and save it. In order to be easy to compare the results I want to scale the plot in the x axis so all of the plots can be comparable . I don't want to use xlim. because some of the graphs have 200 points in x xis some have other one. I want to see the whole range but the graphs who has 200 point looks slimmer that the one who has 300 point.
Cheers Khatereh

Antworten (1)

seyedashraf
seyedashraf am 5 Dez. 2011
Salam khatereh,
seems like you just need to fix the view ,try this:
view(140,50);
put it right after the surf,surfc,plot3,... command line
  1 Kommentar
Jan
Jan am 5 Dez. 2011
VIEW is helpful for 3D images, but the OP wants 2D graphs, if I understand correctly.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by