Displaying 20 results from an estimated 8000 matches similar to: "arrows() doesn't like zero-length arrows (PR#727)"
2006 Mar 22
4
Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)
Hi all,
I really appreciate all of you who are behind this great proyect.
Im from Argentina (if you dont notice for my accent eheheh)
Im trying to capture width the func Event.observe() the keys F3 and F11.
Also the combinations for ALT and the arrows keys, and other
combinations like:
CTRL+X (cut)
CTRL+C (copy)
CTRL+V (paste)
Using something like this:
Code:
Event.observe(window, keycode=122,
1998 Jun 06
0
Strange Error on AIX
>>>>> "Janusz" == Janusz Kawczak <jkawczak@fisher.stats.uwo.ca> writes:
[You wrote to "owner-r-help@...." -- that's just me (MM);
why did you not use the mailing list ? (R-devel or R-help)]
Janusz> Hello, I am getting this 'strange' message when running the R
Janusz> program on AIX 4.2.1. I have not had any problems with the
2002 Mar 25
2
Extreme value distributions (Long.)
This may not actually be an R/Splus problem, but it started
off that way .....
===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
Executive summary:
==================
Simulations involving extreme value distributions seem to ``work''
when the underlying distribution is exponential(1) or exponential(2)
== chi-squared_2, but NOT when the underlying distribution is
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
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
2011 Dec 07
2
How to scale arrows to approximately fill a plot region?
In a variety of graphic applications, I plot some data, together with
arrows representing variables
or linear transformations of variables as vectors in the same space, as
in a biplot.
In my applications, the scale of the arrows is arbitrary -- all that
matters is relative length.
I'd like to blow them up or shrink them to fit the available space in
the plot.
The origin is typically at
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
2011 Apr 11
1
plot - kamada.kawai layout without arrows
Hi,
I am plotting a graph with kamada.kawai layout.
But I am getting direction arrows in the graphs.
Please let me know how to avoid this.
g <- watts.strogatz.game(1, 2000, 5, 0.4)
comps <- clusters(g)$membership
colbar <- rainbow(max(comps)+1)
V(g)$color <- colbar[comps+1]
png(filename)
plot(g, layout=layout.kamada.kawai, vertex.size=2, vertex.label=NA)
dev.off()
Please find
2018 Oct 12
1
Scroll bar arrows missing and behaviour change
Leroy Tennison wrote:
> And I thought it was a Kubuntu (Ubuntu with KDE desktop for those who
> aren't familiar) thing! Apparently it's a KDE thing. I haven't
> experienced the scrollbar aspect (or maybe I just haven't done what you
> do) but my arrows are missing too. I'm thinking this is a KDE Blasted
> Ugly Gotcha (BUG). BTW, if you haven't already
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
2002 Dec 04
1
Help: add arrows on a filled.contour figure
Dear All
I would like to use filled.contour to plot something with arrows on it. I did it in this way:
filled.contour(1:nx,1:nz,u,col=gray(rev((0:20/20))))
for (j in zseq ) for (i in xseq) arrows(i, j, i+u[i,j],j+w[i,j],length=angleng,angle=angarrow,code=2, lwd=1,col="black")
The peoblem is that the arrows use the whole device area, including the key on the right hand side of the
2012 Feb 10
4
function arrows.circular not working
I have started using the circular package but it is not recognizing the function arrows.circular. I attempted to use the example provided in the circular manual. Here is the example code using the circular package:
plot(rvonmises(10, circular(0), kappa=1))
arrows.circular(rvonmises(10, circular(0), kappa=1))
arrows.circular(rvonmises(10, circular(0), kappa=1), y=runif(10), col=2)
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,
2004 Jan 16
2
Saving jpg of plot with grid.arrows
I am having problems exporting a plot to a jpg file. I am first setting up
a basic plot, and then opening up a viewport and overlaying grid.arrows
onto the plot - I don't seem able to save this plot with the overlaid
arrows to a file, can anyone offer any advice?
I am using R-1.8.0 on Debian Linux.
Thank you in advance,
Laura
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
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
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
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
2009 Apr 30
3
Curved arrows
I'm trying to draw an arrow with a curved shaft on the graph as a straight
one looks messy on a detailed graph. I've looked in arrows but it doesn't
seem to give an option. larrows doesn't look much more promising. I had a
look in the archive and couldn't find anything. Any thoughts?
Thanks
Paul
--
View this message in context:
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