How to plot the streamlines and arrow surface in MATLAB from columns of data?
3 次查看(过去 30 天)
显示 更早的评论
Hello dears. I have attched data in the form of columns for plotting streamlines and arrow surface. How can I plot them both in one figure?. Thank you.
0 个评论
采纳的回答
KSSV
2023-3-2
clc ; clear all ;
% T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1311670/streamlines%20plot.txt',....
% 'HeaderLines',8) ;
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1311675/arrow%20surface%20plot.txt',...
'HeaderLines',8) ;
x = T.(1) ; y = T.(2) ;
u = T.(3) ; v = T.(4) ;
quiver(x,y,u,v)
更多回答(0 个)
另请参阅
类别
Find more on Surface and Mesh Plots in Help Center and File Exchange
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!