plotxs: Plot cross-sections (profiles) through a wavefront map.

View source: R/zernike_misc.r

plotxsR Documentation

Plot cross-sections (profiles) through a wavefront map.

Description

Plots an arbitrary number of cross-sections through a wavefront map, with one highlighted.

Usage

plotxs(wf, cp, theta0 = 0, ylim = NULL, N = 4, n = 101,
	col0 = "black", col = "gray", lty = 2)

Arguments

wf

A matrix of wavefront values.

cp

List of pupil parameters as returned by pupil.pars.

theta0

Angle of highlighted profile, in degrees.

ylim

range of heights to plot.

N

Number of cross sections.

n

Number of points for each cross section.

col0

Highlight color.

col

Cross section color.

lty

Line type for plots.

Details

The cross sections are equally spaced in angle from 0 to pi*(N-1)/N. Any angle can be specified for the highlighted profile at theta0.

Value

none

Author(s)

M.L. Peck mpeck1@ix.netcom.com

See Also

plot.pupil is the main wavefront plotting routine.


mlpeck/zernike documentation built on April 19, 2024, 3:16 p.m.