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  

zzperi.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 zzperi_ (integer *ilab)

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_
integer c__0 = 0

Define Documentation

#define zzpltr_1   zzpltr_
 

Definition at line 29 of file zzperi.c.

#define zzzplt_1   zzzplt_
 

Definition at line 19 of file zzperi.c.

Referenced by zzperi_().


Function Documentation

int zzperi_ integer   ilab
 

Definition at line 38 of file zzperi.c.

References c__0, zzaxxx_(), zzaxyy_(), and zzzplt_1.

Referenced by perim_(), periml_(), and perimm_().

00039 {
00040     /* System generated locals */
00041     integer i__1;
00042 
00043     /* Local variables */
00044     static integer xlab, ylab;
00045     static real sxmin, sxmax, symin, symax;
00046     static integer isidex, isidey;
00047     extern /* Subroutine */ int zzaxxx_(real *, real *, real *, integer *, 
00048             integer *), zzaxyy_(real *, real *, real *, integer *, integer *);
00049 
00050 
00051 /*  Do the perimeter axes. */
00052 /*  ILAB = 0  --> no labels on axes */
00053 /*       = 1  --> labels on x and y */
00054 /*       = 2  --> labels on x only */
00055 /*       = 3  --> labels on y only */
00056 /* .......................................................................
00057  */
00058 
00059 /*  Internal Data for PLOTPAK */
00060 
00061 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00062  */
00063     if (zzzplt_1.xmin < zzzplt_1.xmax) {
00064         isidey = 1;
00065         sxmin = zzzplt_1.xmin;
00066         sxmax = zzzplt_1.xmax;
00067     } else {
00068         isidey = -1;
00069         sxmin = zzzplt_1.xmax;
00070         sxmax = zzzplt_1.xmin;
00071     }
00072 
00073     if (zzzplt_1.ymin < zzzplt_1.ymax) {
00074         isidex = 1;
00075         symin = zzzplt_1.ymin;
00076         symax = zzzplt_1.ymax;
00077     } else {
00078         isidex = -1;
00079         symin = zzzplt_1.ymax;
00080         symax = zzzplt_1.ymin;
00081     }
00082 
00083     xlab = 0;
00084     ylab = 0;
00085     if (*ilab == 1 || *ilab == 2) {
00086         xlab = 1;
00087     }
00088     if (*ilab == 1 || *ilab == 3) {
00089         ylab = 1;
00090     }
00091 
00092     zzaxxx_(&sxmin, &sxmax, &symin, &isidex, &xlab);
00093     i__1 = -isidex;
00094     zzaxxx_(&sxmin, &sxmax, &symax, &i__1, &c__0);
00095 
00096     zzaxyy_(&sxmin, &symin, &symax, &isidey, &ylab);
00097     i__1 = -isidey;
00098     zzaxyy_(&sxmax, &symin, &symax, &i__1, &c__0);
00099 
00100     return 0;
00101 } /* zzperi_ */

Variable Documentation

real alphxx
 

Definition at line 14 of file zzperi.c.

real alphyy
 

Definition at line 14 of file zzperi.c.

real betaxx
 

Definition at line 14 of file zzperi.c.

real betayy
 

Definition at line 14 of file zzperi.c.

integer c__0 = 0 [static]
 

Definition at line 33 of file zzperi.c.

Referenced by zzperi_().

char cfile[64]
 

Definition at line 26 of file zzperi.c.

integer iflip
 

Definition at line 25 of file zzperi.c.

integer isizx
 

Definition at line 15 of file zzperi.c.

integer isizy
 

Definition at line 15 of file zzperi.c.

integer ixcoor
 

Definition at line 13 of file zzperi.c.

integer ixpmax
 

Definition at line 23 of file zzperi.c.

integer iycoor
 

Definition at line 13 of file zzperi.c.

integer iypmax
 

Definition at line 23 of file zzperi.c.

integer majrx
 

Definition at line 15 of file zzperi.c.

integer majry
 

Definition at line 15 of file zzperi.c.

integer minrx
 

Definition at line 15 of file zzperi.c.

integer minry
 

Definition at line 15 of file zzperi.c.

integer nplotr
 

Definition at line 25 of file zzperi.c.

real tmajx
 

Definition at line 14 of file zzperi.c.

real tmajy
 

Definition at line 14 of file zzperi.c.

real tminx
 

Definition at line 14 of file zzperi.c.

real tminy
 

Definition at line 14 of file zzperi.c.

real xbot
 

Definition at line 11 of file zzperi.c.

real xclbot
 

Definition at line 11 of file zzperi.c.

real xcltop
 

Definition at line 11 of file zzperi.c.

real xmax
 

Definition at line 11 of file zzperi.c.

real xmin
 

Definition at line 11 of file zzperi.c.

real xpgmax
 

Definition at line 11 of file zzperi.c.

real xpgmin
 

Definition at line 11 of file zzperi.c.

real xphmax
 

Definition at line 22 of file zzperi.c.

real xphold
 

Definition at line 16 of file zzperi.c.

real xpscal
 

Definition at line 24 of file zzperi.c.

real xtop
 

Definition at line 11 of file zzperi.c.

real ybot
 

Definition at line 11 of file zzperi.c.

real yclbot
 

Definition at line 11 of file zzperi.c.

real ycltop
 

Definition at line 11 of file zzperi.c.

real ymax
 

Definition at line 11 of file zzperi.c.

real ymin
 

Definition at line 11 of file zzperi.c.

real ypgmax
 

Definition at line 11 of file zzperi.c.

real ypgmin
 

Definition at line 11 of file zzperi.c.

real yphmax
 

Definition at line 22 of file zzperi.c.

real yphold
 

Definition at line 16 of file zzperi.c.

real ypscal
 

Definition at line 24 of file zzperi.c.

real ytop
 

Definition at line 11 of file zzperi.c.

struct { ... } zzpltr_
 

struct { ... } zzzplt_
 

 

Powered by Plone

This site conforms to the following standards: