similar to: arrows or graphics below axes?

Displaying 20 results from an estimated 10000 matches similar to: "arrows or graphics below axes?"

2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Hello Jim, Thanks again. I am getting the two-headed arrow but I cannot seem to get the coordinates right for the arrow to appear beneath the map. These coordinates puts the arrow on the left hand side. Thanks again! Sincerely, Milu On Tue, Apr 12, 2016 at 1:15 PM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Milu, > There is a two-headed arrow on the image you sent, and it
2004 Oct 21
1
Arrow heads at the end of axes
I would like to have arrow heads at the end of my axes, since I am plotting variable where the absolute amount is irrelevant, there is not supposed to be numbers on the axes. An imperfect example: plot(rnorm(10),bty='l',xaxt='n',yaxt='n',ylab='',xlab='',type='l') abline(h=0) Like this but without, the xaxis and with arrrowheads More like this in
2016 Apr 13
0
Adding Two-Headed Arrow in map legend
Hi Milu, My fault here. As I don't have the data to make the map and try out my suggestions I mixed up the x and y coordinates. Try this: par(xpd=TRUE) arrows(-19.75966,53,33.60000,53,code=3) par(xpd=FALSE) Jim On Tue, Apr 12, 2016 at 10:11 PM, Miluji Sb <milujisb at gmail.com> wrote: > Hello Jim, > > Thanks again. I am getting the two-headed arrow but I cannot seem to get
2016 Apr 12
2
Adding Two-Headed Arrow in map legend
Dear Jim, Thanks again! I do want the arrows at the bottom (beneath the map). This is what I am doing: # Draw the map eps_europe <- mapCountryData(n, nameColumnToPlot="eps_score", mapTitle="EPS Score - Europe",colourPalette=colourPalette, catMethod="fixedWidth", missingCountryCol = "white", mapRegion="Europe", addLegend=FALSE) # ISO3 codes on
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
2016 Apr 12
0
Adding Two-Headed Arrow in map legend
Hi Milu, There is a two-headed arrow on the image you sent, and it seems to be where you specified. Did you want it beneath the map, as: par(xpd=TRUE) arrows(-22,54.75,-22,74,code=3) par(xpd=FALSE) Jim On Tue, Apr 12, 2016 at 7:58 PM, Miluji Sb <milujisb at gmail.com> wrote: > Dear Jim, > > Thanks again! I do want the arrows at the bottom (beneath the map). This is > what I am
2016 Apr 11
0
Adding Two-Headed Arrow in map legend
Hi Milu, I just realized that by "the bottom of the map" you may mean "beneath the map", in which case you should use: par(xpd=TRUE) arrows(...) par(xpd=FALSE) Jim On Mon, Apr 11, 2016 at 11:50 PM, Miluji Sb <milujisb at gmail.com> wrote: > Dear David, > > Thank you very much for your replies! I didn't know about par('usr'). > > I get
2009 Dec 08
3
arrow plots
Am doing some vector plots with the arrows() function. Works well. But what I need to do is supply an arrow for scaling for the reader. I need to plot an arrow of some known magnitude somewhere on the page (preferably outside the bounds of the plot, so that it can be seen clearly) with some text underneath it that says, for instance, "10 kg-m/sec". Any ideas? Thanks.
2008 Aug 05
1
Add arrows to a filled.contour margin
Hi, I try to put an arrow to a filled.contour plot. I make this: filled.contour(volcano, color = terrain.colors,key.axes=F) arrows(0.95,0,0.95,1,lwd=2) This work, but the problem is that I find the coordinates at random try, for other graphic with other scale is other fight with coordinates. Anybody know a more easy or more generalized way to make this? Somethink like this
2016 Apr 11
2
Adding Two-Headed Arrow in map legend
Dear David, Thank you very much for your replies! I didn't know about par('usr'). I get different coordinates though: [1] -19.75966 54.75966 33.60000 71.40000 But the arrow is not at the bottom of the map. I will keep playing with this. Thanks again! Sincerely, Milu On Mon, Apr 11, 2016 at 12:00 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > > >
2005 Jun 15
3
how to plot density distribution with a arrow pointer?
Hi all, for example: > X<- rnorm(1000) > X0 <- 0.899 I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value. any functions? Thanks very much.
2009 Jan 19
2
plotting arrows with different colors and varying head size
Dear list, I would like to plot arrows with different colors according to arrow length, and also (if possible) with head size proportional to arrow length. The idea is to make a quiver-like plot of matlab with wind speed data. So far, I´ve been able to use different colors, but I need to find a more efficient way to recode arrow length intervals into colors. On the contrary, I can't define
2010 Dec 18
1
Can I make my colnames bold?
Hello forum! As the subject indicates, I am trying to make a barplot and would like my column names to be in bold. Is this possible in R without having to make my column names in mtext? Any help would be much appreciated. The code I am using is as follows. par(mar=c(3,8,2,2)) par(adj=.5) par(font=2) par(oma=c(3,3,3,3)) par(xpd=TRUE) Blot<-matrix(c(25.2995, 0.7625, 25.6135, 36.5770,
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,
2006 Oct 20
1
arrows and points for error bars
Hello everyone, I have successfully made an error bar graph using the points() command with the arrows() command to maually add on the standard errors. However, one slightly annoying feature of using this method is that the points dont line up exactly with the arrows (if you look carefully the points are never perfectly in the centre of the arrow), even when you move the arrows around in an
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
2009 May 15
3
drawing arrows
Hi, I would like to draw arrows in a classic 2D plot. Which package should I use? is there R base functions that do job? On google, I could not find any useful discussion about this topic, except a link to the function 'grid.arrows' of the grid package. My problem is I would like to draw arrows at the edge of circles drawn by the 'symbols' function. Maybe there is already a
2010 Jan 07
1
adding 3D arrows to 3D plots
Greetings, I would like to add 3D arrows (i.e. arrow-headed vectors linking X1Y1Z1 to X2,Y2,Z2) to a 3D plot; ideally the sort of plot that can be rotated interactively. Is this possible using plot3d, or another 3d plotter in R? While it is easy to draw segments in plot3d (e.g. below), I haven't figured out how to add arrow heads, or to create 3d arrows from scratch. ##two headless
2001 Jul 10
4
accessing a table
Hi, all. I'm sure this is a simple question, but I'm having problems figuring it out myself... I have a table: > currenttable <- table(junk[-1],junk[-n]) > currenttable bar foo junk bar 2 2 0 foo 1 0 0 junk 0 0 1 and I'd like to know the result of the cell currenttable(bar,foo). what is the best way to get that result? thanks!
2000 Sep 06
3
funny arrows
The result of > plot(c(-1,1),c(-1,1),type="n") > arrows(0,0,1,1) > arrows(0,0,0,0) is not what I expected. The first arrow is drawn correctly. The second does not collapse to a point but goes from (0,0) off to (-infinity,infinity). I guess something is divided by zero in the internal function. Chris. =============================================== platform Windows arch