[R] Make plots with GNUplot. Have anyone tried that?

Gabor Csardi csardi at rmki.kfki.hu
Fri Feb 29 23:31:53 CET 2008


I believe that R can export all formats that GNUplot can produce,
so i don't really see why you want to use GNUplot if you don't know it. 
If you still want to then read ?write.table, that can export your data
into a spreadsheet-like ascii format which can be used from GNUplot 
easily.

Btw, comparing the graphics capabilities of GNUplot and R, it is 
something like a three-wheel bicycle and a spaceship. Guess 
which is which.

Gabor

On Fri, Feb 29, 2008 at 11:12:50PM +0100, Louise Hoffman wrote:
> [snip]
> >  Seriously. Be specific if you have a problem. (read the posting guide). R can
> >  also plot. If you don't like R's plots (which I could not understand) you can
> >  export data and import them to gnuplot. So what?
> 
> Okay, my post was not very good.
> 
> The reason (I think) I need GNUplot, is that I would like to include
> the plots from R in a Latex report, where I would like to have all the
> text and equations in the plots with the same font as used in Latex.
> 
> So when I read about opening and closing "dev" for making a pdf I
> figured that the plots that R produces are like the once Matlab makes;
> shows what they ought to, nothing more, nothing less.
> 
> So I was wondering if anyone know of an GNUplot friendly format and
> the code that would produce that text file.
> 
> I am new to both R and GNUplot, so I am pure ears if someone knows how
> to make such plots in R.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM



More information about the R-help mailing list