The margin control in plotting

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?

回答(1 个)

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);

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by