dan7x3.c File Reference

Library for Data Analysis; HPGL grafics routines. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "taskLib.h"
#include "math.h"
#include "application.conf"

Defines

#define PRIVAT7x
#define GRAFCS   "\033%0BIN;SP1;RO90;"
#define RETMOD   "\033%0A/033E"
#define DNORM   "LT;"
#define DBOLD   "LT;"
#define DDOTN   "LT2,.4;"
#define DDOTB   "LT2,.4;"
#define DDASHN   "LT2,1;"
#define DDASHB   "LT2,1;"
#define DDODAB   "LT5,1;"
#define PPMODE   "LT0;"
#define XLL   0
#define YLL   0
#define XUL   10365
#define YUL   7721
#define XSCAL   1.0365
#define YSCAL   .7721

Functions

static int plotE (FILE *fd, int device, int language, int color)
static void plotX (void)
static void plotC (void)
static void plotTs (int x, int y)
static void plotTx (void)
static void plotPs (int mode)
static void plotPx (void)
static void plotP1 (int mode, int x, int y)
static void plotP2 (int x, int yl, int yh)
static void plotP3 (int x, int x0, int y)
static void plotP4 (int mode, int x, int y, int z)
static void plotSd (int mode)
static void plotMa (int x, int y, char *label)
static void plotGi (char *charct, float *pos)

Variables

PLOTMODE plotHPGL
static int pmode = 0
static int status = 0
static FILE * fd
static FILE * savfd
static char * dispmode = NULL


Detailed Description

Library for Data Analysis; HPGL grafics routines.

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
08.01.1996
Version:
15.08.2008
modification history
--------------------
15aug08 kHu	DOXYGEN comments added
04jun04 kHu	plotE(FILE *fdout, int device, int language, int color)
01jun04 kHu	added plotP4()
11nov99 kHu	Newprog Standard
02sep99 kHu	Abschluss Pruefung
24aug99 kHu	ueberarbeitet
17aug99 kHu	plotMa() geaendert
13jan99 kHu	Umstellung auf dan-Library
17dec98 kHu	xPlotTs mit Position
16dec98 kHu	Start/Stop Text/Plot Mode besser
04dec98 kHu	plotE() mode added
18nov98 kHu	Peak integration added
15sep98	kHu	added fflush() to plotX()
08jan96	kHu	new 

Define Documentation

#define DBOLD   "LT;"

#define DDASHB   "LT2,1;"

#define DDASHN   "LT2,1;"

#define DDODAB   "LT5,1;"

#define DDOTB   "LT2,.4;"

#define DDOTN   "LT2,.4;"

#define DNORM   "LT;"

#define GRAFCS   "\033%0BIN;SP1;RO90;"

#define PPMODE   "LT0;"

#define PRIVAT7x

#define RETMOD   "\033%0A/033E"

#define XLL   0

#define XSCAL   1.0365

#define XUL   10365

#define YLL   0

#define YSCAL   .7721

#define YUL   7721


Function Documentation

static void plotC ( void   )  [static]

static int plotE ( FILE *  fd,
int  device,
int  language,
int  color 
) [static]

static void plotGi ( char *  charct,
float *  pos 
) [static]

static void plotMa ( int  x,
int  y,
char *  label 
) [static]

static void plotP1 ( int  mode,
int  x,
int  y 
) [static]

static void plotP2 ( int  x,
int  yl,
int  yh 
) [static]

static void plotP3 ( int  x,
int  x0,
int  y 
) [static]

static void plotP4 ( int  mode,
int  x,
int  y,
int  z 
) [static]

static void plotPs ( int  mode  )  [static]

static void plotPx ( void   )  [static]

static void plotSd ( int  mode  )  [static]

static void plotTs ( int  x,
int  y 
) [static]

static void plotTx ( void   )  [static]

static void plotX ( void   )  [static]


Variable Documentation

char* dispmode = NULL [static]

FILE* fd [static]

PLOTMODE plotHPGL

Initial value:

 {
        
        
    10000.,             
    10000.,             
    &plotE,             
    &plotX,             
    &plotC,             
    &plotTs,            
    &plotTx,            
    &plotPs,            
    &plotPx,            
    &plotP1,            
    &plotP2,            
    &plotP3,            
    &plotP4,            
    &plotSd,            
    &plotMa,            
    &plotGi             
}

int pmode = 0 [static]

FILE* savfd [static]

int status = 0 [static]


Generated on Wed Oct 15 16:17:15 2008 for Experiment-Software by  doxygen 1.5.6