Pcolor Plot for 50,000 values
显示 更早的评论
Let me try to put it this way:
I have 50,000 particles in a 2-D box. After I do my simulation, I get that some of the particles swirl around each other and kind of form a vortex type structure.
So now I have 50,000 x-cordinate(x), y-cordinate(y) and 50,000 value of x-velocity(vx) and y-velocity(vy).
What I want is to plot this data in such a way that it should show the vortex with arrows representing the direction of velocity.
Also it should have a colorbar.
One of my friend said that it can be plotted using pcolor and the arrows can be shown using quiver plot.
I need high quality image
Can anyone help, thank you!
6 个评论
Image Analyst
2021-11-25
Probably but you forgot to attach your data so no one can try anything for you.
Adam Danz
2021-11-26
Decent starting point:
Alakesh Upadhyaya
2021-11-29
Unable to load the file.
Have a look on this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/3225-quiverc
Alakesh Upadhyaya
2021-11-30
编辑:Alakesh Upadhyaya
2021-11-30
Walter Roberson
2021-11-30
The file turns out to be a text file that has been named with the .mat extension.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Vector Fields 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!