Displaying 20 results from an estimated 1000 matches similar to: "window (x,y) co-ordinates of datapoints"
2012 May 03
1
Creating a point pattern with cartesian co-ordinates
I have the following data from an image analysis program, in which the x and
y co-ordinates are locations of the centroids of shapes on a 2 dimensional
plot. The Y co-ordinates were positive, but I changed them to negative as
the resulting scatterplot was upside down (the image analysis program reads
from the top of the image to the bottom, so it seems) I now need these as
point pattern data, as I
2008 May 06
3
Spatial join between two datasets using x and y co-ordinates
Hi R users
I am trying to create a spatial join between two datasets.
The first data set is large and contains descriptive data including x
and y co-ordinates.
The second dataset is small and has been selected spatially. The only
data contained within the second dataset is the x and y coordinates only
i.e. no descriptive data.
The aim of a join made between the two datasets is to select
2008 Mar 12
4
Distances between two datasets of x and y co-ordinates
Hi all
I am trying to determine the distances between two datasets of x and y
points. The number of points in dataset One is very small i.e. perhaps
5-10. The number of points in dataset Two is likely to be very large
i.e. 20,000-30,000. My initial approach was to append the first dataset
to the second and then carry out the calculation:
dists <- as.matrix(dist(gis data from 2 * datasets))
2003 Jun 27
2
Returning contour co-ordinates
Dear R-helpers,
I'd like to be able to post-process contours coming from contour(). Does
anyone have a version of contour() (or something similar) which will return
the contour coordinates?
In searching the archives I've come across a message in Nov 01 which had
this on a wish-list, but I can find no later reference.
With thanks,
John Field
Adelaide, South Australia
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R?
Also, is it possible to get notice taken of some
equivalent of \n in R when using text()?
For what it is worth I am using RW-0.64.1.
John Maindonald email : john.maindonald at anu.edu.au
Statistical Consulting Unit, phone : (6249)3998
c/o CMA, SMS, fax : (6249)5549
John Dedman Mathematical
2024 Sep 17
1
Getting individual co-ordinate points in k medoids cluster
Hello I am using k medoids in R to generate sets of clusters for datasets
through time. I can plot the individual clusters OK but what I cannot find
is a way of pulling out the co-ordinates of the individual points in the
cluster diagrams - none of the kmed$... info sets seems to be this.
Beneath is an example of a k medoid prog using the built in US arrests
dataset - this is not the data I am
2002 May 08
3
Inputting Co-ordinates
Hello
I am trying to input some co-ordinate sets into R of the form x,y by using
lists. The command I am using is:
p1 <- list(x=c(3445,563,646), y=c(234,567,456))
However the actual co-ordinate sets that I am trying to input have 305
points each and I think that the program will not accept a command that is
as long as necessary. Is this so? If this is the case can you tell me how
to read
2011 Dec 16
2
Event handling in R
Dear R-helpers,
I've just started playing with getGraphicsEvent() in R, and was wondering if there is a simple way to stop this function waiting for input after a pre-defined time, instead of relying either on a non-NULL value from one of the event handlers or for a user-interrupt for it to halt (as per the R manual).
The only way that I've thought of to make this work is using
2016 Jun 07
2
getGraphicsEvent on X11 and event queuing
Hi R-Devel,
I've been working on an oscilloscope project using an Arduino
microcontroller board. I found that it's quite easy to get realtime
updates, e.g. 30+ frames per second, if I read data from the board in
a little Rcpp library. I have to use dev.hold() and dev.flush() to
keep the plot from flickering, which restricts me to the "cairo" X11
device.
I'd like to be able
2007 Jun 02
4
Datapoints underneath datapoints Problem
Hi there.
I have the following graph:
http://www.nabble.com/file/p10928148/map.jpg
However, some datapoints occur at the same place as other datapoints and are
so layered on top of each other. I would like to know if there is any
possible way in which I could view those datapoints that are layered on top
of each other ...maybe by rotating using latitude to show the datapoints
underneath (but
2009 Sep 10
1
Issue displaying DATES on a plot with two ordinates
Dear all,
I am having an issue with displaying the dates on a plot with two
ordinates (i.e. two differently scaled y-axes). Instead of dates
appearing on the x-axis I am instead seeing a string of numbers
(14460, 14465, 14470 and 14475).
example R code:
library(plotrix)
x.Left <- as.Date(c('2009-08-04', '2009-08-08', '2009-08-11',
'2009-08-15',
2016 Jun 09
3
getGraphicsEvent on X11 and event queuing
Hi Frederik,
>>>>> <frederik at ofb.net>
>>>>> on Tue, 7 Jun 2016 15:20:05 -0700 writes:
> ... I just realized that setGraphicsEventHandlers or
> getGraphicsEvent could have an 'onIdle' callback, to be
> called somewhere in the polling loop of gevents.c:163 - I
> think this would solve my problem #2 in a minimally
2016 Sep 17
2
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
Hey all.
As in general it's a bad idea to allow an event handler to generate an
event, and as comments in the code seem to suggest this isn't the
intention either, I was wondering about recursion in getGraphicsEvent().
In main/gevents.c, both doMouseEvent() and doKeybd() have the following
line;
dd->gettingEvent = FALSE; /* avoid recursive calls */
And they reset it to TRUE
2016 Nov 13
4
getGraphicsEvent() alternative for cairo graphics device?
Hi
The current status is that I am keen for people to contribute some
testing code (see https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16951)
There were also some getGraphicsEvent() changes/fixes suggested by
Richard Bodewits (cc'ed), for which I am also seeking test code.
Paul
On 13/11/16 09:00, frederik at ofb.net wrote:
> Hi Paul,
>
> Just checking in to see what the
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Great. Thanks!
Paul
On 14/11/16 13:41, frederik at ofb.net wrote:
> Hi Paul,
>
> Thank you, for some reason I didn't seem to get an email notification
> for your bugzilla comment!
>
> I will try to send you something shortly.
>
> Frederick
>
> On Mon, Nov 14, 2016 at 08:55:20AM +1300, Paul Murrell wrote:
>> Hi
>>
>> The current status is that
2016 Sep 21
1
Handlers in setGraphicsEventHandlers() can recursively call getGraphicsEvent(). Intended behavior?
doKeybd() gets called in CHelpKeyIn() and NHelpKeyIn() in
library/grDevices/src/devWindows.c, where the call is encapsulated in an
'if (dd->gettingEvent)' block. So the only times this code ever calls
doKeybd() is when gettingEvent is in fact set.
Further, it's called in two locations in X11_eventHelper(), in
modules/X11/devX11.c, where the state of gettingEvent seems to be moot
2016 Jul 25
2
getGraphicsEvent() alternative for cairo graphics device?
Hi all,
I'm writing an interactive plotting function for viewing fMRI
datasets. Currently, I get keypresses using
grDevices::getGraphicsEvent().
Unfortunately getGraphicsEvent() only supports the X11(type="Xlib")
graphics device on Unix systems. The Xlib device doesn't support
buffering (i.e. dev.hold() and dev.flush()), so redrawing the plots
causes lots of flickering.
Is
2008 Apr 13
1
getGraphicsEvent plotting two graph
Hi the list,
I need to use getGraphicsEvent to plot two graph. On the following toy
example:
- the function b is ploting two graph depending on a parameter
- the function a is calling b according to some user answers. It is
suppose to call b until the user press Return, but it does not.
b <- function(x){
dev.off(2);dev.off(3)
windows();windows(3,3,xpos=0)
dev.set(2);plot(1:x)
2016 Jul 25
2
getGraphicsEvent() alternative for cairo graphics device?
Hi
Taking a look at those patches is now on my todo list, so I may be in
touch with both of you at some point to request some testing.
Paul
On 26/07/16 07:17, frederik at ofb.net wrote:
> Dear Daniel Greenidge,
>
> To enable getGraphicsEvent on Cairo, you have two patches to choose
> from:
>
> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=14364
>
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Thanks Frederick.
Mark, if you have any examples to share, they would also be gratefully
received.
Paul
On 14/11/16 14:53, frederik at ofb.net wrote:
> Hi Paul,
>
> OK I tried not to make the examples too fancy.
>
> Please let me know what you think. They should probably be amended to
> support the Windows platform, but I think that task would be much
> easier for someone