HOW TO DEFINE GRAPHIC ELEMENTS IN THE DATASET
The following special graphic procedures are supported and may
be
written to the GRAF dataset:
(the coordinates refer to the axes of the picture)
E: POINT(x,y);
E: PLOT(x,y,line-mode);
E: FINGER(x1,y1,x2,y2,fac);
E: SCISSORS(x1,y1,x2,y2,fac);
E: CROSS(x-center,y-center,size in
x-units,angle,line-mode);
E: ARLINE(x-first,y-first,x-last,y-last,size of arrow in
x-units,
opening angle of arrow,line-mode);
E: DARLINE(x-first,y-first,x-last,y-last,size of arrow in
x-units,opening angle of arrow,line-mode);
E: ARROW(x-pos.,y-pos.,length in x-units,size,
opening angle,angle,line-mode);
E: DECAY(x-first,y-first,x-last,y-last,width,line-mode);
E: ELL(x-center,y-center,from phi,to phi,
radius in x-direction, b/a, angle, line-mode);
E: FRAME(x-min,y-min,x-max,y-max,line-mode);
<draw rectangular frame>
E: LINE(x-first,y-first,x-last,y-last,line-mode);
E: RECT(x-center,y-center,length in x-units,b/a,
angle,line-mode);
E: ROTATE(angle);
The rotation is not accumulative!
E: ROTATE(angle,x-value,y-value);
<rotate all following graphic elements
around the point x, y>
The rotation is not accumulative!
If you use ROTATE, please take care
that you restore
the rotation angle. Otherwise the
text written by W: ...
will be rotated too!!!
E: SHIFT(x-shift,y-shift);
<shift all following graphic elements by x and y>
The shift is not accumulative!
E: CIRCLE(x-center,y-center,from phi,to phi,
radius in x-units, line-mode);
E: DISC(x-center,y-center,from phi,to phi,
radius in x-units, line-mode);
E: ARC(x-center,y-center,first angle,last angle,
inner radius,outer radius, line-mode);
E: SQUARE(x-center,y-center,length in x-units,
angle,line-mode);
E: POLYNOMIAL(xmin,xmax,p0,p1,p2,...,line-mode);
*)
(line-mode required, no
line thickness allowed!)
E: EXP(x0,y-min,y-max,tau,line-mode);
*)
<y = (y-max - y-min) exp((x-x0)/tau) + y-min>
E: EXPLG(y-min,y-max,tau,line-mode);
*)
<y = y-min + (y-max - y-min) * exp(1) *
eta * exp(-eta); with eta = x / tau >
E: GAUSS(x-center,y-min,y-max,sigma,line-mode);
*)
<Gaussian curve>
E: GAUSS(x-center,y-min,y-max,x-min,x-max,sigma,line-mode);
*)
<Gaussian curve with limited range>
E: GAUSSINT(x-center,y-min,y-max,sigma,line-mode);
*)
<probability integral (not the error function!)>
E:
GAUSSCUT(x-center,y-min,y-max,sigma,cut/sigma,line-mode);
*)
<probability integral cutted (not the error function!)>
E: BOX(xmin-sigma, xmax+sigma, integral, sigma,
line-mode); *)
<rectangular distribution folded with Gaussian>
E: RESISTOR(x1,y1,x2,y2,length,line-mode);
E: DIODE(x1,y1,x2,y2,length,line-mode);
E: CAPACITY(x1,y1,x2,y2,size,line-mode);
E:
TRANSISTOR(x-center,y-center,dx,dy,radius,type,line-mode);
E: CLIP <clip the following
elements inside plot area>
E: NOCLIP <do not clip inside plot
area>
E: GRID(x-distance,y-distance,line-mode);
or
E: GRID(x-distance,y-distance,x-shift,y-shift,line-mode)
<grid over the picture>
(In logarithmic mode the distance is
interpreted as
10 ** distance parameter!)
(for the following procedures the coordinates are interpreted as cm)
E: ARROWCM(x-pos.,y-pos.,length in x-units,size,
opening angle,angle,line-mode);
E: LINECM(x-first,y-first,x-last,y-last,line-mode);
E: PLOTCM(x,y,line-mode);
E: SHIFTCM(x-shift,y-shift);
An additional letter "I" limits the lines inside the axes.
==> E: GAUSSI(...);
An additional letter "F" gives full figures (if meaningful).
==> E: RECTF(...);
An additional letter "H" gives hatched figures (if meaningful).
==> E: RECTH(...);
An additional letter "V" inverts the element (if meaningful).
==> E: TRANSISTORV(...);
An additional parameter specifies the width of the lines (in mm) for
most of the procedures.
==> E: LINE(1,1,2,1,L,3); (line-width is 3 mm.)
Line-mode
L
line (default color)
N no
line
P
dotted line
M
dashed-dotted line
D
dashed line
R
read color
G
green color
B
blue color
(other colors by additive mixing, see "HELP COLOUR")
An alternative and more flexible option to fill figures with
different patterns is to add the letters
"A", "C", "J", "K", "O",
"AC", "JK", "OO"
to the line mode. The parameters "HATCHING" and "LINEWIDTH" of
the
commands "GDISP", "GPLOT", "GOVER"
etc. influence these patterns.
==> E: FRAME(1,1,2,1,RGJL,3); (yellow,
hatching,
Some of these graphic elements are supported by the command
"GELEMENT" which enables interactive
plotting via the cursor.
Several graphic elements in 3-dimensional carthesian coordinates
are supported. See "HELP 3DIM".
*) Remark: In many cases the arithmetic formula interpreter may be
better suited for
displaying arithmetic expressions!
(See HELP ARITHMETICS)