Graphics Functions for CAMdoubleMatrix

 

Include File:mvagph.h


 CAMgraphicsProcess (base class reference) 

Chris Anderson © UCLA 8/18/97


Line (and Point) Plot Commands

M and X are instances of CAMdoubleMatrix. These matrices must be either row or column matrices - typically they will be sub-matrices with either one row or column. c is a character constant and s is a plot style constant.

plot(M) Plots the values of M vs. their index. M must be a row or column matrix.
plot(M,c) Plots the values of M vs. their index using point type c
plot(M,c,s) Plots the values of M vs. their index using point type c and plot style s.
plot(M,X) Plots the values of M vs. the values of X. M and X must be row or column matrices for this call to be valid.
plot(M,X,c) Plots the values of M vs. the values of X using point type c. M and X must be row or column matrices for this call to be valid.
plot(M,X,c,s) Plots the values of M vs. the values of X using point type c and plot style s. M and X must be row or column matrices for this call to be valid

 Associated base class member function references:


Contour Plot Commands

M is a CAMdoubleMatrix, n_c is of type int, c_inc, c_min, c_max are of type double, and c_values is CAMdoubleMatrix (it must be a matrix with either one row or one column).

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

 Associated base class member function references:


Surface Plot Commands

M, X and Y are CAMdoubleMatrices. X and Y must be matrices with either one row or one column.

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

 Associated base class member function references

Surface Plot Format Control