How to make plot in Matlab 2014 looked the same as Matlab 2013 default?

6 ビュー (過去 30 日間)
Peng
Peng 2014 年 11 月 27 日
編集済み: Peng 2014 年 11 月 27 日
Just upgrade to Matlab 2014 and looks like the default plot looks very different from Matlab 2013 default. Is there away to easily make plot in Matlab 2014 looked like the default plot in Matlab 2013?
In the middle of a project and need some 2014 feature. Don't want to have plots in two styles in the same document but it is too painful to go back and change every picture to 2014 style... Need help!
  1 件のコメント
mashtine
mashtine 2014 年 11 月 27 日
What do you need changed? Need a bit more specificity. Background colour? axis labels? etc

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

回答 (2 件)

Robert Cumming
Robert Cumming 2014 年 11 月 27 日
Is it the default colormap which is the problem? The default changed.
You should be able to get back to the R2013 map using:
colormap ( 'jet' )

Peng
Peng 2014 年 11 月 27 日
編集済み: Peng 2014 年 11 月 27 日
Thanks, colormap was one of the difference, but there is something more fundamental:
If just run the same code in 2013 and 2014:
if true
x = linspace(0,10);
y1 = sin(x);
y2 = sin(5*x);
figure
subplot(2,1,1);
plot(x,y1);
grid on;
subplot(2,1,2);
plot(x,y2);
grid on;
end
in 2013 we get:
in 2014 we get:
Is there a "2013 style" I can set everything back to?

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by