/* Demonstration of 3-d plotting */ #include #define NPTS 41 static int opt[] = {1, 2, 3, 3}; static float alt[] = {60.0,20.0,60.0,60.0}; static float az[] = {30.0,60.0,120.0,160.0}; static char *title[4] = { "\\frPLPLOT Example 8 - Alt=60, Az=30, Opt=1", "\\frPLPLOT Example 8 - Alt=20, Az=60, Opt=2", "\\frPLPLOT Example 8 - Alt=60, Az=120, Opt=3", "\\frPLPLOT Example 8 - Alt=60, Az=160, Opt=3" }; main() { int i, j, k; float x[NPTS], y[NPTS], z[NPTS][NPTS]; float xx, yy, r; int work[4*NPTS]; for (i=0; i