similar to: add only selected labels using thigmophobe

Displaying 20 results from an estimated 400 matches similar to: "add only selected labels using 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 a couple of as.numeric() calls in thigmophobe itself, or (simpler but slightly less
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 <-
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
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 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
2001 Mar 22
1
two easy questions...
Hi all. 1) If I have a dataframe with variable names as follow: PC1 PC2 ... PCn and I want to pass only some of them to a function, e.g. glm(resp~from PC1 to PC10, PC15, etc.,...) is there a faster way than simply writing each variable name in the formula? 2) Again, I have a dataframe, say ali.df, with tha following variables: ali1, ali2, ...ali78 I want to sum, for example, ali1+al2+ali7+f rom
2005 Jan 07
3
lognorm
Hi! I 've a problem to have a lognorm distribution with mean=1 and var (or sigma)=1. rlnorm(1000,0,0) rlnorm(1000,1,1) rlnorm(1000,0,1) .... ? Can you help me?
2012 Sep 01
2
help on setting boundaries for generating random numbers
Dear All,   is there a way to set low and high limits to a simulation with rlnorm()?   as an example:  a <-rlnorm(500,0.7,1)     I get the summary of   Min. 1st Qu. Median Mean 3rd Qu. Max. 0.1175 1.0590 2.1270 3.4870 4.0260 45.3800 I would like to set limits so that the simulated values minimum would be greater then 0.5 and maximum of less than 30. If during simulation a
2004 May 01
2
Generating Lognormal Random variables (PR#6843)
Full_Name: Anthony Gichangi Version: 1.90 OS: Windows XP Pro Submission from: (NULL) (130.225.131.206) The function rlnorm generates negative values for lognormal distribution. x- rlnorm(1000, meanlog = 0.6931472, sdlog = 1) Regards Anthony