[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36473] colormaps different from matlab

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #36473] colormaps different from matlab
Date: Tue, 15 May 2012 16:18:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4

Follow-up Comment #3, bug #36473 (project octave):

I'd rather not hard code a list of colormaps if possible.

How about using a persistent cellstr list in the colormap function, then
allow the list to be displayed with

colormap ("list")

and added to with

colormap ("register", "name")

Then you could add lines like

## PKG_ADD: colormap ("register", "jet");

to all the colormap functions and the documentation just needs to say
"colormap ("list") displays a list of all available colormaps."

The docstrings for all the available colormap functions (with
descriptions) should be grouped together in the manual, so I
don't think it is necessary to provide a list describing them in the
colormap function docstring.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]