--- Jay Lyerly <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm trying to change the tick labels in a colorbar from the defaults to 
> a range of numbers that represent the data.  The range (1e-16, 3e-15) is 
> a simple list with constant stepsize and the Enumerator seems to build 
> the list easily enough.  Colorbar doesn't like the enumerator output b/c 
> it wants a stringlist and enumerator builds a valuelist.  Is there a 
> straightforward way to convert from a valuelist to a stringlist (or a 
> better way to build a stringlist for a range of numbers)?  I've tried 
> changing it with format, but I either get a single string with all the 
> values or other undesirable results.

I had a similar problem, solved in my case using the Formatlist module. It
outputs a string list rather than a string. In my case I wanted a tick
representing the day in a timeseries moving along a bar labelled with months. A
larger tick would be nice, but I haven't worked out how to do that yet.

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

Reply via email to