Back to index

radiance  4R0+20100331
Classes | Defines | Functions
mgraph.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BOUNDS

Defines

#define PI   3.14159265358979323846
#define FHUGE   1e20
#define FTINY   1e-7
#define CPI   10
#define CWID   (2048/CPI)
#define ASPECT   1.67
#define PL_F   0.02
#define MINDIVS   4
#define AX_L   2048
#define AX_R   12288
#define AX_D   2048
#define AX_U   12288
#define PL_X   6912
#define PL_Y   7168
#define PL_R   5120
#define TLEN   200
#define XN_X   0
#define XN_Y   (AX_D-TLEN-300)
#define XN_S   1000
#define YN_X   (AX_L-TLEN-200)
#define YN_Y   64
#define YN_S   500
#define TN_X   PL_X
#define TN_Y   (PL_Y+150)
#define TN_R   (PL_R+TLEN+250)
#define RN_X   PL_X
#define RN_Y   (PL_Y-TLEN/2-200)
#define RN_S   XN_S
#define TI_L   0
#define TI_R   16383
#define TI_D   14500
#define TI_U   15300
#define ST_L   0
#define ST_R   16383
#define ST_D   13675
#define ST_U   14170
#define XL_L   2048
#define XL_R   9850
#define XL_D   500
#define XL_U   1000
#define XM_L   10000
#define XM_R   12288
#define XM_D   670
#define XM_U   1000
#define YL_L   0
#define YL_R   500
#define YL_D   2048
#define YL_U   9850
#define YM_L   170
#define YM_R   500
#define YM_D   10000
#define YM_U   12288
#define LE_L   13100
#define LE_R   16383
#define LE_D   4000
#define LE_U   10000
#define LT_X   LE_L
#define LT_Y   (LE_U+800)
#define DEFFTHICK   3 /* frame thickness */
#define DEFTSTYLE   1 /* tick mark style */
#define DEFOTHICK   0 /* origin thickness */
#define DEFGRID   0 /* default grid */
#define DEFSYMSIZE   100 /* symbol size */
#define DEFLINTYPE   1 /* line type */
#define DEFTHICK   2 /* line thickness */
#define DEFCOLOR   1 /* color */
#define DEFPERIOD   0.0 /* period for polar plot */
#define DEFPLSTEP   (1./12.) /* default angular step */

Functions

void mgraph (void)

Class Documentation

struct BOUNDS

Definition at line 108 of file mgraph.h.

Class Members
double max
double min
double step

Define Documentation

#define ASPECT   1.67

Definition at line 23 of file mgraph.h.

#define AX_D   2048

Definition at line 31 of file mgraph.h.

#define AX_L   2048

Definition at line 29 of file mgraph.h.

#define AX_R   12288

Definition at line 30 of file mgraph.h.

#define AX_U   12288

Definition at line 32 of file mgraph.h.

#define CPI   10

Definition at line 20 of file mgraph.h.

#define CWID   (2048/CPI)

Definition at line 21 of file mgraph.h.

#define DEFCOLOR   1 /* color */

Definition at line 100 of file mgraph.h.

#define DEFFTHICK   3 /* frame thickness */

Definition at line 93 of file mgraph.h.

#define DEFGRID   0 /* default grid */

Definition at line 96 of file mgraph.h.

#define DEFLINTYPE   1 /* line type */

Definition at line 98 of file mgraph.h.

#define DEFOTHICK   0 /* origin thickness */

Definition at line 95 of file mgraph.h.

#define DEFPERIOD   0.0 /* period for polar plot */

Definition at line 101 of file mgraph.h.

#define DEFPLSTEP   (1./12.) /* default angular step */

Definition at line 102 of file mgraph.h.

#define DEFSYMSIZE   100 /* symbol size */

Definition at line 97 of file mgraph.h.

#define DEFTHICK   2 /* line thickness */

Definition at line 99 of file mgraph.h.

#define DEFTSTYLE   1 /* tick mark style */

Definition at line 94 of file mgraph.h.

#define FHUGE   1e20

Definition at line 17 of file mgraph.h.

#define FTINY   1e-7

Definition at line 18 of file mgraph.h.

#define LE_D   4000

Definition at line 87 of file mgraph.h.

