Scale the plot

3 vues (au cours des 30 derniers jours)
khatereh
khatereh le 5 Déc 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

Réponses (1)

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by