I want to represent my set of 2D points as colored regions like green for one type and red for other, anyone has any suggestions

I have tried imagesc for this but that's not I want, I have data of set of points,some have tags of "read" and some with "not read".So I want to see group of "read" points as green region and other as red.
Any one as any suggestions Please reply!

2 件のコメント

What format is your data in? Do you have individual (X,Y) coordinates for each, or should it be a grid?
It is in (X,Y) form

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

回答 (1 件)

Laura Proctor
Laura Proctor 2011 年 6 月 23 日
You may want to check out the gscatter command to see if this is what you're looking for.

2 件のコメント

Looks like that requires that Stats toolbox
Thanks for your reply,
I looked in statistics toolbox, but I didn't find any solution of my concern
I want something like in 2D axis, it shows green and red region not group of points there.

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

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

質問済み:

2011 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by