Graphics Functions for CAMdoubleArray

 

Include File:mvagph.h


 CAMgraphicsProcess (base class reference)

Chris Anderson © UCLA 8/18/97


Line (and Point) Plot Commands

For the following commands, A and X are instances of CAMdoubleArray. These arrays must be one-dimensional - typically they will be one dimensional sub-arrays. c is a character constant and s is a plot style constant.

plot(A) Plots the values of A vs. their index. A must be a one dimensional array (or sub-array).
plot(A,c) Plots the values of A vs. their index using point type c. A must be a one dimensional array (or sub-array).
plot(A,c,s) Plots the values of A vs. their index using point type c and plot style s. A must be a one dimensional array (or sub-array).
plot(A,X) Plots the values of A vs. the values of X. A and X must be one dimensional arrays (or sub-arrays).
plot(A,X,c) Plots the values of A vs. the values of X using point type c. A and X must be one dimensional arrays (or sub-arrays).
plot(A,X,c,s) Plots the values of A vs. the values of X using point type c and plot style s. A and X must be one dimensional arrays (or sub-arrays).

 Associated base class member function references:


Contour Plot Commands

For the following commands A is a two dimensional CAMdoubleArray (typically A will either be a two-dimensional sub-array). n_c is of type int, c_inc, c_min, c_max are of type double, and c_values is a one-dimensional CAMdoubleArray.

contour(A) Contour A's values. (Contour levels are automatically chosen.)
contour(A,n_c) Contour A's values with n_c contour levels.
contour(A,c_inc) Contour A's values with increment c_inc.
contour(A, c_min, c_max) Contour A's values in the range [c_min, c_max].
contour(A, n_c, c_min, c_max) Contour A's values in the range [c_min, c_max] with n_c contours.
contour(A, c_inc, c_max, c_max) Contour A's values in the range [c_min, c_max] with increments c_inc.
contour(A, c_values) Contour A's values with the contours defined by the values in c_values.

Associated base class member function references:


Surface Plot Commands

For the following commands A is a two dimensional CAMdoubleArray (typically A will either be a two-dimensional sub-array). X and Y are one-dimensional CAMdoubleArrays.

surface(A) Create a surface plot A's values.
surface(A,X,Y) Create a surface plot of the values of A. Use the values in matrices X and Y for the axis.

Associated base class member function references

Surface Plot Format Control