matlab常用画图操作
1.设置坐标轴
2.设置figure大小
3.matlab线条设置
4.子图设置
5.颜色查询
6.colorbar设置
7.线条透明度设置
8.设置坐标轴刻度形式(对数刻度)...('Value','fontsize',12,'fontname','Times') %设置y轴字体
set(gca,'FontName','Times New Roman','FontSize',11...,'FontWeight','bold'); %设置坐标刻度字体
axis off; % 去掉坐标轴
set(gca,'looseInset',[0 0 0 0]) %去掉白色边框
2.设置...'LineWidth',0.2);
% set(c,'color',[0.41, 0.41, 0.41]);
6.colorbar设置
%不显示colorbar
colorbar off;
colorbar...设置线条透明度
c=plot(x1,'k','LineWidth',0.3);
c.Color(4) = 0.5;
样例:
8.设置坐标轴刻度形式(对数刻度)
%设置坐标轴刻度
set(gca,