James Boyle wrote:
> I am using the colorbar with a discrete set of intervals, the  
> progression through the levels is not linear.
> Presently, the colorbar call labels every other level, this looks  
> very nice,  but unfortunately in my case one cannot infer the value  
> of the unlabeled levels due to the non-linear scale.
> Is there any easy way to force a label for every level ?
> I am aware of the ticker - Locator, Formatter mechanism but I am  
> looking for a very simple solution. If not I'll just do it.

Jim,

Try the ticks=blist kwarg, where blist is the list of boundaries that 
you want labeled.

The ticks kwarg can specify either a sequence or a Locator; if no ticks 
kwarg is given then a default Locator is used.

Eric

> 
> Thanks for any help.
> 
> --Jim
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to