two histograms in one graph
1
0
Entering edit mode
@skhalidqmulacuk-2727
Last seen 10.2 years ago
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
graph graph • 1.2k views
ADD COMMENT
0
Entering edit mode
Tobias Straub ▴ 430
@tobias-straub-2182
Last seen 10.2 years ago
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 at 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 at 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
ADD COMMENT
0
Entering edit mode
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20080402/ 532fe347/attachment.pl
ADD REPLY
0
Entering edit mode
Dear all, HistStack works nicely. I just need to tweek it a little for my datasets. Thank you for your help. Dr K Quoting Artur Veloso <abveloso at="" gmail.com="">: > 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 at="" 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 at 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 at 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 at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >> > Sabah Khalid PhD Bioinformatician Institute of Cancer Medical Oncology Unit Barts and The London, Queen Mary's School of Medicine 3rd floor, John Vane Science Building Charterhouse Square London EC1M 6BQ Email: s.khalid at qmul.ac.uk Tel: 020 7882 5613
ADD REPLY

Login before adding your answer.

Traffic: 807 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6