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

Home » Public Forums » archive » Re: xrange woes
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: xrange woes [message #54987 is a reply to message #54911] Thu, 19 July 2007 13:26 Go to previous message
Josh is currently offline  Josh
Messages: 21
Registered: June 2007
Junior Member
On Jul 18, 10:17 pm, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> Josh <joshuamonta...@gmail.com> writes:
>> this is a new one for me...
>> i'm plotting data points (~50) that are spread over a small x range
>> (relative to the values). these data points lie at values around
>> 2,000,000, but are spread over a range of about 0.01. I can use
>> xrange=[x1,x2] up until the difference between x2 and x1 is about
>> 0.25. If I try to make the range smaller, it is just ignored (and
>> left at ~0.25) until the range decreases to 0.1 at which point the
>> plotted x range jumps to ~30! The xstyle keyword follows the same
>> pattern (works until the range is ~0.25, then is ignored).
>
>> Has anyone else ever had this happen? Is there some limitation on how
>> small xrange can be given the actual xvalues? btw, these data points
>> have legitimate values to the standard double precision accuracy.
>
> I always understood the IDL direct-graphics system to be limited to
> single precision, even if your data is double precision.
> Try subtracting the mean value and see if it works.
>
> Craig



Thanks Craig, I was able to use both xrange and xstyle by subtracting
most of the value from all of the points.

-Josh
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: how can idl find out information of other softwares
Next Topic: Re: zero-padding an array of arbitrary dimensionality (replacing execute in vm)

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

Current Time: Fri Oct 10 18:06:28 PDT 2025

Total time taken to generate the page: 0.96391 seconds