See the first set of examples in the help for the cnvrt.coords function
in the TeachingDemos Package. 

Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin Hankin
Sent: Thursday, December 14, 2006 3:32 AM
To: RHelp help
Subject: [R] two connected graphs

Hi

I have two datasets, A and B, consisting of two columns of numbers
representing x and y coordinates.

They have 10 and 6 rows respectively.

I want to plot two scattergraphs, one above the other.

The lower graph to contain A (10 points) and the upper graph to contain
B (six points).

The x-axes of the two graphs must line up.

I then want to draw straight lines that connect points of  B to a
particular point (or points)  of A.

How do I do this?


--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton European Way, Southampton SO14
3ZH, UK
  tel  023-8059-7743

______________________________________________
[email protected] 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.

______________________________________________
[email protected] 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.

Reply via email to