Hi Sabah,

If all you want is to plot two graphs in the same window you can use the
following commands:

par(mfrow=c(2,1))
print(truehist(S))
print(truehist(S2))

Cheers,
Artur


On Wed, Apr 2, 2008 at 9:01 AM, Tobias Straub <tstraub@med.uni-muenchen.de>
wrote:

> don't know if i get you wrong, but maybe histStack in library
> geneplotter might be what you are looking for.
>
> On Apr 2, 2008, at 2:05 PM, s.khalid@qmul.ac.uk wrote:
> > Dear all,
> >
> > I have a matrix S (range= -0.8 to +0.6) and a matrix S2 (range= -0.5
> > to +0.9) which I would like to plot on the same graph.  I know there
> > are various ways to plot graphs.  I have simply used:
> > print(truehist(S))
> > print(truehist(S2))
> > Which works great!  But I would like to plot them on one graph over
> > one another.  I would be grateful if someone could point me in the
> > right direction.
> >
> > Thanking you in advance.
> >
> > Dr K
> >
> >
> > Sabah Khalid PhD
> > Bioinformatician
> >
> > _______________________________________________
> > Bioconductor mailing list
> > Bioconductor@stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/bioconductor
> > Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
> ======================================================================
> Dr. Tobias Straub         Adolf-Butenandt-Institute, Molecular Biology
> tel: +49-89-2180 75 439         Schillerstr. 44, 80336 Munich, Germany
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

