One bar for each row? Do you really want 132 bars per plot? How
about something like this:
mymat <- matrix(runif(132*6), ncol=6)
par(las=1, mfrow=c(2,3))
for(i in 1:6){barplot(mymat[,i])}
Bhandari, A (Arjun) wrote:
Hi,
i have a matrix with 6 columns and 132 rows. the values in the matrix
are between 0 and 1.
I want to plot six graphs on a sheet, such that each graph is a series
of bars for each row.
How can I do this using the script file.
Best Regards,
Arjun Bhandari
Senior Portfolio Manager,
ABP Investments,
Office Phone: +31 20 40 69198
Mobile: +31 6536 10424
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894
|