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
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
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
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
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
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
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 -
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) -
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
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 -
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
[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
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
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
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
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
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
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
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
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
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
21 matches
Mail list logo