matlab plot3 宽度,Matlab画图设置线宽和字号(Matlab picture setting line width and font size).doc...

Matlab画图设置线宽和字号(Matlab picture setting line width and font size)

Matlab画图设置线宽和字号(Matlab picture setting line width and font size)

Matlab draw line width and size

Since so many people have come here to read, I will do more notes, for your reference.

The following code does not require special settings, but only after the plot statement is inserted.

%plot your figure before

%%%%%%%%%%%%%%%%%%%%%

Set (GCF,'Units','centimeters','Position', [10 107, 5]);% settings; picture size 7cm * 5cm

%get hanlde to current axis returns the handle to the current coordinate axis of the current graph,

% (the, first, element, is, the, distance, of, the, axes, relative, to, the, left,, edge, of, the, figure,...

%the, second, the, vertical, distance, the, bottom, and, then, from, the, width, and, height;

Set (GCA,'Position', [.13,.80,.74],.17);% sets the proportion of the XY axis in the picture

Set (get (GCA,'XLabel'),'FontSize', 8); on% chart, the text is 8 point or small 5

Set (get (GCA,'YLabel'),'FontSize', 8);

Set (get (GCA,'TITLE'),'FontSize', 8);

Set (GCA,'fontsize', 8);

Set (GCA,'linewidth', 0.5);% coordinate lines are 0.5 pounds thick

Set (GCA,'box','off');%Controls, the, box, around, the, plotting, area

Set (get (GCA,'Children'),'linewidth', 1.5);% set line, line width 1.5 lbs.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The following method of setting up other parameters is actually using the function handle to manipulate the graphics. Interested in your own research:

Here, are, some, tips, on, making, figures, with, Matlab, for, theses, papers/abstracts, and, reports., Basically, you, need, to, change/disable, some, of,, Matlab's, default, settings,, to, get, better, the, you, print, want.

Figures and axes/subplots are defined in Matlab by a set of "handles" that, for example, define the size of a figure or the position of an axes system within a figure. To understand how this work you must know that Matlab is written object oriented. The way I understand is that there is a hierachie in the different objects. For example, your screen has the highest priorit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值