Re: More cgplot, ps_start, ps_end problems [message #75251 is a reply to message #75250] |
Sat, 19 February 2011 11:48   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> I am beginning to suspect that the encapsulated PostScript
> files IDL produces might be the culprit here.
OK, here is another reason I love IDL. Even though
you have worked with it daily for 25 years, you can
*still* learn something new about it!
I am completely wrong about all of this. :-)
IDL's PostScript driver works correctly, as far
as I can tell.
The thing is, if you are going to create encapsulated
PostScript files, you want to turn LANDSCAPE off and
PORTRAIT on, and you want to set XOFFSET and YOFFSET
to zeros. Then, *everyone* is happy with the result,
including ImageMagick and Adobe Illustrator. I was not
aware of this until about 10 minutes ago, as hard as
that is for all of us to believe!
Anyway, I have made the require modifications to PS_Start,
but I want to also make the modifications to PSConfig,
as well as update some error handling.
With the modifications, then Gray's plot will work
perfectly, no matter how he chooses to create it. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|