OCTAVE Paint

1, lines bold

 

x = 0: 0.1: 8 * pi;

y = sin (x);

plot(x,y,'LineWidth',5)  

2, the curve becomes a break point

 X=80:0.001:140;
>> Y=spline(x,y,X);
>> plot(X,Y)

3, the coordinate values ​​set font size

set (clearly, "trickle", 20)

4, while drawing curves and scatter charts, and diagrams beautification

>>plot(x, y1, 'ok-', 'linewidth', 1.1, 'markerfacecolor', [36, 169, 225]/255)
>>  set(gca, 'linewidth', 1.1, 'fontsize', 16, 'fontname', 'times')
>> xlabel('Input voltage(kv)')
>>  ylabel('I/I0')
>> title('d=30mm')
>>  print('i_i0_d.png','-dpng')

Guess you like

Origin www.cnblogs.com/hehesunshine/p/11720592.html