[R] Editing R graphics

Mark Myatt mark at myatt.demon.co.uk
Fri Nov 23 11:06:26 CET 2001


Jason Turner wrote:

>> I understand that the best
>> solution in R is to create a graphic file and use external 
>> software for editing the graphic. I know what to use in the
>> Win environment, but could anyone suggest what tools would
>> be appropriate under Linux?
>
>I'm not an R-graphics guru, so I've no idea if this is the
>best way.  Works for me, but there may be better...
>
>xfig(file="myfile.fig")
>... [plot commnands] ...
>dev.off()
>
>and use xfig, available at 
>ftp://ftp.x.org/contrib/applications/drawing_tools/xfig/ 
>
>If you like xfig, you might also want to check out pstoedit,
>which takes Postscript or PDF files, and converts them to
>fig format (nb it can actually convert to *many* more formats
>than fig - it also does fig quite well).

Thanks for the pstoedit reference. I have just been checking on Kontour
(Killustrator) which is part of the KDE office suite. The xfig import
filter seems to be broken. I can import simples figures created in xfig
but not an xfig plot created in R even if I load it into xfig and re-
save it. Looking at the Kontour documentation, I note that the authors
are a little diffident about import and export filters and may need some
encouragement to fix this. I suggest that anyone interested check this
problem fro themselves and, if they can reproduce it, file a bug report.

Mark

--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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