Re: Problem with plot: "Program caused arithmetic error: Floating underflow" [message #41223 is a reply to message #41222] |
Mon, 18 October 2004 00:43   |
sandrokan
Messages: 20 Registered: September 2004
|
Junior Member |
|
|
> OK, but surely you can work around it. How about converting your UINT
> data to FLOAT before plotting it?
>
I doesn't work. I think the problem is the big amount of points with tha
same abscissa.
IDL Version 5.2 (Win32 x86). Research Systems, Inc.
For basic information, enter "IDLInfo" at the IDL> prompt.
IDL> z=[uintarr(1789),115+uintarr(46762-1789),uintarr(300)]
IDL> plot, z, z
% Program caused arithmetic error: Floating underflow
IDL> plot, float(z), float(z)
% Program caused arithmetic error: Floating underflow
The IDL helpdesk has sent me an hint. In practice, you can disable warnings
and
re-enable them just after that call.
< slightly OT>
BTW, about IDL5.2 upgrading: Of course, I think it is a good idea to upgrade
a program when new
releases are available, but: (1) these are not free; (2) I feel confortable
with my 5.2, why changing?
Is progress funcion of my needs, or the inverse? I have everything I need
with 5.2;
if,working on a subsequent version, I release my codes to other scientists
, there's the risk thet all my colleagues
are forced to upgrade their version too...
<more OT>
Why s/w should be changed so oftenly, if there's nothing that wears down? My
Lancia Fulvia Coupe is 35 years old, still works...well, sometimes I push
her in her back, it is a
"patch"..:-)
</OT>
Alessandro
|
|
|