Full control of plot axes and labels?

조회 수: 1 (최근 30일)
Ole
Ole 2016년 5월 31일
댓글: Walter Roberson 2016년 6월 1일
I am having troubles with plot of figure. Seems it has alot of data point and respond quite slowly when I tried to change the fig file.
So I would like to set all figure properties on fig print.
My questions are how to control the axis font size, color, and size and color of the labels. For some reason the fig file color is some grey. I would like it black. Thank you.
x=linspace(1,10,20); y=x.^2;
plot(x,y)
ax = gca;
ax.FontSize = 11;
xlabel('X [s]');
ylabel('Y [m]');
xlim([0 5]);ylim([0 40])
  댓글 수: 3
Ole
Ole 2016년 6월 1일
Changing fig file from its menus is easier. But is too slow. So I want to genrate the fig file and save as image.
Walter Roberson
Walter Roberson 2016년 6월 1일
.fig files do not have menus. figures often have menus, but not .fig files.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by