[R] hist - modify maximum frequency (vertical axis)

From: Omar Baqueiro <obaqueiro_at_gmail.com>
Date: Fri, 21 Mar 2008 03:18:15 +0000


Is there a way to easily specify the maximum value to draw a histogram with the "hist" function? I have 6 histograms, but each of them is drawn with a different "frequency" range (scaling them to the best visible way), however I need all the histograms to be scaled so that the maximum frequency is a specific number (say 300, is the maximum value of the vertical axis). This value is the maximum value shown overall in all the histograms.

Is that possible?



Omar Baqueiro Espinosa
Computer Science PhD Candidate
Computer Systems Engineer
Workpage: www.csc.liv.ac.uk/~omar/
HomePage (spanish):http://www.baqueiro.co.uk/
PGP Key available at: www.csc.liv.ac.uk/~omar/pgp.html

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 21 Mar 2008 - 03:24:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Mar 2008 - 06:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive