Skip to content
Prev 2649 / 15075 Next

Axis labels drawn double in plot

As you can see in the attached plot pdf, the y axis labels are double typed
with a small offset, making them somewhat useless.

I can see now that this is my fault, as I was passing the x and ylab
parameters each time, but I can?t see why these don?t overlay perfectly?

The commands to generate the plot were

plot(function(x)dnorm(x,100,15)*100, 50, 150, main = "IQ distribution", xlab
= "IQ", ylab = "proportion")
par(new=TRUE)
plot(function(x)dnorm(x,100-15,15)*100, 50, 150, main = "IQ distribution",
xlab = "IQ", ylab = "proportion")
par(new=TRUE)
plot(function(x)dnorm(x,100+15,15)*100, 50, 150, main = "IQ distribution",
xlab = "IQ", ylab = "proportion")

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20060511/ce2b021e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: norm.pdf
Type: application/octet-stream
Size: 11636 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20060511/ce2b021e/attachment.obj