Description Usage Arguments Value Examples
View source: R/egg.projection.R
Plot the equirectangular projection of the egg surface
1 | egg.projection(pixels, ...)
|
pixels |
an object of class |
... |
further parameters to be passed to |
None
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Determine egg shape and plot
egg.image(egg)
fit = egg.fit()
egg.plot(fit, lwd = 3, col = "red")
# Extract the coordinates of all pixels and plot the projection
px = egg.pixels(egg, fit)
egg.projection(px, pch = ".", pty = "s")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.