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

Home » Public Forums » archive » why does not show the number correctly
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: why does not show the number correctly [message #62268 is a reply to message #62171] Fri, 29 August 2008 08:29 Go to previous messageGo to previous message
xiao zhang is currently offline  xiao zhang
Messages: 81
Registered: June 2008
Member
On Aug 29, 10:20 am, David Fanning <n...@dfanning.com> wrote:
> xiao writes:
>> Hi~ everyone. This the the part of my program. The data is all right
>> here, But when I run it , the number of my color bar and the grids
>> does not show right. (Like letter or something ) Why is that? Anyone
>> can help?
>
> It is because the number is a byte, and bytes, when they are converted
> to strings, are converted "literally". Most literal characters
> cannot be represented on computers. Make this number
> an INT before you convert it to a string for display.
>
> 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.")

Sorry David. I am not sure what you mean , do you mean I have to
convert the number in this line? I mean the number in percumulus?
Thank you

result=map_proj_image(percumulus,
[lon_min,lat_min,lon_max,lat_max],MAP_STRUCTURE=map,missing= 0)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Two named structures with the same name that won't concatenate. Any suggestions?
Next Topic: write widget_table out to file?

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

Current Time: Fri Oct 10 05:37:23 PDT 2025

Total time taken to generate the page: 1.60273 seconds