Dear List,
Following the link below (
http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=plotrix:clock24.plot) I got an
interesting polar plots which displayed my data and the time of observation.
Thank you very much for providing such details.

However, I have two set of data which I wish to display in the same polar
plot. I tried using points to add the second data but could not succeed.

That is, after the running the first code:

clock24.plot(a,b,main="Test Clock24 (lines)",show.grid=FALSE,
  line.col="green",lwd=3)
 if(dev.interactive()) par(ask=TRUE)
 # now do a 'daylight' plot
 clock24.plot(a,b,
  main="Test Clock24 daytime (symbols)",
  point.col="blue",rp.type="s",lwd=3)
 # reset the margins
par(mar=c(5,4,4,2))

I tried to add the second using:
 points(aa,bb,col="blue")
Error in xy.coords(x, y) :
  (list) object cannot be coerced to type 'double'
> points(add = TRUE,a,b,col="blue")
Error in xy.coords(x, y) :
  (list) object cannot be coerced to type 'double'

Any further help will be much appreciated.

Best regards
Ogbos

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to