How to plot scatter type figures using gridded data?

5 次查看(过去 30 天)
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 个)

KSSV
KSSV 2022-2-18
Use:
scatter(X(:),Y(:),Z(:))

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by