[R] Some questions about plotting with R

From: Wee-Jin Goh <wjgoh_at_brookes.ac.uk>
Date: Wed 04 Oct 2006 - 07:54:15 GMT

Greetings list,

I'm currently in the process of migrating some Matlab code to R. It's going well, but I'm running into trouble with plotting. There are a few questions I have.

  1. Is there any way to do a 3D line plot in R? This would be what the Matlab function plot3 does.
  2. I would like to create 3 separate plots. With Matlab, this is done by doing ... figure; plot... figure; plot... figure; plot...

In R, I've found the function frame(), which I thought would do something similar. However, calling frame() seems to have no effect, as only 1 frame is created, and all three graphs are drawn to it, resulting in only the final graph being displayed. Help!

3) Is there a good site/book that lists the similarities/differences in plotting with R? I've found http://www.mathepi.com/methods/ matlabtor.html which is good for general Matlab to R concepts, but it's missing information on plotting.


R-help@stat.math.ethz.ch 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 Wed Oct 04 18:01:09 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 04 Oct 2006 - 08:30:06 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.