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

Home » Public Forums » archive » Try this
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Try this [message #12959] Tue, 22 September 1998 00:00 Go to next message
Ray Sterner is currently offline  Ray Sterner
Messages: 10
Registered: December 1997
Junior Member
Try this:

x=dindgen(1000)/999.*20.
for f=0.,10.,.02 do begin plot,/xstyl,x+f*1D6,sin(x) & empty & endfor

Ray Sterner sterner@tesla.jhuapl.edu
The Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
Re: Try this [message #13019 is a reply to message #12959] Fri, 25 September 1998 00:00 Go to previous messageGo to next message
R. Bauer is currently offline  R. Bauer
Messages: 137
Registered: November 1996
Senior Member
Ray Sterner wrote:

> Try this:
>
> x=dindgen(1000)/999.*20.
> for f=0.,10.,.02 do begin plot,/xstyl,x+f*1D6,sin(x) & empty & endfor
>
> Ray Sterner sterner@tesla.jhuapl.edu
> The Johns Hopkins University North latitude 39.16 degrees.
> Applied Physics Laboratory West longitude 76.90 degrees.
> Laurel, MD 20723-6099

Very nice Ray,

This is a very good example to show the impossibility of plot with double.

I know from your jsplot how to get around of this problem.


The description of plot should be taken seriously.


regards
Reimar


Calling Sequence

PLOT, [X,] Y

Arguments

X
A vector argument. If X is not specified, Y is plotted as a function of
point number (starting at zero). If both arguments are provided, Y is
plotted as a function of X.


This argument is converted to single-precision floating-point before
plotting. Plots created with PLOT are limited to the range and precision
of single-precision floating-point values.






--
R.Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
Re: Try this [message #13074 is a reply to message #12959] Wed, 30 September 1998 00:00 Go to previous message
mgs is currently offline  mgs
Messages: 144
Registered: March 1995
Senior Member
In article <bowman-3009981916340001@chinook.tamu.edu>, bowman@null.tamu
(Kenneth P. Bowman) wrote:

> In article <6uamdh$gid$1@reznor.larc.nasa.gov>, "Joe"
> <Post.Reply@This.News.Group> wrote:
>
>> The
>> !x and !y structures are not double precision in their .range (and
>> other related) fields so it won't matter. This has to be done for
>> speed reasons since to make them double would force all plots
>> to use double precision calculations along with the attendant
>> decrease in computational rate.
>
> Many, if not most, modern Unix workstations have 64-bit floating point
> units and do double precision arithmetic as fast or faster than single
> precision.
>
> Ken Bowman

Which makes me wonder what the majority of IDL and PV-WAVE licenses run
on. I suspect the majority are PC's. I assume RSI and VNI are not in the
habit of releasing these kind of numbers, though.

--
Mike Schienle Interactive Visuals
mgs@ivsoftware.com http://www.ivsoftware.com
Re: Try this [message #13075 is a reply to message #12959] Wed, 30 September 1998 00:00 Go to previous message
bowman is currently offline  bowman
Messages: 121
Registered: September 1991
Senior Member
In article <6uamdh$gid$1@reznor.larc.nasa.gov>, "Joe"
<Post.Reply@This.News.Group> wrote:

> The
> !x and !y structures are not double precision in their .range (and
> other related) fields so it won't matter. This has to be done for
> speed reasons since to make them double would force all plots
> to use double precision calculations along with the attendant
> decrease in computational rate.

Many, if not most, modern Unix workstations have 64-bit floating point
units and do double precision arithmetic as fast or faster than single
precision.

Ken Bowman

--
Kenneth P. Bowman, Professor 409-862-4060
Department of Meteorology 409-862-4466 fax
Texas A&M University bowmanATcsrp.tamu.edu
College Station, TX 77843-3150 Change the AT to @
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Calling IDL functions from C!!!
Next Topic: Re: The inverse of Extract_Slice

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

Current Time: Wed Oct 08 15:14:43 PDT 2025

Total time taken to generate the page: 0.00734 seconds