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

From: Greg Snow <Greg.Snow_at_imail.org>
Date: Sat, 01 Mar 2008 12:11:01 -0700

There is a very basic interface between R and gnuplot in the TeachingDemos package. Look at the help for gp.plot.  

gp.open will run gnuplot and link it to R, gp.plot will send data to gnuplot and create a scatterplot. (gp.send will send extra commands to gnuplot and gp.close will clean up).  

Feel free to extend this to fit your needs,


From: r-help-bounces_at_r-project.org on behalf of Louise Hoffman Sent: Fri 2/29/2008 4:54 PM
To: Gabor Csardi
Cc: r-help_at_r-project.org
Subject: Re: [R] Make plots with GNUplot. Have anyone tried that?

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

Very interesting.

So if I e.g. write:
ts.sim <- arima.sim(list(order = c(1,1,0), ar = 0.7), n = 200) ts.plot(ts.sim)

How do I know the names of the rows to put in the data.frame() command?

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

=) I know that I will most likely spend a lot of time on just making the plots, but I atleast (for now =) ) think it could be fun to try.



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.

        [[alternative HTML version deleted]]



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. Received on Sat 01 Mar 2008 - 19:13:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 02 Mar 2008 - 16:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive