Scale the plot

5 views (last 30 days)
khatereh
khatereh on 5 Dec 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

Answers (1)

seyedashraf
seyedashraf on 5 Dec 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 Comment
Jan
Jan on 5 Dec 2011
VIEW is helpful for 3D images, but the OP wants 2D graphs, if I understand correctly.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!