Displaying 20 results from an estimated 3000 matches similar to: "label points on a graph"
2008 Jun 07
1
error message with dat
Hello everyone,
I have two problems which I am unable to solve :
1.I am trying to add the row labels (g1-g2000) to the very left of a data table. The data
table is 2000 rows by 62 columns.I have used the following code.
read.table(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt",header=T,row.names=1)
rowname(dat) <- paste("g", c(1:nrow(dat)),
2008 Jun 08
1
eliminating and relabeling the first column
Hello everyone,
I have a data frame in which I am wanting to eliminate the row labels and then relabel the rows with
g1-g2000.I have used the following code:
dat<-read.table(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt",header=T,row.names=1)
file.show(file="C:\\Documents and Settings\\Owner\\My Documents\\colon cancer1.txt")
I thought that this
2008 Jun 02
2
more columns that column names
Hello to everyone,
I have gotten my file to print to screen but when I use read.table I am getting an error message that
says there are" more columns than column names."This is a file that was not created by me so I am
not sure how to investigate and solve this problem.I looked in the help file and it suggested an auxilliary function called count.fieldsThe code that was used was:
2011 Aug 25
2
Adding a normal density curve over the empirical curve
Hi
I have created the following plot over the empirical returns.. What I now
want to do is to overlay a curve/line with the normal density as a
comparison of the two. Does anyone know how to do this?
(NB the last two lines are the problem, and are wrong, I know).
Thank you in advance!
Rikke
http://r.789695.n4.nabble.com/file/n3768783/S%26P_500_spot_and_return_2010.csv
2005 Oct 14
1
mount_smbfs: unable to open connection: syserr = No such file or directory
Alright, so Here is the relevant info:
FreeBSD insomniac.normal1.net 5.4-STABLE FreeBSD 5.4-STABLE #2: Sun Sep 25 14:30:27 PDT 2005 root@insomniac.normal1.net:/usr/obj/usr/src/sys/INSOMNIAC i386
insomniac# pkg_info | grep samba
samba-3.0.20,1 A free SMB and CIFS client and server for UNIX
insomniac#
Alright, So I have four samba clients (2 'nix, 1 mac and 1 windows). The windows
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()
2012 Apr 08
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 8, 2012, at 4:20 AM, Bill Wendling wrote:
> On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote:
>
>> This all seems to work just fine. I can throw a C++ exception either in a C++ object's constructor or in an ordinary member function and the stack unwinds correctly (the object's destructors are called) and the exception is propagated back up the C++ code that called the
2009 Mar 02
2
Fwd: Converting R to Sweave (Rnw)
Hi
I am thinking about using Sweave more frequently, especially for
documenting code. But the syntax is slightly awkward for me (<<name>>=
... @), and I was thinking if there would be a way of importing the
type of code extracted from an Rnw file back into an Rnw file? The
advantage would be that the code could run in R without tangling.
Obviously, sweave options could not be
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]]
2012 Apr 08
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote:
> On Mar 23, 2012, at 4:46 PM, Bill Wendling wrote:
[...]
> This all seems to work just fine. I can throw a C++ exception either in a C++ object's constructor or in an ordinary member function and the stack unwinds correctly (the object's destructors are called) and the exception is propagated back up the C++ code that called the
2010 Jan 26
3
Graph color
Hi all I want to apply different colors on a simple plot:
If I type par(br="gray") before a plot it puts all the image in gray but
(imagine I run a simple plot) want to let the centrall box (where the dots
are plotted) in white or image in lightblue.
Can anyone guide me to apply this second step (make the box where the series
are plotted in different colours).
Thanks in advance.
2010 Aug 11
1
Adding points sequentially to multiple graphs in one window (device)
Dear R-help list:
I have want seems to be a simple task, but can't find a solution.
I tried querying the archives, but did not succeed.
My goal is to set up two (or more) graphs in one graph window, and
then during execution of a sequential algorithm add points
sequentially to these graphs. The graphs have different scales
/ coordinates. I use the par(mfg...) command to
switch between
2009 Apr 04
2
help with formula and data= argument
Sorry for posting this twice, but I still have not solved this problem
and am hoping for some assistance.
I am attempting to write a function that is flexible enough to respond
to the user providing a formula (with a data= argument) or not (similar
to plot(x,y) versus plot(y~x,data=data)). I have found a method to work
with this in a simple case but am having trouble determining how to
2009 Jul 24
2
Stting non-overlaping text positions
Dear List
I am having problems to set text labels in a scatter plot. At some areas dots
are close and labels overlap and texts cannot be read. I have too many dots
to adjust this manually. Is there any function that will calculate the label
offsets to avoid this overlapping problem?
Thanks
Ana
--
Ana Conesa
Bioinformatics and Genomics Department
Centro de Investigaciones Principe Felipe
2012 Nov 24
3
How to Label Cases in Scatterplots?
Hi everyone,
i?m trying to graphically display distributions with r and i?m working with
makrodata from the WVS.
the command i?m using is
> plot (Makrodata$v11, Makrodata$v12, xlab="Democracy Score Economist",
> ylab= share religious people")
i?m having an additional variable that identifies respectively labels the
2007 Oct 25
2
Changing steps on a graphic axes
Hi,
I would like to tell R what increments to put the tick marks on an
axes, e.g. xlim=seq(-5,5,1).
I know that will not work. xlim will only except the beginning and
end of the range for the axes.
Thanks,
Keith jones
2012 Apr 09
5
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 8, 2012, at 8:47 AM, Paul J. Lucas wrote:
> On Apr 8, 2012, at 4:20 AM, Bill Wendling wrote:
>
>> On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote:
>>
>>> This all seems to work just fine. I can throw a C++ exception either in a C++ object's constructor or in an ordinary member function and the stack unwinds correctly (the object's destructors are
2007 Jan 12
2
image() and nonsquare matrices
How do I draw non-square matrices with image() and get the axes right?
Try 1:
a <- matrix(rnorm(100),20,5)
image(1:20,1:5,a,asp=1,xlab="label here")
# No good because the axes don't touch the image
Try 2:
image(1:20,1:5,a,asp=1,axes=F,xlab="label here")
axis(side=1,pos=0)
# No good because the x axis label is floating far from the x axis.
Try 3: