The margin control in plotting
1 view (last 30 days)
Show older comments
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154324/image.jpeg)
However, not enough space is outside of the axes,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154326/image.jpeg)
The axial-labels are not fully shown in the figure.
Could anyone kindly help me solve this problem?
0 Comments
Answers (1)
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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!