Re: [R] how to plot y-axis on the right of x-axis

2010-08-26 Thread Gavin Simpson
On Thu, 2010-08-26 at 06:19 +0800, elaine kuo wrote: Yes, I appreciated your answers which well hit my questions. (esp the perfect model parts). About the plot part, one more question. Is it possible to make the two plots (northern and southern richness) sharing the same Y axis (latitude

Re: [R] how to plot y-axis on the right of x-axis

2010-08-26 Thread Gavin Simpson
On Thu, 2010-08-26 at 06:11 +0800, elaine kuo wrote: Thank you. The answers provides the right direction and a code was written accordingly. One more request, if the label of axis X wants to be drawn from 5 to 1 (left to right) rather than 1 to 5, is it fine to change axis (4, at = NULL) ?

Re: [R] how to plot y-axis on the right of x-axis

2010-08-26 Thread Jim Lemon
On 08/26/2010 08:11 AM, elaine kuo wrote: ... One more request, if the label of axis X wants to be drawn from 5 to 1 (left to right) rather than 1 to 5, is it fine to change axis (4, at = NULL) ? If so, which value should be input ? Hi Elaine, There are a couple of ways to do this. One is to

Re: [R] how to plot y-axis on the right of x-axis

2010-08-25 Thread Gavin Simpson
On Wed, 2010-08-25 at 07:12 +0800, elaine kuo wrote: Dear List, I have a richness data distributing across 20 N to 20 S latitude. (120 E-140 E longitude). I would like to draw the richness in the north hemisphere and a regression line in the plot (x-axis: latitude, y-axis: richness in

Re: [R] how to plot y-axis on the right of x-axis

2010-08-25 Thread Jim Lemon
On 08/25/2010 09:12 AM, elaine kuo wrote: Dear List, I have a richness data distributing across 20 N to 20 S latitude. (120 E-140 E longitude). I would like to draw the richness in the north hemisphere and a regression line in the plot (x-axis: latitude, y-axis: richness in the north

Re: [R] how to plot y-axis on the right of x-axis

2010-08-25 Thread Antonio Olinto
Dear Elaine I'm developing a code to make a 3 y-axes plot. It may can help you. Also your question leads to mine, posted yesterday: How does R calculate the interval between tick-marks. Below follows the code I'm developing. Data: ANO CKG NUP NDE 200526352158

Re: [R] how to plot y-axis on the right of x-axis

2010-08-25 Thread elaine kuo
Thank you. The answers provides the right direction and a code was written accordingly. One more request, if the label of axis X wants to be drawn from 5 to 1 (left to right) rather than 1 to 5, is it fine to change axis (4, at = NULL) ? If so, which value should be input ? Thanks again. Elaine

Re: [R] how to plot y-axis on the right of x-axis

2010-08-25 Thread elaine kuo
Yes, I appreciated your answers which well hit my questions. (esp the perfect model parts). About the plot part, one more question. Is it possible to make the two plots (northern and southern richness) sharing the same Y axis (latitude = 0, the equator) ? In other words, southern richness would

Re: [R] how to plot y-axis on the right of x-axis

2010-08-24 Thread David Winsemius
On Aug 24, 2010, at 7:12 PM, elaine kuo wrote: Dear List, I have a richness data distributing across 20 N to 20 S latitude. (120 E-140 E longitude). I would like to draw the richness in the north hemisphere and a regression line in the plot (x-axis: latitude, y-axis: richness in the