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

Home » Public Forums » archive » Re: Philosophical Scaling Question
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: Philosophical Scaling Question [message #51600 is a reply to message #51599] Mon, 04 December 2006 08:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paolo Grigis writes:

> Well, as I see it, you are scaling the wrong quantity:
> it is not the *values* of r,g,b that should be scaled,
> but their *indices*... try:
>
> ind=bindgen(256)
> TVLCT, r[LogScl(ind)], g[LogScl(ind)], b[LogScl(ind)]

Yes, I just came to that conclusion myself. This works
as expected. Thank you!

Now the question remains: How would you make a
logarithmic color bar in a general way that would
accommodate various log scalings? I believe I could
do it if I were also displaying the image, but I
have grave doubts about it being possible to do it
generally.

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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mapping countries
Next Topic: Help with numerical integration

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

Current Time: Thu Oct 09 20:31:55 PDT 2025

Total time taken to generate the page: 0.72065 seconds