How to map points to a fixed points position, then draw contours to the mapped points?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to map points to a fixed points position, then draw contours to the mapped points?

R help mailing list-2
Hello,

How to map points to a fixed points position, then draw contours to the mapped points?

A data frame like this:

r <- rep(seq(0,3.8,0.2), 256)

PI257 <- seq(0,360,360/256)
PI256 <- PI257[-257]
PI25631 <- rep(PI256, 20)

El <- rnorm(5120, mean = 42, sd = 4)

xyz <- data.frame(r, PI25631, EI)

How to map y points to the fixed position defined by x and y in a polar system,
using R base plot functions or ggplot2 (aes mapping) to achieve a similar figure like the link:

https://www.clspectrum.com/archive/2009/October/images/CLS_October_A10_Fig04.jpg

Sincerely yours,
        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
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.