1) R-help mailing list is run entirely by volunteers, so requests such as "urgent" may sound rude
2) Use an informative subject line please ! 3) Please state which package multhist comes from. 4) Please show your call to multhist. 5) multhist does _histograms_ by aggregating points within certain intervals. In your case, you simply want a plot of your raw data. You can use barplot directly via multi.barplot <- function( mylist, ... ){ u <- unique( unlist( mylist ) ) tb <- t(sapply( mylist, function(v) table(factor(v, levels=u)) ) ) barplot( tb, beside=TRUE, ... ) return(tb) } x <- c(7, 7 , 8, 9, 15, 17, 18) y <- c(7, 8, 9, 15, 17, 19, 20, 20, 25, 23, 22) z <- c(8, 9, 9, 9, 31) multi.barplot( list(x, y, z), col=1:3 ) legend( "topright", legend=c("one", "two", "three"), fill=1:3 ) Regards, Adai On Tue, 2005-12-06 at 15:32 +0530, Subhabrata wrote: > Hello R Users, > > I have two sets of values > > x <- c(7, 7 , 8, 9, 15, 17, 18) > > y <- c(7, 8, 9, 15, 17, 19, 20, 20, 25, 23, 22) > > I am able to create multi histogram using > multhist(). But not able to control the 'xlim'. > ie the xaxis is showing 7.5, 13, 18, 23 > > 1st on what basis it is calculated > > 2nd I want it to be like 7 8 9 15 17 and so on > > > Can any one help me > > > With Regards > Subhabrata Pal > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html