Thorsten Muehge wrote:
Hello,
I would like to plot the following matrix:
Wk=x achsis.
Para 1 = left y-axis as a barplot
para 2 right y-axis as a normal scatter plat.
I could not find such a solution in any of my documentation.
Can someone help me?
Thanks a lot
Thorsten
WkPara
Hello,
I would like to plot the following matrix:
Wk=x achsis.
Para 1 = left y-axis as a barplot
para 2 right y-axis as a normal scatter plat.
I could not find such a solution in any of my documentation.
Can someone help me?
Thanks a lot
Thorsten
WkPara 1 Para 2
312000 99.8
32
Assuming the data are in a data frame called dt, this should work:
plot(dt$Wk,dt$Para1,type=h)
par(new=TRUE)
plot(dt$Wk,dt$Para2,yaxt=n)
axis(4,at=97:100)
On 24/11/06, Thorsten Muehge [EMAIL PROTECTED] wrote:
Hello,
I would like to plot the following matrix:
Wk=x achsis.
Para 1 = left