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

Home » Public Forums » archive » Re: FSC_COLORBAR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FSC_COLORBAR [message #77409] Thu, 01 September 2011 14:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bob writes:

> I really like cgColorbar but it needs two small changes
> to really work right. These are to change the default format
> to '' and divisions to 0 (ie, let plot choose). See below
> for a diff. If you try the following with the default
> and modified version it will be clear why these are
> better defaults:

I guess a definition of "work right" depends on what
you do with it. cgColorbar has "worked right" for me
for quite a few years. :-)

Getting a color bar to "work right" is probably why
IDL never provided one. This routine, probably more
than most, allows you to do pretty much everything
that needs to be done. In that sense, it probably
works OK, at the very least.

But, you may be right. I know I chose the default
format of "I0" specifically so that it would be "wrong"
in some instances so that people would have to go
looking for how to make it right. After I did that,
and people discovered that there was actually
documentation in the file(!), my support calls went
way down. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgWindow Update
Next Topic: Font Tables Gone

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

Current Time: Thu Oct 09 06:57:07 PDT 2025

Total time taken to generate the page: 1.99815 seconds