figure
h = axes('Position',[0 0 1 1]);
axes('Position',[.25 .1 .7 .8])
plot(rand(5, 1))
set(gcf,'CurrentAxes',h)
text(.02,.4,'text text text text text')
如何向左拉伸放置文本的外部空間,使其不與軸號重疊?
uj5u.com熱心網友回復:
正如@CrisLuengo 建議的那樣,簡單地
figure('Color','w')
h = axes('Position',[0.45 0.1 0.5 0.85]);
plot(rand(5, 1))
text(-2,.4,'text text text text text')
會給你

轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/363399.html
標籤:MATLAB
