s-news
[Top] [All Lists]

Histograms on same scale

To: <s-news@lists.biostat.wustl.edu>
Subject: Histograms on same scale
From: <Andre.Mery@aventis.com>
Date: Tue, 17 Aug 2004 16:30:56 +0200
Thread-index: AcSEZs8iOTtJ7m8wRP6wYi8pSZUuIQ==
Thread-topic: Histograms on same scale
Hi,
 
I am just drawing 2 histograms side by side (using par(mfrow = c(1,2)). The highest class of the 1st one is up to 24, although the highest class of the 2nd one is up to 20. So, the y-axis of the 1st one goes up to 24, although the y-axis of the 2nd one goes up only to 20.
 
In order to have a nice visual comparison between these 2 plots, how can I force the y-axis of the 2nd one to be plotted up to 24? I couldn't get the proper instruction.
 
Thanks for any help.
 
 

André Méry
Aventis Pharma
20, avenue Raymond Aron - 92160 Antony
[Courrier / Mail : Tri B2/13]
[Tél. / Tel. : 01 55 71 68 69]

 
<Prev in Thread] Current Thread [Next in Thread>