[R] how to plot y-axis on the right of x-axis
David Winsemius
dwinsemius at comcast.net
Wed Aug 25 01:39:21 CEST 2010
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 north hemisphere).
> The above demand is done using plot.
>
> Then, south hemisphere richness and regression are required to be
> generated
> using
> the same y-axis above but an x-axis on the left side of the y-axis.
> (The higher latitude in the south hemisphere, the left it would move)
>
> Please kindly share how to design the south plot and regression line
> for
> richness.
> Also, please advise if any more info is in need.
Reproducible code, .... now and forever shall be .... world without
end, amen.
> #------------------
> and provide commented, minimal, self-contained, reproducible code.
#------------------
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list