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

Home » Public Forums » archive » Re: iPlot export PostScript error with logarithmic X axis
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
Re: iPlot export PostScript error with logarithmic X axis [message #49814] Thu, 17 August 2006 16:21
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
R.G. Stockwell wrote:
> "Benjamin Hornberger" <benjamin.hornberger@stonybrook.edu> wrote in message
> news:44e4e9c1$1_3@marge.ic.sunysb.edu...
>
>> Hi all,
>>
>> I am creating a plot in iPlot and want to export it to EPS. It works fine
>> if the X axis is not logarithmic. If I make the X axis logarithmic (which
>> I need), the EPS cannot be read by either Ghostview or Illustrator.
>>
>> The .isv file and the two EPS files (with and without log X axis) are at
>>
>> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd.isv
>> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd.eps
>> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd_noxlo g.eps
>>
>> Any insight? Let me know if you need more info.
>>
>> Thanks for your help,
>> Benjamin
>
>
> Do you have a 0 in the x axis array?
> Perhaps the xlog is giving you a math exception that IDL can ignore,
> but crashes PS.
> Your error message is:
>
> "Error: /undefined in -1.#IND"
>
> made me think of that.
>
> Cheers,
> bob
>
>

Yes, that was the problem. The X array starts at zero, but then in iPlot
I set the X min to 0.1 (otherwise, I can't even select X log).

So I have to strip off the first element of each vector before iPlotting
it. Not very convenient, but ...

Thanks!
Benjamin
Re: iPlot export PostScript error with logarithmic X axis [message #49815 is a reply to message #49814] Thu, 17 August 2006 15:56 Go to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"Benjamin Hornberger" <benjamin.hornberger@stonybrook.edu> wrote in message
news:44e4e9c1$1_3@marge.ic.sunysb.edu...
> Hi all,
>
> I am creating a plot in iPlot and want to export it to EPS. It works fine
> if the X axis is not logarithmic. If I make the X axis logarithmic (which
> I need), the EPS cannot be read by either Ghostview or Illustrator.
>
> The .isv file and the two EPS files (with and without log X axis) are at
>
> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd.isv
> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd.eps
> http://xray1.physics.sunysb.edu/~hornberg/scratch/rpsd_noxlo g.eps
>
> Any insight? Let me know if you need more info.
>
> Thanks for your help,
> Benjamin

Do you have a 0 in the x axis array?
Perhaps the xlog is giving you a math exception that IDL can ignore,
but crashes PS.
Your error message is:

"Error: /undefined in -1.#IND"

made me think of that.

Cheers,
bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: iPlot export PostScript error with logarithmic X axis
Next Topic: Movie replacement

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

Current Time: Wed Oct 08 13:51:35 PDT 2025

Total time taken to generate the page: 0.00441 seconds