Jspice3
Main Page
Data Structures
Files
File List
Globals
plotdefs.h
Go to the documentation of this file.
1
/***************************************************************************
2
JSPICE3 adaptation of Spice3e2 - Copyright (c) Stephen R. Whiteley 1992
3
Copyright 1990 Regents of the University of California. All rights reserved.
4
Authors: 1985 Wayne A. Christopher
5
1992 Stephen R. Whiteley
6
****************************************************************************/
7
8
/*
9
* General front end stuff for output graphics.
10
*/
11
12
#ifndef PLOTdefs_h
13
#define PLOTdefs_h
14
15
#define DEF_WIDTH 80
/* Line printer width. */
16
#define DEF_HEIGHT 60
/* Line printer height. */
17
#define IPOINTMIN 20
/* When we start plotting incremental plots. */
18
19
#include "
cpdefs.h
"
20
#include "
fteinp.h
"
21
#include "
plotdev.h
"
22
23
#define mylog10(xx) (((xx) > 0.0) ? log10(xx) : (- log10(HUGE)))
24
25
extern
struct
plot
*
plot_cur
;
26
27
/* structure to pass to gr_init(), etc */
28
struct
grinit
{
29
double
*
xlims
;
/* The size of the screen. */
30
double
*
ylims
;
31
char
*
xname
;
/* What to label things. */
32
char
*
plotname
;
33
char
*
hcopy
;
/* The raster file. */
34
int
nplots
;
/* How many plots there will be. */
35
double
xdelta
;
/* Line increments for the scale. */
36
double
ydelta
;
37
GRIDTYPE
gridtype
;
/* The grid type */
38
PLOTTYPE
plottype
;
/* and the plot type. */
39
char
*
xlabel
;
/* Labels for axes. */
40
char
*
ylabel
;
41
int
xtype
;
/* The types of the data graphed. */
42
int
ytype
;
43
char
*
pname
;
44
char
*
commandline
;
/* For zoomdata() */
45
bool
nointerp
;
/* skip interpolation */
46
};
47
48
#include "
plotext.h
"
49
50
#endif
/* PLOTdefs_h */
51
fteinp.h
GRIDTYPE
GRIDTYPE
Definition:
fteconst.h:60
grinit::plottype
PLOTTYPE plottype
Definition:
plotdefs.h:38
grinit::ylabel
char * ylabel
Definition:
plotdefs.h:40
grinit::ylims
double * ylims
Definition:
plotdefs.h:30
grinit::plotname
char * plotname
Definition:
plotdefs.h:32
plot
Definition:
ftedata.h:61
PLOTTYPE
PLOTTYPE
Definition:
fteconst.h:73
grinit::xdelta
double xdelta
Definition:
plotdefs.h:35
cpdefs.h
grinit::gridtype
GRIDTYPE gridtype
Definition:
plotdefs.h:37
grinit::nointerp
bool nointerp
Definition:
plotdefs.h:45
grinit::xname
char * xname
Definition:
plotdefs.h:31
grinit::xlims
double * xlims
Definition:
plotdefs.h:29
plotext.h
grinit::pname
char * pname
Definition:
plotdefs.h:43
grinit::hcopy
char * hcopy
Definition:
plotdefs.h:33
grinit::xlabel
char * xlabel
Definition:
plotdefs.h:39
grinit::ydelta
double ydelta
Definition:
plotdefs.h:36
plotdev.h
grinit::nplots
int nplots
Definition:
plotdefs.h:34
grinit::commandline
char * commandline
Definition:
plotdefs.h:44
plot_cur
struct plot * plot_cur
Definition:
vectors.c:43
grinit
Definition:
plotdefs.h:28
grinit::xtype
int xtype
Definition:
plotdefs.h:41
grinit::ytype
int ytype
Definition:
plotdefs.h:42
src
include
plotdefs.h
Generated by
1.8.11