Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Steven Rytina, Prof.
vals,weight=cnts,data=qdata,binwidth=.29,main="test")+ylab("NEW") > > -Original Message- > From: istaz...@gmail.com [mailto:istaz...@gmail.com] On Behalf Of Ista Zahn > Sent: Monday, July 25, 2011 2:02 PM > To: Steven Rytina, Prof. > Cc: r-help@r-project.org

Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Ista Zahn
binwidth=.29,main="test")+ylab("NEW") > > -Original Message- > From: istaz...@gmail.com [mailto:istaz...@gmail.com] On Behalf Of Ista Zahn > Sent: Monday, July 25, 2011 2:02 PM > To: Steven Rytina, Prof. > Cc: r-help@r-project.org > Subject: Re: [R] ggplo

Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Steven Rytina, Prof.
ight=cnts,data=qdata,binwidth=.29,main="test")+ylab("NEW") -Original Message- From: istaz...@gmail.com [mailto:istaz...@gmail.com] On Behalf Of Ista Zahn Sent: Monday, July 25, 2011 2:02 PM To: Steven Rytina, Prof. Cc: r-help@r-project.org Subject: Re: [R] ggplot questio

Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Ista Zahn
Hi Steven, The basic example works: qplot(rnorm(100)) + ylab("Bin Counts") Please post a reproducible example that illustrates the problem you are having. Best, Ista On Mon, Jul 25, 2011 at 1:40 PM, Steven Rytina, Prof. wrote: > Some help with how to re-label the vertical axis in a histogram  

[R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Steven Rytina, Prof.
Some help with how to re-label the vertical axis in a histogram would be appreciated. qplot(off.sc,weight=rel.freq,binwidth=.29,main="test Figure"+ylab("New from inside"))+ylab("New from outside")+ xlab("off.sc\nAg