Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread hadley wickham
On 6/8/07, Tom.O <[EMAIL PROTECTED]> wrote: > > Hi > I have a timeSeries object (X) with monthly returns. I want to display the > returns with a barplot, which I can fix easily. But my problem is labaling > the x-axis, if I use the positions from the timeseries It gets very messy. I > have tried ro

Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Knut Krueger
Sorry I forgot the "" around the dates x <- c(dates("01/31/03"),dates("06/30/07")) But I think your problem is the plot area. You must first define the plot area with type ="n" for no plotting, afterwards you could fill in the data. I did this with times() but I am afraid the displayed dates

Re: [R] Barplots: Editing the frequency x-axis names -doouble post

2007-06-08 Thread Knut Krueger
Sorry for double posting - was wrong e-mail adress , thougt this one will run into Spam filter __ 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.

Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Tom.O
Hi thanks for the respone, but cant you be more specific with your example. I cant see that this will do the trick. What Im looking for is a function that remembers each position but only displays every n'th date. For example positionReturns Disply Date 2003-01-31 1

Re: [R] Barplots: Editing the frequency x-axis names

2007-06-08 Thread Knut Krueger
Tom.O schrieb: > Hi > I have a timeSeries object (X) with monthly returns. I want to display the > returns with a barplot, which I can fix easily. But my problem is labaling > the x-axis, if I use the positions from the timeseries It gets very messy. I > have tried rotating and changing the font si

[R] Barplots: Editing the frequency x-axis names

2007-06-07 Thread Tom.O
Hi I have a timeSeries object (X) with monthly returns. I want to display the returns with a barplot, which I can fix easily. But my problem is labaling the x-axis, if I use the positions from the timeseries It gets very messy. I have tried rotating and changing the font size but it doesn't do the