[BioC] legend to hist()

Rafael A. Irizarry ririzarr at jhsph.edu
Wed Mar 10 16:33:24 MET 2004


you have to say more on what you mean by "cant get it to work". 
this works for me:

> data(affybatch.example)
> hist(affybatch.example)
> legend(12,0.6,sampleNames(affybatch.example),col=1:3,lty=1:3)


On Wed, 10 Mar 2004, Tineke Casneuf wrote:

> Is it possible to put a legend on histograms -hist(affybatch.object)- 
> so that I can see which slide is which on the plots? I have tried it 
> with legend(x,y, legend=sampleNames(affybatch.object)), but I can't get 
> it to work this way either.
> 
> Many thanks in advance!
> 
> Tine
> 
> ==================================================================
> Tineke Casneuf 				     Tel: 32 (0)9 3313692
> DEPARTMENT OF PLANT SYSTEMS BIOLOGY           Fax:32 (0)9 3313809
> GHENT UNIVERSITY/VIB,    Technology Park 927, B-9052 Gent, Belgium
> Vlaams Interuniversitair Instituut voor Biotechnologie         VIB
> e-mail:ticas at psb.ugent.be     http://www.psb.ugent.be/bioinformatics/
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list