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

Home » Public Forums » archive » Re: xyouts: define decimal places of variable
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: xyouts: define decimal places of variable [message #65254 is a reply to message #65236] Wed, 18 February 2009 03:35 Go to previous messageGo to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
julia.walterspiel@gmail.com wrote:
> is there a way to define the number of decimal places when plotting a
> (float) variable into a plot via xyouts?

Use the STRING function, which does accept format statements:

XYOUTS, 0.5, 0.5, STRING( 0.3453534534, FORMAT='(F6.2)')


chl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interpolating/gridding field reflectance spectra
Next Topic: Re: Interpolating/gridding field reflectance spectra

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

Current Time: Thu Oct 09 23:49:59 PDT 2025

Total time taken to generate the page: 0.24009 seconds