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

Home » Public Forums » archive » Re: Recovery from PostScript file
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: Recovery from PostScript file [message #18428 is a reply to message #18427] Wed, 12 January 2000 00:00 Go to previous messageGo to previous message
cjengo is currently offline  cjengo
Messages: 28
Registered: June 1999
Junior Member
In article <85ib48$h5n$1@jura.cc.ic.ac.uk>,
"Chris Roberts" <c.roberts1@ic.ac.uk> wrote:
> I have a user who generated a PostScript file of his IDL data as a
graph,
> and has now lost his data file. Is there anything sensible I can do
to help
> him recover some of the data from the PostScript file?
>
> Thanks.
>
>

First thing that comes to my mind is to convert the postscript file to
a tiff, read it into an array, then scan each column from the bottom
until the x-axis is reached, then count pixels until the data plot is
reached. Of course you'd have to account for axis labels and so forth,
but you could mask those out in an IP program before rasterizing it.
That also wouldn't get the actual data values back, but at least the
shape of the curve is better than nothing.

Chris
--
_______________________________________
Chris Jengo - Senior Imaging Scientist
Earth Satellite Corp. - Rockville, MD
cjengo@earthsat.com


Sent via Deja.com http://www.deja.com/
Before you buy.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Continuing trouble with ASCII file. Trouble with line ends
Next Topic: Re: IDL and pointers

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

Current Time: Wed Oct 08 19:25:51 PDT 2025

Total time taken to generate the page: 0.00447 seconds