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

Home » Public Forums » archive » Having trouble with code for data to image.
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: Having trouble with code for data to image. [message #64099 is a reply to message #63985] Wed, 26 November 2008 14:38 Go to previous messageGo to previous message
mbweller is currently offline  mbweller
Messages: 24
Registered: July 2008
Junior Member
On Nov 26, 2:15 pm, David Fanning <n...@dfanning.com> wrote:
> mbwel...@gmail.com writes:
>> I'm using colorbar but the numerical values for each color are
>> reported as 0's, even though it is displaying color variations.
>
>> code:    Colorbar, Range=3D[Min(image), Max(image)], /vertical
>> where:  Min(image) =3D 0
>>             Max(image)=3D0.1648
>
>> Why might they not be displaying the numerical values?
>
> The format is set by default to display integer values.
> Set the FORMAT keyword to whatever you prefer. Something
> like this should work:
>
>    Colorbar, ...., FORMAT='(F0.2)'
>
>> Is there any way to project the image in a spherical projection though
>> idl? If not, no worries I can always slap the image into a graphical
>> program to do it.
>
> I typically set up some kind of map projection and then
> warp the image into that. Labeling the axes correctly
> then becomes a bit trickier. It would help if I knew
> more about your image and what you are trying to do,
> exactly.
>
> 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.")

> I typically set up some kind of map projection and then
> warp the image into that. Labeling the axes correctly
> then becomes a bit trickier. It would help if I knew
> more about your image and what you are trying to do,
> exactly.

My image is of the western hemisphere of Mars, so lat range is -90 to
90 and lon range = -180 to 0 degrees. I would like to present it as a
Hemisphere display since that makes the most sense to do.

Does that help?

~Matt
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Memory allocation problem
Next Topic: Re: inverse gradient

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

Current Time: Sat Oct 11 10:56:08 PDT 2025

Total time taken to generate the page: 0.87927 seconds