MATLAB Answers

The margin control in plotting

25 views (last 30 days)
Liu Liu
Liu Liu on 22 Jun 2016
I am using the Matlab code to plot PDF figures, but not know how to control the margin outside the axes. For example, I need a figure like this
However, not enough space is outside of the axes,
The axial-labels are not fully shown in the figure.
Could anyone kindly help me solve this problem?

  0 Comments

Sign in to comment.

Answers (1)

Muhammad Usman  Saleem
Muhammad Usman Saleem on 22 Jun 2016
Edited: Muhammad Usman Saleem on 22 Jun 2016
if your x and y labels are going outside the margin, then try to change their font size small
try this
xlabel('t1/Tn','FontSize',8);
ylabel('Fdlf1','FontSize',8);

  0 Comments

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!

Translated by