Re: [R] plot ylab on the right

2010-01-12 Thread Mister Vanhalen
It's works perfectly ! ;) Thank you very much !! M & A On Tue, Jan 12, 2010 at 11:56 AM, Jim Lemon wrote: > On 01/12/2010 09:41 PM, Mister Vanhalen wrote: > >> Hello, >> >> I have a graphic and I want to plot the yaxis AND ylab on the right. >> I manag

[R] plot ylab on the right

2010-01-12 Thread Mister Vanhalen
Hello, I have a graphic and I want to plot the yaxis AND ylab on the right. I manage to plot axis on the right with axis(4) but I don't know how to write the ylab on the right. barplot(data, name=leg, xlab="Probability", ylab="Number of links", axes=F) axis(4) And another question : Is there an

[R] Barplot + plot same scale

2010-01-07 Thread Mister Vanhalen
Hello, I would like to plot : barplot(c(10,12,18)) and plot(c(0,2,3), t="l") and many other plots... in a same scale. With par(new=T) it's not align, points are not in the middle of the bar of barplot. Is there an easely solution to align that ? Thank for you help, G [[alternative