Scale the plot

3 ビュー (過去 30 日間)
khatereh
khatereh 2011 年 12 月 5 日
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

回答 (1 件)

seyedashraf
seyedashraf 2011 年 12 月 5 日
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 件のコメント
Jan
Jan 2011 年 12 月 5 日
VIEW is helpful for 3D images, but the OP wants 2D graphs, if I understand correctly.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by