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 #64101 is a reply to message #63985] Wed, 26 November 2008 14:15 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mbweller@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.")
[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 05:57:58 PDT 2025

Total time taken to generate the page: 1.92056 seconds