[R] rpart or Postscript problem?

Marc Feldesman feldesmanm at pdx.edu
Fri Sep 14 20:51:52 CEST 2001


I've run into another postscript/rpart problem unrelated to the issues I've 
mentioned in a previous query.

I'm using 1.3.1 on a Win2K box.

 >plotcp(some.rpart.object)

draws a very nice plot on the windows graphic device.  If I save this as a 
postscript file, either by opening a postscript device before calling 
plotcp, or by saving the graphics window as a postscript file, the 
resulting file is not properly interpreted by Adobe Illustrator 9.0.1.   In 
particular, Illustrator misaligns the legend at the top of the box, as well 
as the tick marks, and tick mark labels.  The x and y axis labels, legends 
and tick marks are fine.  If I save the graph as a metafile and then read 
it into Adobe Illustrator, the graphic is fine.

On the other hand, just to complicate matters, if I read the .ps file into 
Adobe Acrobat Distiller 4.05, the resulting pdf file is perfectly 
aligned.  (It also seems perfectly aligned under Ghostview 4.0 as well).

So, is this a problem with the postscript driver for R, a problem with 
plotcp, or inconsistency between Adobe applications?






=====================
Dr. Marc R. Feldesman
Professor and Chairman
Anthropology Department
Portland State University
1721 SW Broadway
Portland, Oregon 97201
email:  feldesmanm at pdx.edu
phone:  503-725-3081
fax:    503-725-3905
http://web.pdx.edu/~h1mf
PGP Key Available On Request
======================

"Anyway, no drug, not even alcohol, causes the fundamental ills of society.
If we're looking for the source of our troubles, we shouldn't test people
for drugs, we should test them for stupidity, ignorance, greed and love of
power."   P.J. O'Rourke

Powered by Optiplochoerus and Windows 2000 (scary isn't it?)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list