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 #51732 is a reply to message #51593] Mon, 04 December 2006 12:43 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

>> LoadCT, 33
>> image = LoadData(7)
>> TVLCT, r, g, b, /GET
>> data = Scale_Vector(image, 1, 1000) ; Data in log scale.
>> pos = [0.1, 0.1, 0.9, 0.7]
>> TVImage, LogScl(data), Position=pos, /Keep, /Erase
>> index = Bindgen(256)
>>
>> TVLCT, r[LogScl(index)], g[LogScl(index)], b[LogScl(index)]
>> Colorbar, Range=[1,1000], XLOG=1, Divisions=3, $
>> Position=[pos[0], 0.87, pos[2], 0.93], Minor=5
>>
>
> Ah ha, this exactly what I wanted colorbar to do!! The reason I had
> never been able to get it done is that was a lot of work (and work I
> didn't know how to do), it seems like a flag to colorbar or tvlct or
> something that was /logscl would do the trick. Really the issue was my
> unfamiliarity with logscl, tvlct, and tvimage and how to put it all
> together.

Don't get too excited about this yet. It looks beautiful.
I'm just not sure it is correct. :-)

I'm trying to write an article about this, and I keep
running into complications. It is a lot more difficult
than I expected it to be.

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: Wed Oct 08 19:53:22 PDT 2025

Total time taken to generate the page: 0.00442 seconds