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 #51593] Mon, 04 December 2006 10:24 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
> 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.

Cheers,
Brian
[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 17:36:02 PDT 2025

Total time taken to generate the page: 0.00482 seconds