IDL question... [message #10694] |
Thu, 15 January 1998 00:00  |
Inigo Garcia
Messages: 13 Registered: June 1997
|
Junior Member |
|
|
Hi:
Floating-point: A 32-bit, single-precision, floating-point number in the
range
of �10^38, with approximately six or seven decimal places of
significance.
------------------------------------------------------------ ---
(IDL Online Help)
So, the only thing you have to modify is x=dblarr(4,36), and run it !!
Cheers,
I~nigo.
Haoran Wang wrote:
>
> I have such kind of code.The purpose of this code is to read data from
> file into a matrix.
> openu,1,'cod10.dat'
> x=fltarr(4,36)
> readf,1,x
>
> The numbers of the data file is like this:xxxxxx.xx.but when I check the
> x matrix,I found that the digits below the point are lost(cut).I only
> get number like:xxxxx.(. means point)
>
> how does this happens?
> thanks
--
\\|//
(o o)
+-----------------------oOOo-(_)-oOOo----------------------- --+
| I~nigo Garcia Ruiz |
| Kapteyn Instituut Phone: +31-(0)50-3634083 |
| Landleven 12 Fax: +31-(0)50-3636100 |
| 9747 AD GRONINGEN (Netherlands) e-mail: iruiz@astro.rug.nl |
+----------------------------------------------------------- --+
|
|
|
Re: IDL QUESTION [message #25532 is a reply to message #10694] |
Thu, 28 June 2001 16:31  |
m.hadfield
Messages: 36 Registered: April 2001
|
Member |
|
|
> From: Brian Koss
> Newsgroups: comp.lang.idl-pvwave
> Sent: Friday, June 29, 2001 11:05 AM
> Subject: IDL QUESTION
Hi Brian
I can't answer your question, but please don't be offended if I give you a
few tips about newsgroup etiquette, with reference to your post:
1. Your posting was formatted in HTML. Plain text is preferred. Some people
don't have HTML-capable clients.
2. Your message was marked as "High Priority" in my client. You may think
so, others may not see it that way :-)
3. Binary attachments are generally frowned on, though in this case probably
justified.
4. If you *are* going to attach an image, *please* try to keep the size
down. I reduced your 647 KB PGM image to 21.4 KB of PNG
(http://www.libpng.org/pub/png/)
But don't worry, comp.lang.idl-pvwave is not one of those groups where
inadvertent violations of Netiquette will draw flames or worse. It's an
interesting question and I'm sure there will be some interesting answers.
---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research
--
Posted from clam.niwa.cri.nz [202.36.29.1]
via Mailgate.ORG Server - http://www.Mailgate.ORG
|
|
|