Displaying 20 results from an estimated 10000 matches similar to: "arrows()/log scale/clipping (?) (PR#1039)"
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
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
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
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
2008 Aug 07
2
panel.arrows problem in custom panel function
Dear List,
I am writing a custom panel function and xyplot method to plot the
results of a procrustes analysis from the vegan package.
I am having trouble getting the call to panel.arrows to work as I wish
when conditioning. The attached file contains the function definitions
for the xyplot method and the custom panel and prepanel functions I am
using. This example, using data and functions from
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 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.
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 Sep 07
2
biplot
I have started using biplot() (with R1.3.0 on Windows) and have become very
frustrated. As far as I can see, I follow the directions but either it
doesn't do what I want it to do, it gives fairly arcane error messages or
both. All I want to do is plot two separate data sets to see how different
they are from each other with respect to two metrics that are represented by
the two axes.
My
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.
2010 Jul 27
3
Add an arrow to a plot
Hi I want to plot an x,y plot something like an scatter plot.
I always have the same doubt, were is the last point of my file?
Imagine it is a time series so I want the last point to indicate with an
arrow (but athomatically if posible).
Someone knows if it is posible?
Could it be posible to add additional arrows (with a small square with
text?)
I hope you can comprehead me?
I suppose you
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
Hello dear members of R-help and R-core mailing list,
I am not sure if this request is a "ticket" that should be filled somewhere
outside the mailing list. If so, I apologize for not doing and would like
to know where I should have filled it.
And to the subject matter:
I would like to use a command like this:
plot(c(1,8), 1:2, type="n")
polygon(1:7, c(2,1,2,NA,2,1,2),
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
Hello dear members of R-help and R-core mailing list,
I am not sure if this request is a "ticket" that should be filled somewhere
outside the mailing list. If so, I apologize for not doing and would like
to know where I should have filled it.
And to the subject matter:
I would like to use a command like this:
plot(c(1,8), 1:2, type="n")
polygon(1:7, c(2,1,2,NA,2,1,2),
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
2008 Sep 23
1
How to draw arrows or segment lines in 3 dimensional graph
Hi
I have a dataset which is like this:
ID X1 Y1 Z1 X2 Y2 Z2
1 32 127 85 31.7 121 85
2 37.9 153 88 34.6 137 90
3 36.8 134 88 36.1 155 97
4 31.4 136 87 29 113 70
I would like draw the arrow or segment line for each ID from (x1, y1, z1) to
(x2, y2, z2)
Is there a way to do this kind of 3-D graph.
Thank you
--
View this message in context:
2014 Sep 08
3
problema con los cambios de marcas temporales en el eje X
Muchísimas gracias Carlos, de verdad que te agradezco la ayuda, pero no es lo que voy buscando. Quiero colocar en el eje de abscisas la secuencia temporal de los meses, es decir, agosto septiembre, octubre, etc? pero no las fechas de las toma de datos, sino que aparezca la marca de un mes, y la siguiente marca sea la del siguiente mes, etc?, y además que las muestras estén separadas de acuerdo con
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
2014 Sep 08
2
problema con los cambios de marcas temporales en el eje X
Muchas gracias Carlos, previo a mi correo, entre las pruebas que hice estaba una parecida a la que apuntas de la siguiente manera:
attach (Libro1)
plot (xbar~as.Date(fechas,"%d/%m/%y"), ylim=c(400,660), xaxt="n", type="b", pch=19,cex=1)
xlabels<-strptime(fecha,format="%d/%m/%Y")
axis.Date (1,at=xlabels,format="%b-%y")
2008 Apr 16
1
segments() with zero-length arguments (PR#11192)
Uwe Ligges suggested I post this on R-bugs as a wishlist item with a
proposed patch. R considers zero-length arguments to segments() to be
an error. I would like R to allow this and to return without an
error. It occurs naturally in settings like
valid <- c(FALSE, FALSE, FALSE)
segments(x0[valid], y0[valid], x1[valid], y1[valid])
For what it may be worth, S-Plus does not consider