[Rd] Re: [R] problem clipping R postscript plots within latex (PR#625)
Fri, 4 Aug 2000 11:13:27 +1200
> > yet initclip is not allowed in EPS files (PostScript Language Reference
> > Manual, 2nd edition).
> > 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
> set font
> draw text
> 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.
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: email@example.com