Re: Having trouble with code for data to image. [message #64101 is a reply to message #63985] |
Wed, 26 November 2008 14:15   |
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.")
|
|
|