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

Home » Public Forums » archive » MAP_IMAGE and Postscript
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
MAP_IMAGE and Postscript [message #36719] Wed, 22 October 2003 08:24 Go to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Hi Everyone,
I am struggling with IDL and I am ready to through my PC out the window.
Please help me, so we can save this machine! :-)
I am despearetly trying to use MAP_SET and MAP_IMAGE with Postscript device,
but every image that I TV is just white. Does anyone have a working example?
(I know that it would work if the image is created before switching to the
PS device, but, trust me, this is completely unfeasible in this piece of
code.) Any help is greatly appreciated.

Haje

--
Re: MAP_IMAGE and Postscript [message #36816 is a reply to message #36719] Wed, 22 October 2003 09:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> I was barking up the wrong tree for
> two hours. ...and as you can imagine, you can get pretty mad in such a long
> time. I actually had to close my door not to upset my neighbors! :-)

No, it's never happened to me. :^)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: MAP_IMAGE and Postscript [message #36817 is a reply to message #36719] Wed, 22 October 2003 08:56 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
David,
sorry about the panic. I just found out about the /noerase keyword in
map_set. Since I write the headeline of the plot first, the routine created
a second page in an eps file, which you never ever get to display! So, I was
able to fix the problem. (I accidentially looked at the footer in gsview and
it said page 1/2; this gave me the hint.) Since my page was all white, I
thought that I was positioning wrong! I was barking up the wrong tree for
two hours. ...and as you can imagine, you can get pretty mad in such a long
time. I actually had to close my door not to upset my neighbors! :-)

Haje

--


"David Fanning" <david@dfanning.com> wrote in message
news:MPG.1a0052dee3cf9c4f989720@news.frii.com...
> Haje Korth writes:
>
>> I am struggling with IDL and I am ready to through my PC out the window.
>> Please help me, so we can save this machine! :-)
>> I am despearetly trying to use MAP_SET and MAP_IMAGE with Postscript
device,
>> but every image that I TV is just white. Does anyone have a working
example?
>> (I know that it would work if the image is created before switching to
the
>> PS device, but, trust me, this is completely unfeasible in this piece of
>> code.) Any help is greatly appreciated.
>
> Oh, dear! Could we just have a peak at your code to
> see what it is you *think* you are doing? :-)
>
> I'm particularly interested in how you are setting up
> the PostScript device and how you are "creating" the
> image.
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: MAP_IMAGE and Postscript [message #36818 is a reply to message #36719] Wed, 22 October 2003 08:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Haje Korth writes:

> I am struggling with IDL and I am ready to through my PC out the window.
> Please help me, so we can save this machine! :-)
> I am despearetly trying to use MAP_SET and MAP_IMAGE with Postscript device,
> but every image that I TV is just white. Does anyone have a working example?
> (I know that it would work if the image is created before switching to the
> PS device, but, trust me, this is completely unfeasible in this piece of
> code.) Any help is greatly appreciated.

Oh, dear! Could we just have a peak at your code to
see what it is you *think* you are doing? :-)

I'm particularly interested in how you are setting up
the PostScript device and how you are "creating" the
image.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Median filter the hard way
Next Topic: Java bridge: xml parsers

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

Current Time: Wed Oct 08 11:43:43 PDT 2025

Total time taken to generate the page: 0.00748 seconds