ahaoboy

subplot(2,4,1)
t=[3,10 20 5]
explode1 = [0 0 0 1] %将1对应的部分分离
explode2 = [0 1 1 0]
pie(t,explode2)

subplot(2,4,2)
x=0:1:10;
y=exp(x);
bar(x,y) %绘制柱形图
axis()
subplot(2,4,3)
compass([5+5i,10-5i]) %绘制向量图

subplot(2,4,4)
fill(x,y,\'g\');

subplot(2,4,5)
stem(x,y)

subplot(2,4,6)
area(x,y)

subplot(2,4,7)
stairs(x,y)

subplot(2,4,8)
%在3 5 处创建宽15长8 的圆角矩形
rectangle(\'Position\',[3,5,15,8],\'Curvature\',0.4,\'LineWidth\',2)
axis();

分类:

技术点:

相关文章:

  • 2021-07-03
  • 2021-12-07
  • 2021-11-27
  • 2021-05-06
猜你喜欢
  • 2021-12-26
  • 2021-12-12
  • 2021-08-14
  • 2021-12-09
  • 2021-06-01
  • 2021-08-15
  • 2021-12-09
相关资源
相似解决方案