Thank you! That is exactly what I needed.
Roger D. Peng wrote:
> Take a look at ?plot.stepfun.
>
> 'ecdf()' returns an object of class "ecdf" inheriting from class
> "stepfun" and 'plot.ecdf()' calls 'plot.stepfun'.
>
> -roger
>
> Catherine Carter wrote:
>
>> Hi everyone,
>>
>> I have what may a
On Fri, 2006-08-25 at 09:08 -0400, Catherine Carter wrote:
> Hi everyone,
>
> I have what may appear to be a newbie question, but I have looked
> everywhere I can think to look and I cannot find an answer. On page 35
> of "An Introduction to R" the following command appears:
> plot(ecdf(eruptio
Take a look at ?plot.stepfun.
'ecdf()' returns an object of class "ecdf" inheriting from class "stepfun" and
'plot.ecdf()' calls 'plot.stepfun'.
-roger
Catherine Carter wrote:
> Hi everyone,
>
> I have what may appear to be a newbie question, but I have looked
> everywhere I can think to look
Hi everyone,
I have what may appear to be a newbie question, but I have looked
everywhere I can think to look and I cannot find an answer. On page 35
of "An Introduction to R" the following command appears:
plot(ecdf(eruptions), do.points=FALSE, verticals=TRUE). What is the
do.points argument?
ED]
> [mailto:[EMAIL PROTECTED] On Behalf Of toka tokas
> Sent: Sunday, October 02, 2005 5:37 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] plot question when type = "b" and pch is a vector
>
> Dear R users,
>
> I've been struggling some days with the f
Dear R users,
I've been struggling some days with the following
problem: I'm interesting in producing the following
plot
x <- seq(0.01, 10, length = 20)
plot(c(0, 10), c(-20, 20), type = "n", xlab = "x",
ylab = expression(2 * alpha * log(x)))
pch. <- rep(NA, length(x))
for(i in 1:4){
At least on Windows XP R 2.1.1 it does seem like there is quite a
difference to me, at least when done side by side, which can be
seen like this:
plot(rnorm(10),rnorm(10),xlab="",ylab="")
title(xlab="x",ylab=quote(bold(3*"4")),font.lab=1,cex.lab=1.25,col.lab="blue")
since the cex.lab will act o
Gabor,
I thought that I had worked around the 'expression' format problem,
but if the x-y labels are to be bold, then using,say, cex.lab=1.25in the
title(), appears to simulate 'bold' font very well, both for the ylab maths
expression and xlab text.
Your solution is the rigorous one!
John
a.d.
I refer you to ?title and its given examples.
try this --
plot(rnorm(10),rnorm(10),xlab=" ",ylab=" ")
title(xlab="year",
ylab=expression(paste('M x'*10^{3},)),font=2)
note that 'title()' will alos accept a list for x and y labs,
for additional parameters,e.g., 'col' and 'cex'
John
a.d
Trying characters and expressions variously it seems that font.lab applies
to character strings but not to expressions so if you want to use an expression
just use bold (or whatever) explicitly on the expression. One gotcha is that
bold will not work as one might have expected on numbers so they m
dear list:
in the following plot:
plot(rnorm(10),rnorm(10),xlab="year",ylab=expression
(paste('M x'*10^{3},)),font.lab=2)
font.lab=2, but xlab and ylab are different. I want
both labels in the same way. help?
a.d.
-
Email Enviado utilizando o se
thks Dimitris, it helped a lot.
alex
-Mensagem original-
De: Dimitris Rizopoulos [mailto:[EMAIL PROTECTED]
Enviada: qui 19-05-2005 12:50
Para: alexbri
Cc: r-help@stat.math.ethz.ch
Assunto: Re: [R] plot question
://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
- Original Message -
From: "alexbri" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 19, 2005 1:18 PM
Subject: [R] plot question
hi all:
xlim and ylim are used to define the interval limits of a plot. I'm
interested in the scale of value
hi all:
xlim and ylim are used to define the interval limits of a plot. I'm interested
in the scale of values between this limits.
suppose xlim=c(0,10)
we can have e.g.
0 5 10
0 2 4 6 8 10
0 1 2 3 4 5 6 7 8 9 10
which is the parameter that allows me to modify this?
thanks
On Mar 3, 2005, at 5:29 PM, Christoph Lehmann wrote:
I have the following simple situation:
tt <- data.frame(c(0.5, 1, 0.5))
names(tt) <- "a"
plot(tt$a, type = 'o')
gives the following plot ('I' and '.' represent the axis):
I
I
I X
I
I
I X X
I...
1 2 3
what do I have to chan
On Thu, 2005-03-03 at 10:44 -0600, Marc Schwartz wrote:
> See ?par for more information.
Correction, that should have been ?plot.default for more information,
though ?par has other relevant information on plot parameters as well.
Marc
__
R-help@stat.m
x.ch>cc:
Sent by: Subject: [R] plot question
[EMAIL PROTECTED]
On Thu, 2005-03-03 at 17:29 +0100, Christoph Lehmann wrote:
> I have the following simple situation:
>
> tt <- data.frame(c(0.5, 1, 0.5))
> names(tt) <- "a"
> plot(tt$a, type = 'o')
>
> gives the following plot ('I' and '.' represent the axis):
>
> I
> I
> I X
> I
> I
> I X X
> I..
I have the following simple situation:
tt <- data.frame(c(0.5, 1, 0.5))
names(tt) <- "a"
plot(tt$a, type = 'o')
gives the following plot ('I' and '.' represent the axis):
I
I
I X
I
I
I X X
I...
1 2 3
what do I have to change to get the following:
I
I
I X
I
I
I
Apoian, Zack sac.com> writes:
> Say y and z are two time series (functions of "date"). What is the R
> command to plot y and z together on a graph with "date" on the x-axis?
There are several time series classes (ts, zoo in zoo, irts
in tseries, its in its, timeDate in fBasics) and its also pos
Say y and z are two time series (functions of "date"). What is the R
command to plot y and z together on a graph with "date" on the x-axis?
DISCLAIMER: This e-mail message and any attachments are inte...{{dropped}}
__
[EMAIL PROTECTED] mailing list
h
plot(1:10)
abline(v=c(3,5,7), col="red")
Linda portman yahoo.com> writes:
:
: I have a variable named "Medicine" which has seven values in date format, on
the following plot, how can I use
: a red line to indicate the time when the medicine was taken on x axis?
:
: The following is my origi
I have a variable named "Medicine" which has seven values in date format, on the
following plot, how can I use a red line to indicate the time when the medicine was
taken on x axis?
The following is my original plot of blood pressure vs. time.
plot(time, bloodpressure,xlab="Time",ylab="bPress"
23 matches
Mail list logo