Hi,

I've been struggling with this problem the last few days and finally 
discovered it's happening at a very fundamental level. Going through 
Stephen Turner's tutorial on ggplot2, I entered these base graphics 
commands:

    >  with(diamonds, plot(carat,price))
    >  with(diamonds, plot(carat,price), xlab="Weight in Carats",
    ylab="Price in USD", main="Diamonds are expensive!")

The first command works as expected and draws the plot with labels 
"carat" and "price" and no title. The second command makes R redraw the 
plot (I can see it clear and redraw), but it's identical to the first! 
What am I doing wrong?

     Marsh Feldman



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to