Samples : gpsmp3.cpp, gpsmp4.cpp
Contour Plot Commands
contour(z,m,n) |
Contours z's values. (Contour levels are chosen automatically.) |
|
Contours z's values with n_c contour levels. |
|
Contours z's values with increment c_inc. |
|
Contours z's values in the range [c_min, c_max]. |
|
Contours z's values in the range [c_min, c_max] with n_c contours. |
|
Contours z's values in the range [c_min, c_max] with increment c_inc. |
|
Contours z's values with contours defined by the values in c_values. |
|
Re-create contour. Often called after resetting contour levels or increment. |
| z is a 2 dimensional C++ double array of size m by n, n_c is of type int, c_inc, c_min, c_max are of type double, and c_values is C++ double array of size nc. | |
setContourLevel(n_c) |
Set the number of contours to n_c |
setContourLevel(c_inc) |
Set the contour increment to be c_inc. |
setContourLevel(c_min, c_max) |
Set the contour levels to be chosen from the range [c_min, c_max] |
setContourLevel(n_c, c_min, c_max) |
Set the contours to n_c values in the range [c_min, c_max] |
setContourLevel(c_inc, c_min, c_max) |
Set the contours to be values from c_min to c_max with increment c_inc. |
setContourLevel(c_values, nc) |
Set the contours to be the nc values in double array c_values. |
autoContourOn() |
Enable automatic contouring. |
autoContourOff() |
Disable automatic contouring. |
contourLineLabelsOn() |
Enable contour labelling. |
contourLineLabelsOff() |
Disable contour line labelling. (Default) |
contourHighLowLabelsOn() |
Enable drawing of high/low markers. |
contourHighLowLabelsOff() |
Disable drawing of high/low markers. (Default) |
contourBackgroundOn() |
Enable the drawing of the background frame. (Default) |
contourBackgroundOff() |
Disable the drawing of the background frame. |
contourScaledFrameOn() |
Draw the contour plot respecting the aspect ratio of the dimensions of the input array to be contoured. (Default) |
contourScaledFrameOff() |
Draw the contour plot in the current frame without regard to the input array dimentsions. |
| n_c is of type int, c_inc, c_min, c_max of type double, and c_values is a C++ double array of size nc. | |