#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 |
#define | RETMOD "showpage" |
#define | TRANS "550 50 translate" |
#define | ROTAT "90 rotate" |
#define | SCALE ".065 .05 scale" |
#define | RSCAL "15.3846 20. scale" |
#define | LWIDTH "15 setlinewidth" |
#define | SFONT "/Courier findfont 14 scalefont setfont" |
#define | DNORM "[] 0 setdash 8 setlinewidth" |
#define | DBOLD "[] 0 setdash 10 setlinewidth" |
#define | DDOTN "[20 100] 0 setdash 8 setlinewidth" |
#define | DDOTB "[20 100] 0 setdash 10 setlinewidth" |
#define | DDASHN "[100 100] 0 setdash 8 setlinewidth" |
#define | DDASHB "[100 100] 0 setdash 10 setlinewidth" |
#define | DDODAN "[100 100 20 100] 0 setdash 8 setlinewidth" |
#define | DDODAB "[100 100 20 100] 0 setdash 10 setlinewidth" |
#define | INPUT "/Input currentfile def" |
#define | LINE "/Line 128 string def" |
#define | LEFTM "Leftm" |
#define | NLSPACE "300" |
#define | ENDTXT "$$ENDTXT$$" |
#define | ENDDEF "/Endtxt ("ENDTXT") def" |
#define | NXTLINE |
#define | READTXT |
#define | COLMAX 16 |
#define | XLL 0 |
#define | YLL 0 |
#define | XUL 10000 |
#define | YUL 10000 |
#define | XSCAL 1. |
#define | YSCAL 1. |
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 | |
float | colmap0 [COLMAX][3] |
float | colmap1 [COLMAX][3] |
float * | COLMAP = &colmap0[0][0] |
PLOTMODE | plotPS |
static int | pmode = 0 |
static int | status = 0 |
static FILE * | fd |
static FILE * | savfd |
static char * | dispmode = NULL |
modification history -------------------- 15aug08 kHu DOXYGEN comments added 04jun04 kHu plotE(FILE *fdout, int device, int language, int color) 01jun04 kHu added plotP4() 16apr03 kHu Fit gemacht fuer -Wall GCC-Option 11nov99 kHu Newprog Standard 02sep99 kHu Abschluss Pruefung 24aug99 kHu ueberarbeitet 17aug99 kHu plotMa() geaendert 13jan99 kHu Umstellung auf dan-Library 06dec99 kHu Zeilenumbruch fuer Text 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() 02feb96 kHu new
#define COLMAX 16 |
#define DBOLD "[] 0 setdash 10 setlinewidth" |
#define DDASHB "[100 100] 0 setdash 10 setlinewidth" |
#define DDASHN "[100 100] 0 setdash 8 setlinewidth" |
#define DDODAB "[100 100 20 100] 0 setdash 10 setlinewidth" |
#define DDODAN "[100 100 20 100] 0 setdash 8 setlinewidth" |
#define DDOTB "[20 100] 0 setdash 10 setlinewidth" |
#define DDOTN "[20 100] 0 setdash 8 setlinewidth" |
#define DNORM "[] 0 setdash 8 setlinewidth" |
#define ENDDEF "/Endtxt ("ENDTXT") def" |
#define ENDTXT "$$ENDTXT$$" |
#define GRAFCS |
Value:
"%!PS\n" \ "%%Creator: Data Analysis Program System\n" \ "%%+Copyright (c) 1996 Strahlenzentrum Univ. Giessen\n" \ "%%EndComments"
#define INPUT "/Input currentfile def" |
#define LEFTM "Leftm" |
#define LINE "/Line 128 string def" |
#define LWIDTH "15 setlinewidth" |
#define NLSPACE "300" |
#define NXTLINE |
#define PRIVAT7x |
#define READTXT |
Value:
"{ Input Line readline\n" \ " pop\n" \ " dup Endtxt eq\n" \ " { pop exit } if\n" \ " show\n" \ " Nxtline\n" \ "} loop"
#define RETMOD "showpage" |
#define ROTAT "90 rotate" |
#define RSCAL "15.3846 20. scale" |
#define SCALE ".065 .05 scale" |
#define SFONT "/Courier findfont 14 scalefont setfont" |
#define TRANS "550 50 translate" |
#define XLL 0 |
#define XSCAL 1. |
#define XUL 10000 |
#define YLL 0 |
#define YSCAL 1. |
#define YUL 10000 |
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] |
float colmap0[COLMAX][3] |
Initial value:
{{0,0,1.}, {0,0,.933}, {0,0,.866}, {0,0,.8}, {0,0,.733}, {0,0,.666}, {0,0,.6}, {0,0,.533}, {0,0,.466}, {0,0,.4}, {0,0,.333}, {0,0,.266}, {0,0,.2}, {0,0,.133}, {0,0,.066}, {0,0,0.}}
float colmap1[COLMAX][3] |
Initial value:
{{0,0,1.}, {.53,.33,1.}, {.53,.67,1.}, {.53,1.,1.}, {.31,.33,1.}, {.31,.67,1.}, {.31,1.,1.}, {.17,.67,1.}, {.17,1.,.9}, {.17,1.,.67}, {.00,.30,1.}, {.00,.55,1.}, {.00,.80,1.}, {.04,.91,.64}, {.04,.89,.23}, {0,0,0.}}
char* dispmode = NULL [static] |
FILE* fd [static] |
PLOTMODE plotPS |
int pmode = 0 [static] |
FILE* savfd [static] |
int status = 0 [static] |