Hi all,

Please consider the following code:

require(plotrix) 

l <- list(rnorm(50),rnorm(50,sd=2),rnorm(50,mean=3)) 
multhist(l)

I have two things I need help with:

(1) In the output, there are empty spaces on the x-axis. How would I eliminate 
these spaces? I want a nice, smooth, empty-spaceless x-axis.

(2) How could I add tracing lines to each histogram? I am undoubtedly using the 
wrong terminology. What I want to do is something like this: 
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=55
Note that each histogram has a tracing line that summarizes the histogram.

In summary, I'd like to modify the code above to (1) get rid of the dead spaces 
on the x-axis, and (2) add lines that traces to each of the histograms therein 
(all on the same graph).

I am very bad at using R graphics at this point, so I need some pretty serious 
hand-holding. Exact code that gets the job done would be most useful for me. 
Thanks very much in advance!

Sincerely,
-----------------------------------
Josh Banta, Ph.D
Center for Genomics and Systems Biology
New York University
100 Washington Square East
New York, NY 10003
Tel: (212) 998-8465
http://plantevolutionaryecology.org



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to