similar to: how to plot density distribution with a arrow pointer?

Displaying 20 results from an estimated 8000 matches similar to: "how to plot density distribution with a arrow pointer?"

2005 May 05
3
documenation for arrows() is backwards (PR#7839)
Full_Name: Michael Hoffman Version: 2.1.0 OS: Linux (Fedora Core 3, kernel 2.6.11-1.14_FC3) Submission from: (NULL) (193.62.199.8) help(arrows) says: """ arrows(x0, y0, x1, y1, length = 0.25, angle = 30, code = 2, col = par("fg"), lty = NULL, lwd = par("lwd"), xpd = NULL) ... If 'code=2' an arrowhead is drawn at
2002 Mar 12
2
How to get special (Hershey) font symbols into plot axis labels?
Dear R experts- I'm running R 1.2.3 (2001-04-26) on Linux. I need to get special symbols, such as a circle with a dot in it as used to indicate Solar units in astronomy, into my plot axis labels. How can I do this? Using the R documentation on the Hershey font sets, one can plot a Solar symbol within the world coordinates of a plot like this: >plot(1:10,1:10)
2013 Jul 01
1
Male and female signs as subscript in plot
Hello, I'd like to add labels to my plot that include a male or female symbol as subscript. I'm working in Windows Vista and R 3.0.0. I am able to add the male symbol to the plot as regular text (NOT as subscript), e.g. with: mtext("Male\u2642") This displays the word "Male" followed by the male symbol on the plot. But "\u2642" does not work when I try to
2008 Sep 01
2
Interpolation Problems
Dear all, I'm trying to interpolate a dataset to give it twice as many values (I'm giving the dataset a finer resolution by interpolating from 1 degree to 0.5 degrees) to match that of a corresponding dataset. I have the data in both a data frame format (longitude column header values along the top with latitude row header values down the side) or column format (in the format latitude,
2005 Jul 26
1
problem with Hershey fonts
This was reported to me by a colleague in China, so I may not be reproducing exactly what they are seeing (which I suspect is rw2011), but this is what I see: > version _ platform i386--netbsdelf arch i386 os netbsdelf system i386, netbsdelf status major 2 minor 1.1 year 2005 month 06 day 20 language R > help(Hershey) : : If the 'vfont' argument
2012 Apr 25
3
Intercept between two lines
Dear List, I know this is not the first post on this topic, but I need basic help I guess. Assuming the simple case of two lines with one intercept, how can I make R calculate this intercept, NOT using locator(). par (xaxs="i", yaxs="i") plot( 1, bty="n" ,xlim=c(0,300) , ylim=c(0,300) , xlab="X", ylab="Y") curve(100-0.5*x, -50,250, add=T,
2010 Dec 19
1
Hershey fonts and substitute()
Hello R users, I am new to R, so this may be a very stupid question. I need to subscript the dotted circle (Hershey escape sequence "\\SO") to a string. I tried using text(.5,.5,substitute( R[disk] == 5 R["\\SO"] ) ) but it turns out to be a syntax error. Do you have any suggestion? Thanks Gaetano
2009 Oct 02
1
suggest enhancement to segments and arrows to facilitate horizontal and vertical segments
I suggest a simple enhancement to segments() and arrows() to facilitate drawing horizontal and vertical segments -- set default values for the second x and y arguments equal to the first set. This is handy, especially when the expressions for coordinates are long. Compare: Segments: < function (x0, y0, x1 = x0, y1 = y0, col = par("fg"), lty = par("lty"), --- > function
2017 Jun 19
1
arrows: no vectors for "code" and "angle" parameters
I was teaching new R users to make some fun graphs. I had some arrows examples worked up we came across a problem. The arrows function ignores 2nd and following elements of vectors given as code an angle. Would you please consider 1) allowing vectors for code and angle, or 2) returning an error or warning when user mistakenly supplies a vector for those parameters? When code like this is
2001 Nov 19
1
Symbol escape sequence in xlab
I would like to label an x-axis with the nabla symbol. I have tried this with the following symbol escape sequence plot(1:5, 1:5, xlab=""); title(xlab="\\dl", vfont=c("serif symbol", "plain")) but I got the warning message parameter "vfont" couldn't be set in high-level plot() function Is it possible to use a symbol escape
2001 Aug 02
1
arrows()/log scale/clipping (?) (PR#1039)
arrows() seems to hang when either x or y scale of the plot is logarithmic and the arrows requested go beyond the plot (by more than a certain amount). I didn't go into C code to find it, but here's a function that exercises the bug a bit ... arrow.bug2 <- function(y0=1,y1=10,log="y") { plot(c(0.1,1),c(1,10),log=log) arrows(x0=0.5, y0=y0, x1=0.5,
2008 Feb 09
2
shortest distance between two point pattern
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080208/bf7b4696/attachment.pl
2010 Mar 09
3
Shade area under curve
I want to shade the area under the curve of the standard normal density. Specifically color to the left of -2 and on. How might i go about doing this? Thanks -- View this message in context: http://n4.nabble.com/Shade-area-under-curve-tp1586439p1586439.html Sent from the R help mailing list archive at Nabble.com.
2009 Jun 03
1
Would like to add this to example for plotmath. Can you help?
Greetings: I would like comments on this example and after fixing it up, I need help from someone who has access to insert this in R's help page for plotmath. I uploaded a drawing http://pj.freefaculty.org/R/Normal-2009.pdf that is created by the following code http://pj.freefaculty.org/R/Normal1_2009_plotmathExample.R This will be a good addition to the plotmath help page/example.
2004 Sep 16
4
FW: How do I insert a newline in my title in a plot?
yes I have tries, and nothing. It just shows the strings with the slashn, just like i typed it. -----Original Message----- From: Rashid Nassar [mailto:rnassar at duke.edu] Sent: ÐÝì?ôç, 16 Óå?ôåìâñßïõ 2004 15:44 To: Christos Rodopoulos Subject: Re: [R] How do I insert a newline in my title in a plot? Have you not tried what you have already suggested: title("this is a title\nIn 2
2004 Nov 17
1
How to plot this
Hi there, I produced a plot using the following codes: y<-rnorm(1000, 2, 0) x0<-c(0, 0) y0<-c(0, 0) y1<-c(0, 1) x1<-c(0, 4) plot(density(y), ylab="Abundance of species", xlab="Environmental gradient", main=" ", xlim=c(0, 4), ylim=c(0, 1), lty=2, col=4, xaxt="n", yaxt="n", frame.plot=F) lines(x0, y1) # add an axis
2006 Jul 07
4
How to change the type of segments ends?
Hi, I am trying to plot odds ratios and the corresponding confidence intervals in horizontal segments. It would be ideal if the confidence interval segment can be drawn with little vertical bars at both ends. I have tried very hard to change the type of ends by using 'lend' arguments, but cannot make it. I even tried 'arrows()', but still failed. Following is the code I use:
2009 Jun 19
1
Drawing dendrogram
Dear all, I would like to draw a dendrogram and mark some parts/branches (by using "segments") including their labels. If I draw it without specifying the length of x axix, I am able to do that (as in My dendrogram 1 of the following codes). However, if I want to specify the x axix, I am not able to draw marking line (by using "segments") including labels (as in My dendrogram
2004 Feb 09
10
PhD student reading list, suggestions wanted
I've got a PhD student starting this year. She'll be working on data mining. She has asked for a reading list while she's still in her home country, which is a really good sign. Her cosupervisor and I don't (think we) have any problem with choosing things that are specifically about data mining, but there are some statistical ideas (sampling, exploratory-vs-confirmatory,
2007 Apr 28
3
Perpendicular symbol in plotmath?
Hey, Does anyone know of an equivalent to the LaTeX \perp (perpendicular) symbol for adding to R plots? Parallel is easy enough ("||"), but I haven't been able to find a way of adding perpendicular. The plotmath documentation doesn't mention how to do it, so I'm inclined to think that it doesn't exist - but surely there must be some way of achieving the desired result,