How do you extract the colors from the colormap? So if I have some colormap: a = ColorMap([RGB(1,0,0),RGB(0,0,1)],100,1.) How do I get the vector of colors (should contain 100 colors from red to blue)?
On Sunday, September 22, 2013 2:46:48 AM UTC+10, Steven G. Johnson wrote: > > See also https://github.com/stevengj/PyPlot.jl#color-maps ... note that > matplotlib actually has quite a nice collection of built-in colormaps, as > you can see if you run `get_cmaps()` in IJulia. >