Instead of using par(new=T), use the lines function instead of plot to add to
an existing plot.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bou
On 02/01/2010 05:40 PM, Nadine Kilsby wrote:
Hi,
I am trying to add a line plot of barplot, and while the following script
works:
barplot(DATA1,bty='c')
par(new=T)
plot(DATA2,type="l",axes=F,xlab="",ylab="",bty='c')
axis(4)
for some reason the y axis' do not align (the 0s are not in the same
po
2 matches
Mail list logo