2D scatter plot with Z-value in color
239 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
It’s a basic question but I struggle to find the answer on the Internet...
I have a matrix with x,y and z colum, representing the c-coordinate, the y-coordinate and depth (z).
I’d like to plot (x,y) but that those points show a colorscale depending on the depth value (just the point colors I don’t want an interpolation).
Can somebody help me please?
1 件のコメント
Caoimhe Madine
2020 年 3 月 31 日
Would anyone be able to tell me how to do this but then interpolate the colours?
採用された回答
Walter Roberson
2013 年 7 月 30 日
pointsize = 10;
scatter(x, y, pointsize, z);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!