|
"us " <us@neurol.unizh.ch> wrote in message <hnvdb0$f4v$1@fred.mathworks.com>...
> "Erik " <erija952@student.liu.se.remove.this> wrote in message <hnvcou$5gm$1@fred.mathworks.com>...
> > Hello!
> > I need some help to understand colormap. I currently have a pointcloud in a N*3 matrix with each row beeing a coordinate [X Y Z]. I can plot the raw pointcloud using plot3 (or surf) by a simple "plot3(rMap(:,1),rMap(:,2),rMap(:,3),'.')"
> >
> > Now, I want to add a jet colormap to the pointcloud in order to see height differances better. I've tried running colormap(jet) etc but it doesn't work. How can I add a jet colormap to my figure? Do I need to use something else besides plot3?
> >
> > I want the image to look something like the link below when done
> > http://img535.imageshack.us/img535/576/snapshot1n.png
> >
> > Very grateful for help on my annoying problem. Sorry if I'm posting on the wrong place aswell. I'm new here.
> >
> > Sincerely
> > /E
>
> a hint:
>
> help scatter3;
>
> us
I believe this will solve my problem!
Thanks alot!
/E
|