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

Home » Public Forums » archive » Re: tv with axes routine (colorbar wishlist)
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: tv with axes routine (colorbar wishlist) [message #51611] Sat, 02 December 2006 17:28
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> I am finding myself working on imagesc and wishing that colorbar would
> plot log color scales....
>
> Is there a clever way to do this I don't know or is this a feature that
> is not implemented?

It's not particularly clever. It is pretty much a PLOT
command, with maybe some special labeling for the
log axis

http://www.dfanning.com/graphics_tips/minorlog.html

But the current color bar relies on someone else to
set the colors correctly. I have little faith in the
masses to do this correctly using a log scale:

http://www.dfanning.com/color_tips/logcolor.html

Would your proposed wish list include having the
color bar load the colors itself? Where then?
Would you want to specify the gamma of the log
scale lookup yourself? Or do you wish to specify
the particular log function to use?

I think the main reason I haven't written a log
colorbar is that I'm not sure I have time to answer
all the questions it will possibly engender. It
seems rather particular to a specific problem to me.

Does anyone have an example of this?

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: tv with axes routine (colorbar wishlist) [message #51615 is a reply to message #51611] Sat, 02 December 2006 15:49 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
I am finding myself working on imagesc and wishing that colorbar would
plot log color scales....

Is there a clever way to do this I don't know or is this a feature that
is not implemented?

-Brian
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: tv with axes routine
Next Topic: Re: objects, crashes, and negative memory oh my

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

Current Time: Wed Oct 08 17:44:54 PDT 2025

Total time taken to generate the page: 0.00473 seconds