Re: [R] Description of x-axis

2006-09-11 Thread Jeff Bricker
?mtext, also ?barplot since barplot returns midpoints of the bars. also ?rep for setting up a vector of repeating values. something like this: xLabels-c(rep(2003,4),rep(2005,11),rep(2006,5)) midPoints-barplot(your original statements here) mtext(xLabels,side=1,at=apply(midPoints,2,mean)) On

Re: [R] Successive Graphs

2006-09-11 Thread Jeff Bricker
There's probably a better way, but what I do in this situation is to capture output to a .pdf that I can page through. pdf(c:/temp/myPlots.pdf,h=8.5,w=11) #this is landscape orientation plot(your arguments here) dev.off() You could also run a loop to open a new windows() device for each plot,

Re: [R] How can I fit the secondary y axis legend on my graph?

2006-09-03 Thread Jeff Bricker
I suspect you may need to tweak your margins. See the mar argument to the par command for guidance. Something like par(mar=c(5,4,4,4)) should probably get you started, though. On 9/3/06, Chris Grobler [EMAIL PROTECTED] wrote: Dear All, Having a bit of trouble with plotting two y variables

Re: [R] write.table to Excel file

2006-08-31 Thread Jeff Bricker
from ?write.table: By default there is no column name for a column of row names. If 'col.names = NA' and 'row.names = TRUE' a blank column name is added, which is the convention for CSV files to be read by spreadsheets. On 8/31/06, array chip [EMAIL PROTECTED] wrote: Hi, I