MATLAB Answers

R7 DR
0

How to control the axis properties in the plot?

Asked by R7 DR
on 27 Jul 2015
Latest activity Answered by Jan
on 27 Jul 2015
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

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Jan
on 27 Jul 2015

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.

  0 Comments

Sign in to comment.