How to plot meshgrid without successive intervals
显示 更早的评论
Respected sir,
My data set is X=1,1.5,2,2.5,3
Y=0.8351,0.8265,0.7569,0.6348,0.5219
回答(1 个)
KSSV
2020-8-25
X=[1,1.5,2,2.5,3] ;
Y=[0.8351,0.8265,0.7569,0.6348,0.5219] ;
[X,Y] = meshgrid(X,Y) ;
plot(X,Y,'r',X',Y','r')
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!