Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: How to draw markers on a 2-D colormap plot?

$
0
0
Hi Shahriar,

You should use plot3.

Let us say condition is DATA<0.5. Then,

Xcond = X(DATA<0.5);
Ycond = Y(DATA<0.5);
Zcond = DATA<0.5;

plot3(Xcond,Ycond,Zcond,'*')

Best.

Viewing all articles
Browse latest Browse all 19628

Trending Articles