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

2007-06-08 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

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 size

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
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/times

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

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 rotating

Re: [R] barplots - text direction

2005-08-24 Thread Patrick Connolly
On Wed, 24-Aug-2005 at 01:54PM +1200, David Scott wrote: | On Wed, 24 Aug 2005, Murray Pung wrote: | | If the variable names are too long to allow room for each to be displayed on a barplot, how can the direction of the text be changed? | | a -

[R] barplots - text direction

2005-08-23 Thread Murray Pung
If the variable names are too long to allow room for each to be displayed on a barplot, how can the direction of the text be changed? a - cbind(2.4,2.4,2.5,2.6,2.6,2.6,2.6,2.6,2.9,2.9,2.9) b - cbind(2.3,2.5,2.4,2.2,3.2,2.4,2.9,2.6,2.9,3.0,2.8) h - rbind(a,b) colnames(h) -

Re: [R] barplots - text direction

2005-08-23 Thread Simon Blomberg
See las under ?par. You can often pass par parameters to higher-level graphics functions, so barplot(h, las=2) (for example) works. HTH, Simon. At 11:27 AM 24/08/2005, Murray Pung wrote: If the variable names are too long to allow room for each to be displayed on a barplot, how can the

Re: [R] barplots - text direction

2005-08-23 Thread David Scott
On Wed, 24 Aug 2005, Murray Pung wrote: If the variable names are too long to allow room for each to be displayed on a barplot, how can the direction of the text be changed? a - cbind(2.4,2.4,2.5,2.6,2.6,2.6,2.6,2.6,2.9,2.9,2.9) b - cbind(2.3,2.5,2.4,2.2,3.2,2.4,2.9,2.6,2.9,3.0,2.8) h -

[R] Barplots and error indicators: Some R-Code

2004-06-18 Thread dieter . haering
I' ve seen that several people are looking for a function that creates a barplot with an error indicators (I was one of them myself). Maybe you will find the following code helpful (There are some examples how to use it at the end): # Creates a barplot. #bar.plot() needs a datavector for the

Re: [R] Barplots and error indicators: Some R-Code

2004-06-18 Thread Frank E Harrell Jr
[EMAIL PROTECTED] wrote: I' ve seen that several people are looking for a function that creates a barplot with an error indicators (I was one of them myself). Maybe you will find the following code helpful (There are some examples how to use it at the end): # Creates a barplot. #bar.plot() needs

RE: [R] Barplots and error indicators: Some R-Code

2004-06-18 Thread Rau, Roland
Dear all, -Original Message- From: Frank E Harrell Jr [SMTP:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 4:48 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [R] Barplots and error indicators: Some R-Code Bar charts have many problems as pointed out in Bill

Re: [R] Barplots and error indicators: Some R-Code

2004-06-18 Thread Frank E Harrell Jr
Rau, Roland wrote: Dear all, -Original Message- From: Frank E Harrell Jr [SMTP:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 4:48 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:Re: [R] Barplots and error indicators: Some R-Code Bar charts have many problems

Re: [R] barplots with no lines around each bar

2004-01-12 Thread Prof Brian Ripley
On 12 Jan 2004, Doug Beare wrote: I want to do a barplot with no black lines drawn around each bar and no space between each bar. I can do the nospace bit but keep getting black line around each bar no matter what I try. Ie. for a red bar I want a red border, for a yellow bar a yellow border

[R] Barplots

2003-11-07 Thread Suzanne E. Blatt
Hello, Can anyone tell me how to label individual bars on a barplot? I want to put an * or letter ABOVE the bar to denote statistical significance. Is this possible and how? Thanks, Suzanne __ McAfee VirusScan Online from the

Re: [R] Barplots

2003-11-07 Thread Marc Schwartz
On Fri, 2003-11-07 at 09:46, Suzanne E. Blatt wrote: Hello, Can anyone tell me how to label individual bars on a barplot? I want to put an * or letter ABOVE the bar to denote statistical significance. Is this possible and how? Thanks, Suzanne You might want to take a look at the most

Re: [R] Barplots

2003-11-07 Thread Philipp Pagel
Hi! On Fri, Nov 07, 2003 at 10:46:27AM -0500, Suzanne E. Blatt wrote: Can anyone tell me how to label individual bars on a barplot? I want to put an * or letter ABOVE the bar to denote statistical significance. Is this possible and how? You can use text() to put arbitrary strings in

Re: [R] Barplots

2003-11-07 Thread Suzanne E. Blatt
Hello, Thanks for the suggestion below. I did one of my figures and it worked perfectly. I tried it on my second figure and got double-labelling on the first bar. I used the same code to create both figures, and the same code to label. I've attached the code for one of the plots (there

Re: [R] Barplots

2003-11-07 Thread Philipp Pagel
On Fri, Nov 07, 2003 at 03:16:13PM -0500, Suzanne E. Blatt wrote: Thanks for the suggestion below. I did one of my figures and it worked perfectly. I tried it on my second figure and got double-labelling on the first bar. I used the same code to create both figures, and the same code to

Re: [R] Barplots (THANK YOU!!)

2003-11-07 Thread Suzanne E. Blatt
Thanks! That did it!! Suzanne Philipp Pagel [EMAIL PROTECTED] wrote: On Fri, Nov 07, 2003 at 03:16:13PM -0500, Suzanne E. Blatt wrote: Thanks for the suggestion below. I did one of my figures and it worked perfectly. I tried it on my second figure and got double-labelling on the first