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

Home » Public Forums » archive » Re: CG Elevation image + arbitrary discrete 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: CG Elevation image + arbitrary discrete colorbar [message #79788 is a reply to message #79787] Fri, 30 March 2012 10:54 Go to previous messageGo to previous message
DavidF[1] is currently offline  DavidF[1]
Messages: 94
Registered: April 2012
Member
Matteo write:

> I've checked many of David's links and I seem to find all pieces for a
> little problem I'm trying to solve...still I can't manage to glue them
> together properly.
> I'm trying to scale an image between arbitrary min and max values,
> with an arbitrary number of levels, and getting the proper (discrete)
> colorbar associated with it. I'm trying to use the new OOB_* options
> to leave values < min in one color and values > max of another.
>
> In the example below, I'd for example to have 10 levels between 0 and
> 3000m, and elevations <0 set to black and elevations > 2000 set to
> white.
>
> I'm also trying to get the same result using bytscl and scale_vector.
>
> Does anybody have any suggestions?
>

Add a BOTTOM=1 keyword to your cgImage command.

Cheers,

David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Cannot see anything in the postscript file. Any help?
Next Topic: Taskbar and Windows

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

Current Time: Fri Oct 10 01:45:22 PDT 2025

Total time taken to generate the page: 0.87805 seconds