Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

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

#define zzpltr_1   zzpltr_
 

Definition at line 29 of file setw.c.

#define zzzplt_1   zzzplt_
 

Definition at line 19 of file setw.c.

Referenced by setw_().


Function Documentation

int setw_ real   x1,
real   y1,
real   x2,
real   y2
 

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

real alphxx
 

Definition at line 14 of file setw.c.

real alphyy
 

Definition at line 14 of file setw.c.

real betaxx
 

Definition at line 14 of file setw.c.

real betayy
 

Definition at line 14 of file setw.c.

char cfile[64]
 

Definition at line 26 of file setw.c.

integer iflip
 

Definition at line 25 of file setw.c.

integer isizx
 

Definition at line 15 of file setw.c.

integer isizy
 

Definition at line 15 of file setw.c.

integer ixcoor
 

Definition at line 13 of file setw.c.

integer ixpmax
 

Definition at line 23 of file setw.c.

integer iycoor
 

Definition at line 13 of file setw.c.

integer iypmax
 

Definition at line 23 of file setw.c.

integer majrx
 

Definition at line 15 of file setw.c.

integer majry
 

Definition at line 15 of file setw.c.

integer minrx
 

Definition at line 15 of file setw.c.

integer minry
 

Definition at line 15 of file setw.c.

integer nplotr
 

Definition at line 25 of file setw.c.

real tmajx
 

Definition at line 14 of file setw.c.

real tmajy
 

Definition at line 14 of file setw.c.

real tminx
 

Definition at line 14 of file setw.c.

real tminy
 

Definition at line 14 of file setw.c.

real xbot
 

Definition at line 11 of file setw.c.

real xclbot
 

Definition at line 11 of file setw.c.

real xcltop
 

Definition at line 11 of file setw.c.

real xmax
 

Definition at line 11 of file setw.c.

real xmin
 

Definition at line 11 of file setw.c.

real xpgmax
 

Definition at line 11 of file setw.c.

real xpgmin
 

Definition at line 11 of file setw.c.

real xphmax
 

Definition at line 22 of file setw.c.

real xphold
 

Definition at line 16 of file setw.c.

real xpscal
 

Definition at line 24 of file setw.c.

real xtop
 

Definition at line 11 of file setw.c.

real ybot
 

Definition at line 11 of file setw.c.

real yclbot
 

Definition at line 11 of file setw.c.

real ycltop
 

Definition at line 11 of file setw.c.

real ymax
 

Definition at line 11 of file setw.c.

real ymin
 

Definition at line 11 of file setw.c.

real ypgmax
 

Definition at line 11 of file setw.c.

real ypgmin
 

Definition at line 11 of file setw.c.

real yphmax
 

Definition at line 22 of file setw.c.

real yphold
 

Definition at line 16 of file setw.c.

real ypscal
 

Definition at line 24 of file setw.c.

real ytop
 

Definition at line 11 of file setw.c.

struct { ... } zzpltr_
 

struct { ... } zzzplt_
 

 

Powered by Plone

This site conforms to the following standards: