How to control the axis properties in the plot?

Hi
As shown in the fig,the values on the X-axis are automatically adjusted to 10^-3,but I want to show the real values in my graph. I also want to increase the font size. So, how to adjust the properties of the axis in the plot?
Thanks

답변 (1개)

Jan
Jan 2015년 7월 27일

0 개 추천

The fontsize is easy: Create the axes with defining the fontsize or you set afterwards:
axes('FontSize', 12);
Avoiding the exponent is not trivial. You can set the TickLabels manually, but this is not smart when zooming the plot. So use one of the smart automatic label creators from the FEX:
Please note that searching in the FileExchange is always a good idea to solve problems efficiently.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2015년 7월 27일

답변:

Jan
2015년 7월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by