Show older comments
Hi all,
I am using colormap command and intereseted to know what is the maximum and minimum value I can define for the size. for example in Help it says
colormap(hsv(128)): creates an hsv colormap with 128 colors
How far can I increase this value? I know 256 is ok, I even tried 1000 but I just want to know if it is logic to increase it to what ever I want. Appreciate your help S:)
Accepted Answer
More Answers (1)
Walter Roberson
on 31 May 2011
0 votes
The minimum size you can use is 1, and the maximum size you can use is the largest array you can construct in your software (or perhaps a bit less than that due to the memory required by the routine that computes the appropriate color entries.)
Categories
Find more on White in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!