egg.projection {egg}R Documentation

Plot egg projection

Description

Plot the equirectangular projection of the egg surface

Usage

egg.projection(pixels, ...)

Arguments

pixels

an object of class egg.pixels containing the spherical coordinates and colour of each image pixel

...

further parameters to be passed to plot

Value

None

Examples

## 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)

[Package egg version 0.1.0 Index]