
Re: How to draw markers on a 2D colormap plot?
Posted:
Dec 30, 2012 2:33 PM


"Sadik " <sadik.hava@gmail.com> wrote in message <kbo7bf$3om$1@newscl01ah.mathworks.com>... > 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.
Hi Sadik,
Thanks for your reply. But I am looking to plot markers on XY plane and not in 3D. Because, I have a 2D plot where the colormap is representing the third dimension.
Say, the third dimension is Zvalue....
What I am trying is to plot markers on the colormap for some specific values of Z. I am not plotting Z here, but plotting markers with XY location denoted by V1() and V2().
I hope it's clear to you now. Thanks,
Shahriar

