Hallo all just a small question I did not find an answer in help pages. Is it possible to use identify() after plotting with plot.POSIX to label points and/or to find out some points? Thanks a lot. Best regards Petr Pikal petr.pikal at precheza.cz p.pik at volny.cz
plot POSIX class and identify
4 messages · PIKAL Petr, Uwe Ligges, Brian Ripley
Petr Pikal wrote:
Hallo all just a small question I did not find an answer in help pages. Is it possible to use identify() after plotting with plot.POSIX to
Hmmm. There is not method plot.POSIX, but there are plot.POSIXct and plot.POSIXlt.
label points and/or to find out some points?
identify() works as expected, just use it. You need to convert POSIXlt objects to POSIXct objects before. Uwe Ligges
Thanks a lot. Best regards Petr Pikal petr.pikal at precheza.cz p.pik at volny.cz
On Tue, 20 May 2003, Petr Pikal wrote:
just a small question I did not find an answer in help pages. Is it possible to use identify() after plotting with plot.POSIX to label points and/or to find out some points?
Yes. Try it, it works!
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Thank you
On 20 May 2003 at 12:10, Uwe Ligges wrote:
Petr Pikal wrote:
Hallo all just a small question I did not find an answer in help pages. Is it possible to use identify() after plotting with plot.POSIX to
Hmmm. There is not method plot.POSIX, but there are plot.POSIXct and plot.POSIXlt.
label points and/or to find out some points?
identify() works as expected, just use it. You need to convert POSIXlt objects to POSIXct objects before.
That's it
plot(cas,pokus$tspkkp) identify(cas,pokus$tspkkp)
Error in xy.coords(x, y) : x and y lengths differ
identify(as.POSIXct(cas),pokus$tspkkp)
[1] 1919 5448 Thanks again
Uwe Ligges
Thanks a lot. Best regards Petr Pikal petr.pikal at precheza.cz p.pik at volny.cz
Petr Pikal petr.pikal at precheza.cz p.pik at volny.cz