I am unfamiliar with the chart.StackedBar function, but since barplot works as expected I thought I'd check that you do know you can obtain stacked bar charts using barplot also? (beside = FALSE).
On 10 November 2010 09:41, patrick nguyen <patrickqngu...@yahoo.com> wrote: > Hi > > > I'm having problems displaying multiple chart.StackedBar from > PerformanceAnalysis library on a single plot. I've tried using > par(mfrow=c(2,1)) but that doesn't work. > > If I do it with barplot(), it works fine and I see both plots on a single > plot. > > > plot(mfrow=c(2,1)) > > barplot(blahblah) > > barplot(blahblah) > > However if I try to use chart.StackedBar, the second entry appears to just > overwrite the window. > > > plot(mfrow=c(2,1)) > > chart.StackedBar(blahblah,date.format="%H:%M:%S",las=2, > >colorset=rainbow12equal) > > chart.StackedBar(blahblah,date.format="%H:%M:%S",las=2, > >colorset=rainbow12equal) > > Any suggestions are greatly appreciated! > > -patrick > > ______________________________________________ > 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. > [[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.