One of the few things that I miss from Splus is the ability of interactively add text and symbols to graphics that have been created by functions. 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? Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello! On 22-Nov-01 Agustin Lobo wrote:> > One of the few things that I miss from Splus is > the ability of interactively add text and symbols to graphics > that have been created by functions. 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?Well, there are of course several options. My personal favourite is xfig and there is even a device "xfig" to create xfig files directly from R. Xfig is a vector-oriented graphics program easy to use and has a wide range of export formats, such as eps combined postscript/latex and many others. Cheers, Winfried ---------------------------------- E-Mail: Winfried Theis <theis at statistik.uni-dortmund.de> Date: 22-Nov-01 Time: 09:58:42 Dipl.-Math. Winfried Theis, Fachbereich Statistik, Graduiertenkolleg "Angewandte Statistik" Universität Dortmund, 44221 Dortmund Tel.: +49-231-755-5903 FAX: +49-231-755-4387 ---------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi! You may try gimp, (http://www.gimp.org). Yours -- Frank G. Zoellner AG Angewandte Informatik Technische Fakult"at Universit"at Bielefeld phone: +49(0)521-106-5325 fax: +49(0)521-106-2992 email: fzoellne at techfak.uni-bielefeld.de -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Agustin Lobo wrote:> > One of the few things that I miss from Splus is > the ability of interactively add text and symbols to graphics > that have been created by functions. 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? > > Thanks > > AgusHi, you can try xfig. First open a xfig device with xfig(file="mygraph.fig"), then create your plot. Ciao, Sven -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 10:38 22/11/01 +0100, you wrote:> >One of the few things that I miss from Splus is >the ability of interactively add text and symbols to graphics >that have been created by functions. 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? > >Thanks > >Agus > >Dr. Agustin LoboWhy not use low-level plotting commands and par() to add what you want on your graphics? This is _really_ flexible, and you can do almost what you want. The advantage is that you do that within R. I am revising "R for beginners", and it includes an example illustrating how to use these functions on a simple plot. I also posted an example on the list some time ago. A limitation seems to be the impossibility to add pictures (such as drawings of animals) in an R graphics. About your question, I believe XFig is what you are looking for (www.xfig.org). Hope this helps. Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, Nov 22, 2001 at 10:38:58AM +0100, Agustin Lobo 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). http://www.pstoedit.net Cheers Jason -- Indigo Industrial Controls Ltd. 64-21-343-545 jasont at indigoindustrial.co.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Agustin Lobo <alobo at ija.csic.es> writes:> >One of the few things that I miss from Splus is >the ability of interactively add text and symbols to graphics >that have been created by functions. 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?xfig is one that R can talk to directly. It takes some getting used as the user-interface is a little idiosyncratic but it is pretty powerful once you get used to it. The GIMP is pretty good. You might also try one of the vector packages such as Kontour (aka Killustrator). 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._