i want to plot a 2D surface color map plot

2 ビュー (過去 30 日間)
Joseph
Joseph 2014 年 9 月 28 日
コメント済み: Image Analyst 2014 年 9 月 29 日
I have a data set of CO concentration in the atmosphere for different altitudes according to the longitude and the latitude. I want to plot a 2D surface colormap for CO concentration for latitude and longitude. If I can plot a color map for one altitude I can extend it to a 3D plot later. how can i do that?

回答 (1 件)

Image Analyst
Image Analyst 2014 年 9 月 28 日
Can you show examples? A 2D array is like an image. If you plot that as a surface where the Z value is the gray level and you make a perspective rendering of it, like you get with surf(), then that's kind of like a 2.5D plot. It's not true 3D because there is not a Z value for each x,y pair. A true 3D image would be like a volumetric image like a CT or MRI medical image.
  2 件のコメント
Joseph
Joseph 2014 年 9 月 28 日
Thank you very much for the reply. I attached a similar image in the comment. Check it out. The colors give you the different concentrations of CO.
Image Analyst
Image Analyst 2014 年 9 月 29 日
I agree with Mohammad. That's why I always check my attachments after I post them to make sure I posted the right thing. Failing an example, about all I can suggest is surf() again. Or since you have lat and long, do you have the Mapping Toolbox? Maybe there are special functions in that - I don't know.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeOrange についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by