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  

setdsh.c File Reference

#include "f2c.h"

Go to the source code of this file.


Defines

#define zzdash_1   zzdash_

Functions

int setdsh_ (integer *nd, real *xld)

Variables

struct {
   integer   ndash
   real   xldash [8]
   real   xid
zzdash_

Define Documentation

#define zzdash_1   zzdash_
 

Definition at line 15 of file setdsh.c.

Referenced by setdsh_().


Function Documentation

int setdsh_ integer   nd,
real   xld
 

Definition at line 20 of file setdsh.c.

References min, and zzdash_1.

Referenced by plotpak_setdsh(), and setlin_().

00021 {
00022     /* System generated locals */
00023     integer i__1;
00024 
00025     /* Local variables */
00026     static integer i__;
00027 
00028 
00029 /*  Set dash lengths (in internal units) */
00030 
00031 /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00032  */
00033     /* Parameter adjustments */
00034     --xld;
00035 
00036     /* Function Body */
00037     zzdash_1.ndash = min(*nd,8);
00038     zzdash_1.xid = 0.f;
00039     i__1 = zzdash_1.ndash;
00040     for (i__ = 1; i__ <= i__1; ++i__) {
00041         zzdash_1.xldash[i__ - 1] = xld[i__];
00042 /* L10: */
00043     }
00044     return 0;
00045 } /* setdsh_ */

Variable Documentation

integer ndash
 

Definition at line 11 of file setdsh.c.

real xid
 

Definition at line 12 of file setdsh.c.

real xldash[8]
 

Definition at line 12 of file setdsh.c.

struct { ... } zzdash_
 

 

Powered by Plone

This site conforms to the following standards: