problem clipping R postscript plots within latex (PR#625)
hi
yet initclip is not allowed in EPS files (PostScript Language Reference Manual, 2nd edition).
Exactly.
I think the statement was possibly true once ....
I don't think so. This is a design problem. Unfortunately, the simple fix above doesn't seem to work [for rather foreseeable reasons]. mosaicplot() seems to crash ghostview and even plot(1:10) comes out without axis titles. The latter item occurs because we're doing clip(region1) set font draw text clip(region2) draw more text in same font but restoring the graphics context prior to the first clipping requires the font to be set once again. And there are probably many similar problems. Sigh. Paul, are you around?
Yes I'm around (I'm just concealed by my teaching load). However, I may not be much help. This seems to be a problem with the definitions in the postscript file header (set up in PSFileHeader). [Trying not to sound like I'm dodging a bullet ...] I have never delved too deeply into these so I cannot really comment on their goodness or badness. AFAIK this is all pretty original stuff (by Ross ?), but I'm not sure what it was based on. Something Ross has mentioned to me a couple of times is a library which allows you to write C-like code which then gets processed into (correct, efficient) postscript. Maybe this would be a good solution (i.e., piggyback on some other code which has got all of the postscript stuff properly sorted out). Sorry I can't be more help at this stage. paul -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel 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-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._