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

Re: Colomap size limit

$
0
0
"Debejyo Chakraborty" <debejyo.removethis@yahoo.com> wrote in message <kep77f$9qi$1@newscl01ah.mathworks.com>...
> One interesting problem. I was building custom colormaps. It so turns out that the colormap vector cannot be more than 256 rows. Example, if you want 512 levels of gray to be your colormap, it just would not work. Anybody think I am doing something stupid? I could not find any documentation that says that I am limited to only 256 colors.
>
> Thanks for your response.

See the renderer property: get(gcf,'Renderer'). Change that to zbuffer or OpenGL.

Viewing all articles
Browse latest Browse all 19628

Trending Articles