Displaying 20 results from an estimated 4000 matches similar to: "Graph color"
2009 Dec 24
2
Two Easy questions
Sorry all for these two easy questions:
First, I have a matrix with trhee columns:
A=
Name Eight Puntuation
Pepe 1,85 10
Paco 1,7 7
Pablo 1,82 6
I want to scatter the two columns (I could use pairs or other functions...)
but the only doubt is that I cannot find the way to add in the associated
intersection (the point scattered) the label "Pepe" "Paco" and so
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
Hi,
I have finally installed TeachingDemos trough zip file and installed on
lbrary.
One new question:
I want to draw a line (like abline) on diagonal or the result of running a
ols.
How can I do it.
On the other hand, I want to mark the length on each sub plot y axis.
It is possible?
My function is
sca<-function(){
z2<-read.table("Ase.txt",header=T)
2009 Jul 27
2
pairs plot
Hi all,
I want to plot trough pairs() plot a matrix with 4 columns. I want to make a
trhee plot in a graph. Plotting pairs colum 2,3,4 on y axis and 1 on X axis.
You mean (a plot with three graphs) ommitting the first pair with itself.
And only the pairs with colum 1 with the other not all pairs.
I. e. this matrix
4177 289390 8740 17220
3907 301510 8530 17550
3975 316970 8640 17650
3651 364220
2012 Sep 18
3
ommoting rows
Hi I have an output data Data.csv
this style:
,"V1","V2","V3" 1,"-9552","9552","C" 2,"0","9653","0"
3,"9614","9614","V" 4,"0","9527","0" 5,"-9752","9752","C"
6,"0","9883","0"
2009 Jul 16
4
Save results
I imagine I make a function whose results are a Matrix Z
How cn I save in a txt or excel file the result of apply my function?
something similar to save Z.txt.
Thanks in advance.
[[alternative HTML version deleted]]
2013 Apr 01
3
expression
Hi all,
I´m using
titt<- expression(paste("R con ventanas de 200 ", italic(datos)))
And it works properly on a plot(...,main=titt,..)
But if I want to add an improvement to avoid typing n on the plot so that
n<-200
titt<- expression(paste("R con ventanas de ",n, italic(datos)))
It doesn´t recognize that n is a "variable" and adds "n" letter
2012 Aug 02
6
Polygon shaded area
Hi all,
I have two vectors (columns) called "efinal" and "efinal 2".
I want to plot them on the same plot and "draw" a shaded area beween the
two lines using function polygon
I have tried all but I don ?t understand the polygon area, can you help me
with examples?
plot(efinal,type="l",ylim=range(min(efinal2),
2009 Jul 21
3
writte file doubt
Hi I wrotte this function but when I get the "tmp.xls" file it shows data
in a rare way. I mean not appears a matrix with 2000 rows and 100 columns.
Can anyone help me, guide me?
kim<-function(){
tmp<-randz<-matrix(rnorm(200000, mean=0,sd=0.01 ),2000,100);
dim(tmp)
write(tmp,file="tmp.xls")
Thanks in advance.
On the other hand, everytime I execute a function
2009 Nov 24
1
Scatter plot with margin distributions
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091124/39eccb61/attachment-0001.pl>
2009 Jul 16
3
rnorm
Hi I want to simulate random numbers normal distributed with this size
(2000,10000).
I tried this but my computer exhaust there is a fast way to make it?
randz<-matrix(rnorm(2000000),2000,10000)
[[alternative HTML version deleted]]
2009 Dec 11
2
Data
Hi all,
Imagine I have a matrix and the first colum is a list that repeats the same
names, I want to sum the second column on each unique name on first column.
Imagine this:
Pepe 2
Pepe 3
Pepe 4
Jose 2
Jose 5
Manuel 4
Manuel 2
I want to make a new matrix that calculates and recognizes that there are 3
different names ans sum second column. But a priori I don´t know the list of
the different
2009 Nov 25
1
Plot and area below a line graph
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/654989c6/attachment-0001.pl>
2009 Dec 02
1
polygon graph
Hi all,
I have a matrix dd with dates and data. i WANT to create a grpah with shade
between the line and the zero axis. I?m trying to use polygon but something
doesn? t work
Imagine.
I want to plot
g<-read.table("dd.txt", col.names=c("fecha","DP"))
g$fecha <- as.Date(g$fecha, format="%d/%m/%Y")
t<-g$fecha
st<-length(g$DP)
2010 Jun 13
1
add only selected labels using thigmophobe
hi,
I am trying to label data points within a scatter plot using thigmophobe.
While the data set consists of about 3000 points I only would like to label
a subset of these points.
I read the x and y coordinates in from a txt file and define them as:
MLPM1<-log2(Ratio.M.L.G2.PM)
HLG2<-log2(Ratio.H.L..G2.PM)
the names and a corresponding ID are read in from the same txt file as:
2013 Feb 26
1
How to avoid overlapping labels
Hi Remko,
thanks for your answer. but i do
not really understand how to use the commands.
if i want to use thigmophobe.labels(x,y,) do i need to identify the xy
coordinates for each point first and then manually move every point? and if
i neet to do so how to use the identify() function?
or is there any possibility to automatically place the labels in the best
position?
>MatArab <-
2004 Jun 23
2
Covered Labels
Dear All!
How can I cope with overlapping or covered labels (covered by labels
from other data points) in plots?
Martina Renninger
[[alternative HTML version deleted]]
2009 Dec 04
1
Saving predict
Hi all,,Im using function arima()
I.e
series is my data
model<-arima(series,c(1,0,0))
forecast<-predict(model,80)
I want to create a variable:
b1<-forecast$pred - 1.96*forecast$se
and save in a txt file
but using this:
save(b1, file= "b1.txt")
creates afile butwith this inside:
]{HQ ~|LJIiW*-l)% )m#),
RIiSfdbGur9p94; H"L#Rez
1y3pN8{,I6W!6=
{6l?OMw_5KZ+
=
2009 Dec 04
1
Converting a Matrix in a colum vector
Hi all,
Imagine I have a matrix G
with N rows
and M columns
So L=NxM is the number of different cells in my matrix.
I want to create a column vector F whose size will be F(L,1)
So the fisrt row in F is G(1,1)
Second row in F is G(1,2)
When we arrive to a point M
the element M+1 will be G(2, 1)
Element M+2 will be G(2,2) and so on.
I´m trying but allways error....
Easy Example:
G=
2 3 4
2010 Jan 20
1
Quantmod error
Hi all I have installed quantmod package but when I try to obtain GOOG data
appers this message: Can anyone inform why itappears?
I type getSymbols("GOOG",src="google")
Thanks and Best Regards for all
Error en download.file(paste(google.URL, "q=", Symbols.name, "&startdate=",
:
no fue posible abrir la URL '
2009 Jun 23
2
values in graph points
Hello,
How to add x values in graph points?
Thanks a lot,
Romildo
x <- c(22.44, 20.14, 15.85, 15.97)
plot(x, type="n", axes=FALSE, ann=FALSE, labels=c(22.44, 20.14, 15.85,
15.97))
par(lwd=1)
lines(x)
points(x, pch=5, bg="grey", cex=1.5)
axis(2, las=1)
axis(1, at=1:4, lab=c("none", "50-50", "80-20", "90-10"))
box()