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

Home » Public Forums » archive » eps issues with ps_start
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
eps issues with ps_start [message #89922] Sun, 28 December 2014 12:32 Go to next message
Dave[5] is currently offline  Dave[5]
Messages: 11
Registered: July 2010
Junior Member
Hello everyone,

I'm having difficulty making encapsulated postscript files. I typically use .png files while working on my paper (they're smaller), but the final journal submission requires .eps files, and I'm getting very strange output from my usual method, David Fanning's ps_start and ps_end routines. Here is the cheesiest plot possible:

x=[1,2,3,4,5]
y=[2,4,6,8,10]
ps_start,file='testing.eps',/encaps
plot,x,y
ps_end,/png

I don't seem to be able to attach a screenshot of my results, but the png file looks fine, white background, black axes and data, clear fonts. The eps file is a disaster. The background is black, the axes, font and data are faint white outlines (not solid) and basically illegible.

Does anyone know what changed in a recent version of IDL/the coyote library? The last time I did this (older versions of both IDL and the CG library), the eps file looked basically the same as the png. What happened?

Dave
Re: eps issues with ps_start [message #89923 is a reply to message #89922] Sun, 28 December 2014 12:48 Go to previous message
Dave[5] is currently offline  Dave[5]
Messages: 11
Registered: July 2010
Junior Member
Ah, found it. It had escaped my notice that ps_start and ps_end are deprecated and replaced by cgps_open and cgps_close.

I still have some wrinkles to sort out, but that's 90% of the answer.




On Sunday, December 28, 2014 3:32:11 PM UTC-5, rieb...@gmail.com wrote:
> Hello everyone,
>
> I'm having difficulty making encapsulated postscript files. I typically use .png files while working on my paper (they're smaller), but the final journal submission requires .eps files, and I'm getting very strange output from my usual method, David Fanning's ps_start and ps_end routines. Here is the cheesiest plot possible:
>
> x=[1,2,3,4,5]
> y=[2,4,6,8,10]
> ps_start,file='testing.eps',/encaps
> plot,x,y
> ps_end,/png
>
> I don't seem to be able to attach a screenshot of my results, but the png file looks fine, white background, black axes and data, clear fonts. The eps file is a disaster. The background is black, the axes, font and data are faint white outlines (not solid) and basically illegible.
>
> Does anyone know what changed in a recent version of IDL/the coyote library? The last time I did this (older versions of both IDL and the CG library), the eps file looked basically the same as the png. What happened?
>
> Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ERROR: Attempt to subscript B with is out of range
Next Topic: cgMap error!

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

Current Time: Wed Oct 08 07:14:49 PDT 2025

Total time taken to generate the page: 0.00453 seconds