matlab怎么把一组已知的点画在坐标图上?

subplot(2,2,1), mesh(z1)

>> x = [ 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 ];

>> y = [ 0.0, 1.27, 2.16, 2.86, 3.44, 3.87, 4.15, 4.37, 4.51, 4.58, 4.02, 4.64];

>> plot(x,y,'*r')

>> grid on

 

===============================

x=[0.02,0.05,0.08];
y=[86.18,80.16,76.64];
figure

plot(x,y)

 

 

Reference

1  https://zhidao.baidu.com/question/1541026726657077427.html

 

 

 

 


版权声明:本文为weixin_47556699原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。