Doxygen Source Code Documentation
setw.c File Reference
#include "f2c.h"Go to the source code of this file.
Defines | |
| #define | zzzplt_1 zzzplt_ |
| #define | zzpltr_1 zzpltr_ |
Functions | |
| int | setw_ (real *x1, real *y1, real *x2, real *y2) |
Variables | |
| struct { | |
| real xpgmin | |
| real ypgmin | |
| real xpgmax | |
| real ypgmax | |
| real xclbot | |
| real yclbot | |
| real xcltop | |
| real ycltop | |
| real xbot | |
| real ybot | |
| real xtop | |
| real ytop | |
| real xmin | |
| real ymin | |
| real xmax | |
| real ymax | |
| integer ixcoor | |
| integer iycoor | |
| real alphxx | |
| real betaxx | |
| real alphyy | |
| real betayy | |
| real tmajx | |
| real tminx | |
| real tmajy | |
| real tminy | |
| integer majrx | |
| integer minrx | |
| integer majry | |
| integer minry | |
| integer isizx | |
| integer isizy | |
| real xphold | |
| real yphold | |
| } | zzzplt_ |
| struct { | |
| real xphmax | |
| real yphmax | |
| integer ixpmax | |
| integer iypmax | |
| real xpscal | |
| real ypscal | |
| integer iflip | |
| integer nplotr | |
| char cfile [64] | |
| } | zzpltr_ |
Define Documentation
|
|
|
|
|
Definition at line 19 of file setw.c. Referenced by setw_(). |
Function Documentation
|
||||||||||||||||||||
|
Definition at line 34 of file setw.c. References dmax, dmin, x2, y1, and zzzplt_1. Referenced by plotpak_setw().
00035 {
00036
00037 /* Set the clipping rectangle (physical coords). */
00038 /* .......................................................................
00039 */
00040 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00041 */
00042
00043 /* Internal Data for PLOTPAK */
00044
00045 if (*x1 >= *x2) {
00046 zzzplt_1.xclbot = zzzplt_1.xpgmin;
00047 zzzplt_1.xcltop = zzzplt_1.xpgmax;
00048 } else {
00049 zzzplt_1.xclbot = dmax(*x1,zzzplt_1.xpgmin);
00050 zzzplt_1.xcltop = dmin(*x2,zzzplt_1.xpgmax);
00051 }
00052
00053 if (*y1 >= *y2) {
00054 zzzplt_1.yclbot = zzzplt_1.ypgmin;
00055 zzzplt_1.ycltop = zzzplt_1.ypgmax;
00056 } else {
00057 zzzplt_1.yclbot = dmax(*y1,zzzplt_1.ypgmin);
00058 zzzplt_1.ycltop = dmin(*y2,zzzplt_1.ypgmax);
00059 }
00060
00061 return 0;
00062 } /* setw_ */
|
Variable Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|