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. <steven.ryt...@mcgill.ca> wrote: > 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\nAggregated frequency plots for 17 equal intervals.") > > The code produces a proper histogram. However, the y axis is labeled count > and this needs to be changed because the data is relative > frequencies (sample proportions.) > ylab() does not do the trick (in either position). Does anyone know what > works? > > Thanks > Steve Rytina, McGill University > > [[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. > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org ______________________________________________ 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.