On Tue, Jul 17, 2012 at 8:12 AM, Yannick Copin <yannick.co...@laposte.net>wrote:

> Hi List,
>
> Short question: is there any (simple) way to generate "spectral" images
> such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ ?
>
> Long version: say I have 1D-array l, which I would like to visualize as
> the L component of an HSL image, where the HS component would e.g. come
> from the standard "spectral" cmap (that's what I think I understood of
> the problem, but maybe what I said is just nonsense...). How should I
> proceed?
>
> Cheers,
>

I would utilize the ColorbarBase object.  It has a method "add_lines()"
where you could add black lines at the locations you want.

Cheers!
Ben Root
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to