I hope this is what you are looking for. you will have to add your own colors
and such.
year = c(1966:2008)
tempur =
c(2.9,4.5,1.9,1,2.9,4.3,3.9,4.3,4.9,4.4,4.5,2,2.8,-.4,2.3,3,.3,1.7,3.3,.8,-1.1,.8,4.9,5.2,4.9,1.5,3.7,3.6,3.2,4.8,2.3,2.5,5.2,5.3,4.9,3.2,3.6,3.9,4.8,4.3,3.7,5.8,4.9)
indx =
c(1,1.
1 PM
> To: r-help@r-project.org
> Subject: [R] plot with 2 y axes
>
> Dear R users,
>
> apologies for the total beginner's question. I would like to create a
> barchart for some temperature values with the y axis on the right hand
> side of the plot. On this plot woul
Dear R users,
apologies for the total beginner's question. I would like to create a
barchart for some temperature values with the y axis on the right hand
side of the plot. On this plot would like to overlay some time series
data (in the form of a line) for some other variable called Index.
The y
Christophe Dutang1 wrote:
>
> I would like to know how to do a plot with 2 y axes in R. With google,
> I found this topic has been discussed twice in the past:
> - http://tolstoy.newcastle.edu.au/R/e2/help/06/11/6049.html
> - https://stat.ethz.ch/pipermail/r-help/2000-September/008182.html
>
Hi all,
I would like to know how to do a plot with 2 y axes in R. With google,
I found this topic has been discussed twice in the past:
- http://tolstoy.newcastle.edu.au/R/e2/help/06/11/6049.html
- https://stat.ethz.ch/pipermail/r-help/2000-September/008182.html
Those links provide quite a go
5 matches
Mail list logo