How to plot scatter type figures using gridded data?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
As you know, scatter plot takes in a 3-column data. What if my X, Y, and Z are all gridded data with the size of 360 x 180?
How do I display the value in each grid using colors? Kind of like contour but I want to see the values at each of the grids.
Thanks!
1 Commento
AndresVar
il 18 Feb 2022
I usually just plot Z as a scaled image: Display image with scaled colors - MATLAB imagesc (mathworks.com)
% example
Z=randi(10,3); % "gridded data" 3x3
x=3:6; % x coords you can get from X mesh
y=6:9; % y coords you can get from Y mesh
imagesc(x,y,Z)
Risposte (1)
Vedere anche
Categorie
Scopri di più su Scatter Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!