Hello!
I wonder why the x and the y expression are treated differently in the
plot-function?
In the example below I should get three times the same graph, shouldn't
I?
column<-c(0,1)
par(mfrow = c(3,1))
plot((1-column)~column)
plot(column~(1-column))
plot(column~as.vector(1-column))
Thanks for c
After I made a new plot, the old plot can not be found. How can I check all the
plots I have made?
-
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.e
Hello,
I have a problem about using the command "plot". Suppose I have some points,
and one of them is (0,0), how can I show the figure with this point which is at
the corner?
Thanks for your kind help.
Cheers,
Apple
[[alternative HTML version deleted]]
___
Dear R users:
> C1
timeX1
1 0.5 6.296625
2 1.0 10.283977
3 1.5 12.718610
4 2.0 14.112740
5 3.0 15.053917
6 4.0 14.739725
7 6.0 12.912230
8 8.0 10.893264
9 0.5 6.289166
10 1.0 10.251247
11 1.5 12.651346
12 2.0 14.006958
13 3.0 14.870618
14 4.0 14.487026
15 6.0 1
Greetings to the group,
I would like to know if some one could help me with plot 3-d column
graph of a matrix (3-d column graph in Excel).
Many thanks in advance.
Regards,
Dong
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/list
Hello sir:
a data with 2 columns:
id x
a 1
b 2
c 3
I wanna get such kind of plot:
x: a b c
y:1 2 3
But the plot command doesn't permit string character as x.
How can I get it ?
Thanks a lot !
My best
__
R-help@stat.math.ethz.ch mailing list
https
Hi! R users
I want make a plot with grouping variables.
Can you help me?
Thanks
Paula
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Is it possible to make multiple plots i.e. to represent more than one
function on the same figure?
Thank you
Email: [EMAIL PROTECTED]
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailma
hello,
I wonder whether there is a way to plot in R the following:
I have two arrays of dimension (200*1) say x1 and x2.
I would like to plot on the same graph x1[1:50,]*x2[1:50,] with pch=1
x1[51:100,]*x2[51:100,] with pch=2
Dear All,
I'd like to 'highlight' say change font size/color 'some' point in a graph. I
can do this with 'points',
plot(x)
points(x[1], col="red")
Is there a more 'straightforward' way (e.g., option in plot) to do this?
Thanks Marwan
I am an R novice trying to figure out plot().
Specifically, I am trying to plot the values of a
numeric variable V for a set of years (1970, 1974,
1976, 1978, 1980). How do I get R to label the years
I am plotting on the x-axis rather then some general
levels (1970, 1975, 1980.) Using as.charact
Can anyone tell me how to plot on the same graph two different functions
(of x) using two differnt y scales (axes 2 and 4)?
Thanks
Nelson
--
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br
_
Hi,
I want to plot two sets of (x, y) in the same window, that is, plot of
(x1,y1) and plot of (x2, y2) appear in the same window, so that I can
compare the two plots.
Can I get any help from you on how to do that?
Thanks!
Hui
__
R-help@stat.math.ethz.
Hi,
How could I plot two vectors on the same graph? For example, if I have two
lists of results, each list is a vector. I want to display them on the same
graph, so I can compare them. How could I do that?
Regards, Justin
__
[EMAIL PROTECTED] mailing
Ute Visser wrote:
Hello!
I wonder why the x and the y expression are treated differently in the
plot-function?
In the example below I should get three times the same graph, shouldn't
I?
column<-c(0,1)
par(mfrow = c(3,1))
plot((1-column)~column)
plot(column~(1-column))
In right hand sides of formula
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
Hi folks,
I try to plot a variable which contains string-variables. it works, but the
problem is that there are a lot of values at the x axis (up to 24)
SO i have to scale or rotate the label at the x axis.
I tried this with the text() function. It doesn't work correctly.
Is there a simple way to
Is it possible to do a graphic in 3D?
This is my source: but this one is on 2D and at moment variables put on other
variables, so it is difiicult to differentiate them visibly.
plot(corresp(data,nf=2),xlim=c(-1,1),ylim=c(-1,1));
Thanks
Sabine
---
Hello
I'm working with DNA microarrays and want to classify them with SVM. I
want to plot the results and it's imposible for me. I found others
tutorials and examples (with iris and cats data) where you can plot the
results with plot.svm, but you need to write a formula and I don't know
how to
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
Hi R-Users,
First of all i apologize if this is too simple for you. I want to plot an index
of which i have daily data for 10 years. I want to plot specific dates in X
axis, like 20/05/91 20/12/92 20/07/94 etc. and the index value in
Y axis. Please suggest me.
Thanks,
Sumanta.
Hello.
I'm pretty much new to R and I'm trying to produce some figures.
It seems to me, that R has some asynchronous way of plotting figures.
When I run this code:
#constructs the semivariogram of SC1929
vgm1 <- variogram(SC1929~1,~U+V,puerto.map$att.data)
# trying to make new plot
dev.set(which
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?
Dear All,
Is there any function to plot the probability of success (wrt to time) for a
glmmPQL object?
I can do it with "curve" but I wonder if there is an efficient way ...
Thank you,
Bernard
-
[[alternative HTML version deleted]
Select History > Recording.
You can see previous plots using 'page up'.
Murray
-Original Message-
From: Sam R. Smith [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 October 2005 1:27 PM
To: r-help@stat.math.ethz.ch
Subject: [R] plot
After I made a new plot, the old plot can
Hello
I'm a newbie to the R program and I have problems to plot two functions
in one plot window.
I know that I can use the plot command for the first function and the
lines command for the second function but the problem is that the first
function has only values beginnig from 1 to 7 on the x-a
Dear r-helpers,
plot(all.effects()) uses trellis for its output, and often produces
several effect plots in a layout. Can anyone tell me how to set the
arguments to plot.effect which default to
row=1, col=1, nrow=1, ncol=1, more=FALSE
so that I can plot multiple effect plots on one layout?
I
___
Hi,
When I create multiple graphs subsequent graphs overwrite previous
graphs. How do I keep all my graphs in the current workspace (but not
all on the same page) so I can scroll through them?
thanks,
Hi,
The plot() function not produces graphics in linux.
Msg: Error in X11(): it was not possible to find no source X11 Verify if
the path of sources is correct.
I hope it helps.
Best,
Ricardo
___
o discador agora!
Dear Rusers,
I want to know which function in R can perform the following tasks:
1.surface-data grid(x,y,z) #which could be done in splus, the name was from
splus's options of graph
2. contourplot(x,y,z) #which could be done in splus
By the way, where can i find some useful materials to lear
Dear All,
I have a data as follows:
ID <- 1:100
Y <- rnorm(100)
X <- rnorm(100)
type <- as.factor(rep(1:3,100,time=1))
df <- as.data.frame(cbind(ID, Y,X,type))
I want to plot Y versus X by specifying the pch to be as follows:
Subjects having type = 1 must be plotte
Apple Ho wrote:
> Hello,
>
> I have a problem about using the command "plot". Suppose I have some
> points, and one of them is (0,0), how can I show the figure with this
> point which is at the corner?
How close to the corner do you want it?
> plot(0, 0, xlim=c(0, 1), ylim=c(0,1))
you could als
On Wed, 2005-12-07 at 18:08 +1100, paul sorenson wrote:
> Apple Ho wrote:
> > Hello,
> >
> > I have a problem about using the command "plot". Suppose I have some
> > points, and one of them is (0,0), how can I show the figure with this
> > point which is at the corner?
>
> How close to the corner
Hi
insert a line of NAs into your data and the line won't
cross it:
> a <- cbind(1:10,10:1)
> aa <- a[append(1:10,NA,after=4),]
> plot(aa,type="b")
>
HTH
rksh
On 9 Dec 2005, at 11:48, Rhett Eckstein wrote:
> Dear R users:
>
>> C1
>timeX1
> 1 0.5 6.296625
> 2 1.0 10.2839
On 09-Dec-05 Rhett Eckstein wrote:
> Dear R users:
>
>> C1
>timeX1
> 1 0.5 6.296625
> 2 1.0 10.283977
> 3 1.5 12.718610
> 4 2.0 14.112740
> 5 3.0 15.053917
> 6 4.0 14.739725
> 7 6.0 12.912230
> 8 8.0 10.893264
> 9 0.5 6.289166
> 10 1.0 10.251247
> 11 1.5 12.651346
Thank you first.
Now there is no straight line in the plot.
when i using:
aa <- C1[append(1:16,NA,after=8),]
plot(aa,type="l")
But if C1 is a more than 16 ( time v.s. X1 ) list.
for example: 64 (time v.s. X1)
aa <- C1[append(1:64,NA,after=8),]
just let one line disappear, others still appear
wh
Rhett Eckstein wrote:
> Dear R users:
>
>
>>C1
>
>timeX1
> 1 0.5 6.296625
> 2 1.0 10.283977
> 3 1.5 12.718610
> 4 2.0 14.112740
> 5 3.0 15.053917
> 6 4.0 14.739725
> 7 6.0 12.912230
> 8 8.0 10.893264
> 9 0.5 6.289166
> 10 1.0 10.251247
> 11 1.5 12.651346
> 12 2
L PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dong GUO ??
> Sent: Friday, July 27, 2007 8:45 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] plot
>
> Greetings to the group,
>
> I would like to know if some one could help me with plot 3-d
> column graph
. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
> -Original Message-
> From: Dong GUO 郭东 [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 27, 2007 12:09 PM
> To: Greg Snow
> Cc: r-help@stat.math.ethz.ch
> Subject: Re: [R] p
; Statistical Data Center
> Intermountain Healthcare
> [EMAIL PROTECTED]
> (801) 408-8111
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dong GUO ??
> > Sent: Friday, July 27, 2007 8:45 AM
&g
ing at detail).
>
> Hope this helps,
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> [EMAIL PROTECTED]
> (801) 408-8111
>
>
>
> > -Original Message-
> > From: Dong GUO ¹ù¶« [mailto:[EMAIL PROTECTED]
&
dark areas or dark blocks in light areas show
outliers that may be of interest.
From: Dong GUO ?? [mailto:[EMAIL PROTECTED]
Sent: Sat 7/28/2007 10:19 PM
To: Greg Snow
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] plot
Thanks again, Greg, It really helps.
Dear R gurus,
I'd like to plot a distribution with the tickmarks always at the quantiles
of the y-axis, as opposed to the quantiles of the distribution I am
plotting. plot seems to place these ticks based on some calculations that I
cant see (?plot doesnt show the innards of plot).
Below is so
hi,
I would like to know what is the function to plot cdf.
Thanks,
Luck
__
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.html
I use svm , then I want to do like this
But give me this error. Does anyone know how to solve these?
Aimin
> plot(m.svm,p5.new,As~Cur)
Error in scale(newdata[, object$scaled, drop = FALSE], center =
object$x.scale$"scaled:center", :
(subscript) logical subscript too long
XinMeng wrote:
> Hello sir:
> a data with 2 columns:
> id x
> a 1
> b 2
> c 3
>
> I wanna get such kind of plot:
> x: a b c
> y:1 2 3
>
> But the plot command doesn't permit string character as x.
>
> How can I get it ?
What sort of plot do you want? For a barplot() of x with bars labeled
--- XinMeng <[EMAIL PROTECTED]> wrote:
> Hello sir:
> a data with 2 columns:
> id x
> a 1
> b 2
> c 3
>
> I wanna get such kind of plot:
> x: a b c
> y:1 2 3
>
> But the plot command doesn't permit string character
> as x.
>
> How can I get it ?
>
> Thanks a lot !
>
> My best
It is not c
bels that you then
draw with the axis function the way that you want them. If you play with the
xnum vector, you can have different spacing of the points in the
x-direction.
Rene
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of XinMeng
Sent: Monday, Decembe
pau gonzalez wrote:
Hi! R users
I want make a plot with grouping variables.
Can you help me?
Thanks
Paula
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/
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
Dear all,
I am having trouble plotting a PCA result. The plot doesn't appear!!!
R goes through without any errors but doesn't make a plot appear!!
Could it be wrong window parameters? In this case how do I change them?
I am under red hat 9 with the latest version of R!
Thanks.
On Sat, 1 Jan 2005, franci wrote:
> Is it possible to make multiple plots i.e. to represent more than one
> function on the same figure?
It you want to superimpose the curves, for example:
t=seq(-5,5,.1)
plot(t,exp(-t*t),type='l')
lines(t,sin(t)*sin(t))
If you want to plot on separate plotting
Hello,
how can use change the plot function to change the range of axises. I want my
graph from a certain range [a, b], instead of from the min to max of of datas?
if i want draw a line instead of dots, should i use both plot and lines
function.
for example:
plot(x, y);
lines(x, y);
things se
pucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat
http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm
- Original Message -
From: "NICOLAS DEIG" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 28, 200
NICOLAS DEIG wrote:
hello,
I wonder whether there is a way to plot in R the following:
I have two arrays of dimension (200*1) say x1 and x2.
I would like to plot on the same graph x1[1:50,]*x2[1:50,] with pch=1
x1[51:100,]*x2[51:100
oye : vendredi 28 janvier 2005 14:23
A : r-help@stat.math.ethz.ch
Objet : [R] plot
hello,
I wonder whether there is a way to plot in R the following:
I have two arrays of dimension (200*1) say x1 and x2.
I would like to plot on the same graph x1[1:50,]*x2[1:50,] with pch=1
Hello,
You search that command :
plot(x1,x2,pch=rep(1:4,50))
I think you should read some basic manuals about R, the FAQ, etc ...
NICOLAS DEIG wrote:
hello,
I wonder whether there is a way to plot in R the following:
I have two arrays of dimension (200*1) say x1 and x2.
I would like to plot on the
Hello,
You search that command :
plot(x1,x2,pch=rep(1:4,50))
Oups, sorry, I meant that :
plot(x1,x2,pch=rep(1:4,each=50))
I need more cafeine on morning !
I think you should read some basic manuals about R, the FAQ, etc ...
NICOLAS DEIG wrote:
hello,
I wonder whether t
Marwan Khawaja wrote:
Dear All,
I'd like to 'highlight' say change font size/color 'some' point in a graph. I
can do this with 'points',
plot(x)
points(x[1], col="red")
Is there a more 'straightforward' way (e.g., option in plot) to do this?
Thanks Marwan
plot(x, col = colorvector)
???
Uwe Ligg
I remember reading somewhere that locations on plots (in my case, arguments
x and y for legend()) can be specified in several scales besides the usual
data scale. I would like to set x and y as proportions of total plot size
or something similar. Can anyone steer me to documentation on how to
try text(c("1970", "1978", "1990"), x=1:3, y=1:3) after you first
call plot(c(1, 3), c(1, 3), axes=F, type="n", xlab="", ylab="")
to set the plotting area.
Yuelin.
-- From: Nirmala Ravishankar <[EMAIL PROTECTED]>
To: [EMAIL
First, it is usual to make plots with generic scales rather than label
each of the x values used, especially when they are irregularly spaced (as
here). But if you want to do that, use axis() to create your own axis.
Here's a test
y <- data.frame(year=c(1970, 1974, 1976, 1978, 1980), V=rnorm(5))
Dear helpers
I have this code to make 10 plots in the same device
a<-1
split.screen(c(2:5))
for (i in 1:10){
nova.matriz<-a*sigma+(1-a)*S
proj<-calculo.comp(treino,nova.matriz)
print(proj[,1:2])
screen(i)
plot(Re(proj[c(2,3,6,9:11,14,23),1:2]),xlim=range(c(-
15:15)),ylim=range(c(-5:5)),col="black
Does the following produce what you want?
plot(0:1, 0:1, type="l")
axis(4, 0:1, c(0, 2))
lines(0:1, 0.5*c(2,1))
Spencer Graves
[EMAIL PROTECTED] wrote:
Can anyone tell me how to plot on the same graph two different functions
(of x) using two differnt y scales (axes 2 and 4)?
Thanks
Nelson
-
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote:
>Can anyone tell me how to plot on the same graph two different functions
>(of x) using two differnt y scales (axes 2 and 4)?
The only way I've found is to use the grid library and push.viewport().
((...) means substitute with whatever appropria
Hi
On 17 Mar 2003 at 9:06, Morten Sickel wrote:
> [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> wrote:
>
> >Can anyone tell me how to plot on the same graph two different
> >functions (of x) using two differnt y scales (axes 2 and 4)?
>
> The only way I've found is to use the grid library and
>
R1.7.0, Win2k:
When I use plot( ) on a groupedData object,
if I have 165 subjects I'm supposed to be able
to use plot(..., layout = c(5,3,11)) to get
all 165 on 11 separate sheets. The graphics
window is only displaying the first 10. If I
use plot(..., layout = c(5,3,12)) I get the
appropriate
Thanks to Dr. Thomas Hotz, Prof. Brian Ripley, Dr. Dennis
Murphy, and Dr. David Scott for their replies.
Trying an idea:
> x <- c(1,2,3,4)
> y<-c(2,4.2,5.9,9)
> temp<-data.frame(cbind(x,y))
> attach(temp)
> temp.lm <- lm(y~x)
> windows()
> plot(temp.lm)
Hit to see next plot:
Hit to see next pl
Please forgive my ignorance on grapics. I'm trying to make a relatively
simple plot with two line plots, same axes, by mean over a series of
dates. I can make the plot well like this:
plot(sort(tapply(first.anti.auth.sum,date,mean), partial=1), type="l",
col="yellow",ylim=c(0,2.0))
par(new=TRUE)
p
Dear helpers
Is it possible to plot with a desired character? For example "tr" for training error
and "te" for test error.
I tried
plot(x,y,pch="tr")
but only appears "t" in the plot
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
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
e-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Hui Han
> Sent: Monday, May 02, 2005 4:08 PM
> To: R-help@stat.math.ethz.ch
> Subject: [R] plot
>
> Hi,
>
> I want to plot two sets of (x, y) in the same window, that
> is, plot of
> (x1,y1)
E. P. Box
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hui Han
Sent: Monday, May 02, 2005 4:08 PM
To: R-help@stat.math.ethz.ch
Subject: [R] plot
Hi,
I want to plot two sets of (x, y) in the same window, that
is, plot of
(x1,y1) and plot of (x2, y2) appear i
Justin -
If both vectors are the same length, and the interpretations given
to successive elements of each are the same, you might wish to make
a bivariate scatterplot: plot(result.1, result.2). Otherwise, you
could plot the values in each vector against their element numbers:
plot(result.1, pc
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Justin Xi ZHU
> Sent: Tuesday, February 17, 2004 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: [R] plot
>
>
> Hi,
>
> How could I plot two vectors on the same gra
> -Original Message-
> From: Justin Xi ZHU [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 17, 2004 2:30 PM
> To: Ko-Kang Kevin Wang
> Subject: RE: [R] plot
>
>
> Hi,
>
> Thanks for your email.
>
>
> Result 1: 23, 234, 45, 39 correspondin
Hello Justin,
Monday, February 16, 2004, 10:10:21 PM, you wrote:
JXZ> How could I plot two vectors on the same graph? For example, if I have two
JXZ> lists of results, each list is a vector. I want to display them on the same
JXZ> graph, so I can compare them. How could I do that?
JXZ> Regards,
I was trying to plot date time vs numeric values.
Number of My date value are about 4000, It is continuous time series, 3 days, the
interveal is 5 minutes, (2002-09-22 12:35:00 pm to 2002-09-22 3:40:00 pm) How can i
plot it in R?
I tried the regular way:
formattime <- strptime(time, format=
Hie!
I do not manage to make several plots on a same graph ( for example two
densities on the same graph )
thanks for the answer
Pierre Clauss
xxx
Ce message et toutes les pièces jointes (ci - apres le \"message\" )
sont établis a l'attention
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"
://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
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
Sebastian Schoenherr wrote:
Hi folks,
I try to plot a variable which contains string-variables. it works, but the
problem is that there are a lot of values at the x axis (up to 24)
SO i have to scale or rotate the label at the x axis.
I tried this with the text() function. It doesn't work correctly
Le 20.05.2005 13:20, Sebastian Schoenherr a écrit :
Hi folks,
I try to plot a variable which contains string-variables. it works, but the
problem is that there are a lot of values at the x axis (up to 24)
SO i have to scale or rotate the label at the x axis.
I tried this with the text() function. I
Navarre Sabine wrote:
Is it possible to do a graphic in 3D?
This is my source: but this one is on 2D and at moment variables put on other variables, so it is difiicult to differentiate them visibly.
It is always the question whether 3D helps, but if you think so, you
might want to take a lo
Hi,
when I run
> plot.default(z1, z2, xlab = "x", ylab = "y", main = "", pch = "+")
> abline(lm(z1 ~ z2))
then the plot is plotted perfectly (scatterplot), however, the lm()
function doesnt appear on the plot. What could be wrong?
(Yesterday it worked perfectly, with the lm() line.)
Runnin
Hi Mathias,
Try
abline(lm(z2 ~ z1))
Mikkel
..
Hi,
when I run
> plot.default(z1, z2, xlab = "x", ylab = "y", main =
"", pch = "+")
> abline(lm(z1 ~ z2))
then the plot is plotted perfectly (scatterplot),
however, the lm()
function doesnt appear on the p
hi,
My code:
data<-matrix(data=c(0.425,0.5,0.75,0.125,0.25,0.475,0.375,0.25,0.625,0.5,0.1,0.125,0,0.25,0.25),nrow=3,ncol=5,byrow=TRUE,
dimnames=list(c("Good","Medium","Bad"),c("Content","Logistic","Trainer","Supply","User
contribution")))
plot(corresp(data,nf=2),xlim=c(-1,1),ylim=c(-1,1));
Hello there,
I use function qda (MASS package) to obtain a qda object, but how to
plot this object?
Thank you,
Shengzhe
__
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
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
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
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
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
Try this. We first generate some test data, then we plot the
data without the x axis. We generate a subset of the times
consisting of a sequence of every 7 months and create an
axis with that. Then we add smaller ticks every month.
library(zoo)
# test data
x <- seq(0, 10*365)
z <- zoo(x, as.D
Hello,
When plotting the results of a TukeyHSD multiple comparisons
procedure with an ANOVA (lm) object, an extra line appears
in the confidence intervals that contain 0. For example (this
is straight from the TukeyHSD helpfile):
> summary(fm1 <- aov(breaks ~ wool + tension, data = warpbreaks))
On Sun, 20 Aug 2006, Daniil Ivanov wrote:
> Hello.
>
> I'm pretty much new to R and I'm trying to produce some figures.
What have you been reading to get the ideas below? People new to R do not
tend to use dev.next ... indeed experienced users very rarely use it.
> It seems to me, that R has
Hi,
Ok, thanks to all.
Problem was with class of variogram
> class(vgm1)
[1] "gstatVariogram" "data.frame"
If I fix it manually to
class(vgm1) <- "gstatVariogram"
everything runs as it should.
Thanks, Daniil.
On 8/21/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Sun, 20 Aug 2006, Dan
Ok, what is wrong with a following code:
# remove all the present objects
rm(list = ls())
# load the libraries we need
library(gstat)
data(meuse)
vgm1 <- variogram(log(zinc)~1, ~x+y, meuse)
plot(vgm1)
dev.copy2eps(file="fig2.eps",horizontal=T)
dev.off()
it plots nothing
but from the R console
On Mon, 21 Aug 2006, Daniil Ivanov wrote:
> Ok, what is wrong with a following code:
>
> # remove all the present objects
> rm(list = ls())
>
> # load the libraries we need
> library(gstat)
>
> data(meuse)
> vgm1 <- variogram(log(zinc)~1, ~x+y, meuse)
> plot(vgm1)
> dev.copy2eps(file="fig2.eps"
Hi,
thank you very much for your help.
In examples of gstat manual it was no
print(). I thought it is like in Matlab, you take
an example from the manual and it works.
Silly me ;)
Thanks, Daniil.
On 8/21/06, Roger Bivand <[EMAIL PROTECTED]> wrote:
> On Mon, 21 Aug 2006, Daniil Ivanov wrote:
1 - 100 of 607 matches
Mail list logo