comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: colorbar - annotation isn't equally spaced...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: colorbar - annotation isn't equally spaced... [message #52257] Thu, 25 January 2007 06:03 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yikes writes:

> I am using David Fanning's colobar.pro but the text annotations aren't
> equally spaced.. e.g. 0.2,0.3,0.4,0.6,0.7,0.8,0.9
>
> Does anyone know why this is the case?

Can you show us how you are calling it?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: colorbar - annotation isn't equally spaced... [message #52379 is a reply to message #52257] Tue, 30 January 2007 03:56 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Yikes writes:

> This is how I call the colorbar.. colorbar, /right, format =
> '(f5.1)',range = [0., 1.], /vertical

Ah, well, your format doesn't contain enough precision
to *show* that the values are equally spaced! Try something
like this:

Colorbar, /Right, /Vertical, Range=[0,1], $
Format='(F5.3)', Position=[0.7, 0.1, 0.75, 0.9]

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: colorbar - annotation isn't equally spaced... [message #52381 is a reply to message #52257] Tue, 30 January 2007 01:42 Go to previous messageGo to next message
Yikes is currently offline  Yikes
Messages: 8
Registered: January 2007
Junior Member
Hi David,

This is how I call the colorbar.. colorbar, /right, format =
'(f5.1)',range = [0., 1.], /vertical

Thanks...
Re: colorbar - annotation isn't equally spaced... [message #52430 is a reply to message #52379] Thu, 01 February 2007 01:30 Go to previous message
Yikes is currently offline  Yikes
Messages: 8
Registered: January 2007
Junior Member
Thank you!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: operation with array of NaNs
Next Topic: Re: Cutting/Exclude ROI's based on overlapping

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:40:26 PDT 2025

Total time taken to generate the page: 0.00751 seconds