#define LE_L   13100

Definition at line 85 of file mgraph.h.

#define LE_R   16383

Definition at line 86 of file mgraph.h.

#define LE_U   10000

Definition at line 88 of file mgraph.h.

#define LT_X   LE_L

Definition at line 90 of file mgraph.h.

#define LT_Y   (LE_U+800)

Definition at line 91 of file mgraph.h.

#define MINDIVS   4

Definition at line 27 of file mgraph.h.

#define PI   3.14159265358979323846

Definition at line 16 of file mgraph.h.

#define PL_F   0.02

Definition at line 25 of file mgraph.h.

#define PL_R   5120

Definition at line 36 of file mgraph.h.

#define PL_X   6912

Definition at line 34 of file mgraph.h.

#define PL_Y   7168

Definition at line 35 of file mgraph.h.

#define RN_S   XN_S

Definition at line 53 of file mgraph.h.

#define RN_X   PL_X

Definition at line 51 of file mgraph.h.

#define RN_Y   (PL_Y-TLEN/2-200)

Definition at line 52 of file mgraph.h.

#define ST_D   13675

Definition at line 62 of file mgraph.h.

#define ST_L   0

Definition at line 60 of file mgraph.h.

#define ST_R   16383

Definition at line 61 of file mgraph.h.

#define ST_U   14170

Definition at line 63 of file mgraph.h.

#define TI_D   14500

Definition at line 57 of file mgraph.h.

#define TI_L   0

Definition at line 55 of file mgraph.h.

#define TI_R   16383

Definition at line 56 of file mgraph.h.

#define TI_U   15300

Definition at line 58 of file mgraph.h.

#define TLEN   200

Definition at line 38 of file mgraph.h.

#define TN_R   (PL_R+TLEN+250)

Definition at line 50 of file mgraph.h.

#define TN_X   PL_X

Definition at line 48 of file mgraph.h.

#define TN_Y   (PL_Y+150)

Definition at line 49 of file mgraph.h.

#define XL_D   500

Definition at line 67 of file mgraph.h.

#define XL_L   2048

Definition at line 65 of file mgraph.h.

#define XL_R   9850

Definition at line 66 of file mgraph.h.

#define XL_U   1000

Definition at line 68 of file mgraph.h.

#define XM_D   670

Definition at line 72 of file mgraph.h.

#define XM_L   10000

Definition at line 70 of file mgraph.h.

#define XM_R   12288

Definition at line 71 of file mgraph.h.

#define XM_U   1000

Definition at line 73 of file mgraph.h.

#define XN_S   1000

Definition at line 42 of file mgraph.h.

#define XN_X   0

Definition at line 40 of file mgraph.h.

#define XN_Y   (AX_D-TLEN-300)

Definition at line 41 of file mgraph.h.

#define YL_D   2048

Definition at line 77 of file mgraph.h.

#define YL_L   0

Definition at line 75 of file mgraph.h.

#define YL_R   500

Definition at line 76 of file mgraph.h.

#define YL_U   9850

Definition at line 78 of file mgraph.h.

#define YM_D   10000

Definition at line 82 of file mgraph.h.

#define YM_L   170

Definition at line 80 of file mgraph.h.

#define YM_R   500

Definition at line 81 of file mgraph.h.

#define YM_U   12288

Definition at line 83 of file mgraph.h.

#define YN_S   500

Definition at line 46 of file mgraph.h.

#define YN_X   (AX_L-TLEN-200)

Definition at line 44 of file mgraph.h.

#define YN_Y   64

Definition at line 45 of file mgraph.h.


Function Documentation

void mgraph ( void  )

Definition at line 58 of file mgraph.c.

{
                                   /* load the symbol file */
       if (gparam[SYMFILE].flags & DEFINED)
              minclude(gparam[SYMFILE].v.s);
                                   /* check for polar plot */
       if (gparam[PERIOD].flags & DEFINED)
              period = varvalue(gparam[PERIOD].name);

       getbounds();                /* get the boundaries */
       makeaxis();                 /* draw the coordinate axis */
       plotcurves();               /* plot the curves */

       mendpage();                 /* advance page */
}

Here is the call graph for this function:

Here is the caller graph for this function: