search for: thigmophobe

Displaying 17 results from an estimated 17 matches for "thigmophobe".

2009 Feb 05
0
plotrix::thigmophobe could usefully coerce to numeric...
thigmophobe.labels() fails with error when supplied with an array resulting from tapply (example below). The error originates in thigmophobe() I know the help page says 'numeric vector' but it would be kind of nice if it worked with numeric things of class array too. I think it would need no more than...
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 s...
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 <- as.matrix(ende[2:12]) &g...
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 Apr 04
2
help with formula and data= argument
...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 "find" a variable from within the data= argument that is not part of the formula. The following code illustrates (I know that plotrix::thigmophobe.labels() does what this function does) my problem ... myplot <- function(x,y=NULL,data=NULL,label=NULL) { if (class(x)=="formula") { mf <- model.frame(x,data=data) x <- mf[,2] y <- mf[,1] } if (is.null(y)) stop("Y-axis variable is missing&qu...
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()
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
2008 Jun 08
1
label points on a graph
Hello everyone, I have a plot and I am wanting to label points as 1 through 20 I have the following code for the plot: 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")
2009 May 20
2
arrangement of crowded labels
Dear R users I'm looking for algorithms that assist in spreading out crowded labels, e.g. labels of points in a scatter plot, in order to obtain a nicer visual appearance and better legibility. I'm probably just stuck because I didn't find the right key words for a successful search on the R websites or in the mailing list archives. Any hints are appreciated. Thomas Zumbrunn
2012 Jun 29
3
how to add the sample number in the hist figure
hi,R-users: Now I plot some data with the name(aveobsdata) in column , How can I add the some number(e,g. the sample number) in each of the column? plot(aveobsdata,type='h',lwd=line_width,col=line_col,main=titleinfo,xlab=xxlab,ylab=yylab,xaxt = "n") axis(1, at = 1:nums, label = name) --
2008 Feb 25
3
Avoiding overplotting of text.
Hi all, I am plotting some data, and use text() to get variable names next to points on the graph. What is the best way to make sure that these text labels are readable and not overlapping when two datapoints are close? I've tried using jitter(), but the effect is random and doesn't always give a good result. Any suggestions would be most appreciated. Best regards, Gustaf Example:
2007 Dec 03
3
overlapping labels
Good evening, I am trying to add labels to the point of a simple plot, using the text() function; the problem is that sometimes, if two points are too close to each other, labels overlap and are no longer readable. I was wondering whether there are options that I can use to prevent this overlapping (by, for example, placing labels alternatively above and below the plotted curve), or whether I
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.
2007 Feb 16
2
R implementations of scatterplot/map labeling algorithims?
Dear R community In a current paper, I'm (briefly) considering the topic of producing scatterplots or maps with point labels positioned in such a way as to minimize label overlap and occlusion. This is a topic with a large, but scattered literature. In CS, it is considered NP-hard, but there are a variety of approximate solutions. The most complete bibliography I've found is the
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
2010 Nov 15
2
Need help with pointLabels()
Hello R-list, I am plotting a weighted linear regression in R. The points on my chart are also scaled to sample size, so some points are large, some are small. I have figured out everything I need using the plot() function: how to plot the points, scale them by sample size, weight the linear regression by sample size, plot that line, and plot the labels for the points. However, although the
2007 Aug 31
2
Automatic anchors for text boxes
Hi All, I'm struggling to add text automatically to plots. I have a series of scatterplots that I have stored in a script because the underlying data changes often and the plots need to be regenerated. I use the scatterplot function (defined in Rcmd, I believe). When one of the variables is a factor, a boxplot is drawn over the scatter of the other variable. In the case where x is a