Re: R-beta: edit figs with xfig?
Matthew R. Nelson (mrn@superh.hg.med.umich.edu)
Thu, 20 Nov 1997 17:18:44 -0500 (EST)
Date: Thu, 20 Nov 1997 17:18:44 -0500 (EST)
From: "Matthew R. Nelson" <mrn@superh.hg.med.umich.edu>
Subject: Re: R-beta: edit figs with xfig?
To: Bill Simpson <wsimpson@uwinnipeg.ca>
In-Reply-To: <Pine.OSF.3.95.971120154228.23860B-100000@io.uwinnipeg.ca>
Message-Id: <Pine.3.87.9711201744.I24994-0100000@superh.hg.med.umich.edu>
On Thu, 20 Nov 1997, Bill Simpson wrote:
> Question for R users under unix:
> Do you ever edit figs created by R using xfig or some other program? I
> tried to edit a figure with xfig (a program which I find quite horrible by
> the way) and it said it couldn't read it in. I guess xfig has no
> capability of reading postscript files?
>
> Can anyone tell me how to do it, or perhaps suggest another freeware
> structured drawing program for use in touching up postscript figs output
> by R?
My experience with xfig and R/Splus has been very good. I do not know of
any other freely available drawing programs that handle postscript/eps
files as well as xfig, and export drawings in such a usefull variety of
formats.
If you want to include a postscript file into an xfig drawing, first open
a blank canvas to work on, then select the button on the left titled
`picture object', which will bring a file-selector dialog from which you
can select the ps/eps file you wish to import (after indicating the size
for the imported file by use of the mouse). It is usually that easy.
I recommend converting the ps image to an eps (encapsulated post script)
with a tool such as ps2epsi (included with ghostscript, I believe), which
removes much of the white space around the plot that is usually left when
the plot is written to a ps file.
Good luck. (The man page, though a little disorganized, is a good resource)
Matt Nelson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---
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@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=---