Pcolor Plot for 50,000 values
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Alakesh Upadhyaya
am 25 Nov. 2021
Beantwortet: Walter Roberson
am 30 Nov. 2021
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 Kommentare
Walter Roberson
am 30 Nov. 2021
The file turns out to be a text file that has been named with the .mat extension.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!