The routine CLRMOD defines the colour mode used for output on an X
Window terminal.
The routine X11MOD defines backing store for X graphic windows.
The routine WINMOD affects the handling of windows in the termination routine
DISFIN.
The routine WINOPT sets the delay time for the keyword 'DELAY' in
WINMOD.
is a shift character. For example, with CNAT = 'GERMAN',
the characters A, O, U, a, o, u and s placed directly
after CHAR will be plotted as Ä, Ö,
Ü, ä, ö, ü and ß.
Additional notes:
- Shift characters can be defined multiple
where the characters must be different.
- European characters are supported by PostScript fonts
and by COMPLX.
Indices and exponents can be plotted by using control characters in
characters strings, or by using the TeX syntax described in paragraph 6.7.
There are 3 predefined control characters in DISLIN
which can be altered with the routines NEWMIX and SETMIX. The
predefined character
- [
- is used for exponents. The character height is reduced by the
scaling factor FEXP and the pen is moved up FBAS * NH
plot coordinates where NH is the current character height.
- ]
- is used for indices. The pen is moved down FBAS * NH
plot coordinates and the character height is reduced
by the scaling factor FEXP.
- $
- is used to move the pen back to the base-line. This will
automatically be done at the end
of a character string.
FBAS and FEXP have the default values 0.6 and 0.8, respectively, these
values can be changed with the routines SETBAS and SETEXP.
M I X A L F
This routine instructs DISLIN to search for control characters in character
strings.
- The call is:
- CALL MIXALF - level 1, 2, 3
S E T B A S
SETBAS defines the position of indices and exponents. This routine
also affects logarithmic axis labels.
- The call is:
- CALL SETBAS (FBAS) - level 1, 2, 3
- FBAS
- is a real number used as a scaling factor.
The pen will be moved up or down by
FBAS * NH plot coordinates to plot
exponents or indices. NH is the current
character height.
Default: FBAS = 0.6.
S E T E X P
SETEXP sets the character height of indices and exponents.
- The call is:
- CALL SETEXP (FEXP) - level 1, 2, 3
- FEXP
- is a real number used as a scaling factor.
The character height of indices
and exponents is set to FEXP * NH where NH is the
current character height.
Default: FEXP = 0.8
N E W M I X
NEWMIX defines an alternate set of control characters for plotting indices
and exponents. The default characters '[', ']' and '$' are replaced by
'^', '_' and '%'.
- The call is:
- CALL NEWMIX - level 1, 2, 3
S E T M I X
SETMIX defines global control characters for plotting indices and
exponents.
- The call is:
- CALL SETMIX (CHAR, CMIX) - level 1, 2, 3
- CHAR
- is a new control character.
- CMIX
- is a character string that defines the function
of the control character. CMIX can have the
values 'EXP', 'IND', 'RES' and 'LEG' for exponents,
indices, resetting the base-line, and for multiple text
lines in legends, respectively.
- Additional note:
- The routines NEWMIX and SETMIX only modify
the control characters. A call to MIXALF is always
necessary to plot indices and exponents.
The instruction alphabet contains commands that control pen movements
and character sizes during the plotting of character strings. It is provided
for the representation of complicated formulas. An alternate method for
plotting of complicated formulas is described in paragraph 6.7,
``TeX Instructions for Mathematical Formulas''.
The instruction
alphabet can be used in the same way as other alphabets in DISLIN.
Shift characters must be defined with the routine SMXALF to switch
between the base and the instruction alphabet.
The commands of the instruction alphabet consist of a single character
and an optional parameter. If the parameter is omitted, DISLIN
will use default values. A parameter can be a real number, an integer or
the character 'X' which resets the parameter back to the entry value
at the beginning of the character string.
Commands of the instruction alphabet can only change plot parameters
temporarily within a character string. At the end of a character string,
all parameters are reset to their entry values.
The following table summarizes all instruction commands. The character
r means a real parameter and i an integer. The base-line of character strings
is placed directly below them. Commands can be given in uppercase or
lowercase letters. Real parameters can be specified without decimal points
while integer parameters cannot have decimal points. Several
commands can follow one another. Blanks between commands
will be ignored.
Instruction-Alphabet
------------------------------------------------------------
| Cmd. Par. Default Description |
------------------------------------------------------------
| A real 1. moves the pen horizontally by r * NH |
| plot coordinates where NH is the |
| current character height. If r < 0, |
| the pen will be moved backwards. |
| |
| C integer 1 moves the pen horizontally by i cha- |
| racter spaces. If i < 0, the pen |
| will be moved backwards. |
| |
| D real 1. moves the pen down from the base- |
| line by r * NH plot coordinates. If |
| r > 0, NH is the entry character |
| height. If r < 0, NH is the current |
| character height. |
| |
| E moves the pen up by 0.75 * character |
| height and reduces the character |
| height by the scaling factor 0.6 |
| (for exponents). |
| |
| F integer 1 moves the pen horizontally by i spa- |
| ces. If i is negative, the pen is |
| moved backwards. |
| |
| G integer 1 moves the pen horizontally to the |
| tab position with the index i, where |
| 1 <= i <= 20. |
| |
| H real 0.6 sets the character height to r * NH. |
| If r > 0, NH is the entry character |
| height. If r < 0, NH is the current |
| character height. |
| |
| I moves the pen down by 0.35 * charac- |
| ter height and multiplies the cha- |
| racter height by 0.6 (for indices). |
| |
| J integer 1 underscores twice from the tab posi- |
| tion i to the current pen position. |
| |
| K real 0.8 is used to plot characters with con- |
| stant widths. Characters will be |
| centred in a box with the width |
| r * W where W is the largest charac- |
| ter length in the current font. The |
| global routine is FIXSPC. |
| |
| L integer 1 underscores from the tab position i |
| to the current pen position. |
| |
| M integer 1 defines the base alphabet. |
| (1 = STAND., 2 = GREEK, 3 = MATH., |
| 4 = ITAL., 5 = SCRIPT, 6 = RUSSIAN). |
------------------------------------------------------------
------------------------------------------------------------
| Cmd. Par. Default Description |
------------------------------------------------------------
| N integer 1 sets a colour i, where 0 <= i <= |
| 255. The global routine is SETCLR. |
| |
| O real 0. moves the base-line vertically by |
| r * character height. If r < 0 the |
| base-line is moved down. |
| |
| P integer 1 defines a horizontal tab position |
| with the index i at the current pen |
| position, where 1 <= i <= 20. |
| All tab positions are initialized to |
| the beginning of the string. |
| |
| R resets the character height and the |
| base-line to their entry values. |
| |
| S integer 0 plots a symbol with the number i, |
| where 0 <= i <= 21. |
| |
| T integer 0 moves the pen horizontally from the |
| beginning of the string by i plot |
| coordinates. |
| |
| U real 1. moves the pen up from the base-line |
| by r * NH plot coordinates. If r > |
| 0, NH is the entry character height. |
| If r < 0, NH is the current charac- |
| ter height. |
| |
| V integer 1 plots a horizontal line from the tab |
| position i to the current pen posi- |
| tion. The line is moved up from the |
| base-line by 0.5 * character height |
| plot coordinates. |
| |
| W real 1. affects the width of characters. The |
| global routine is CHAWTH. |
| |
| Y real 0. affects the character spacing. The |
| global routine is CHASPC. |
| |
| Z real 0. defines an inclination angle for |
| characters, where -60 <= r <= 60. |
| The global routine is CHAANG. |
------------------------------------------------------------
For the following examples, the characters '{' and '}' are defined with
CALL SMXALF ('INST', '{', '}', 1)
to switch between the instruction and the base alphabet.
This paragraph presents an alternate method to the DISLIN instruction
alphabet for plotting mathematical formulas. The text formatting language
TeX has a very easy method for describing mathematical formulas. Since
this method is well-known by many scientists, an emulation mode for
TeX instructions is added to DISLIN with version 7.4.
TeX instructions can be enabled in DISLIN with the statement
CALL TEXMOD ('ON'). If TeX mode is enabled, mixed alphabets defined with
SMXALF and the control characters for indices and exponents described in
paragraph 6.5 will be ignored.
Mathematical formulas in TeX mode are produced in DISLIN by some special
descriptive text. This means that DISLIN must be informed that the following
text is to be interpreted as a mathematical formula. The character $ in a
text switches from text to math mode, and from math to text mode. Therefore,
mathematical formulas must be enclosed in a pair of dollar signs.
Numbers that appear within formulas are called constants, whereas simple
variables are represented by single letters. The universal practice in
mathematical typesetting is to put constants in Roman typeface and variables
in italics. DISLIN uses this rule by default in math mode. The rule can be
modified with the routine TEXOPT. Blanks are totally ignored in math mode
and spaces are included automatically by DISLIN between constants,
variables and operators.
The characters $, {, } and \ have a special meaning in TeX mode
and therefore cannot act as printable characters. To include them in
normal text, the commands \$, \{, \} and \\ must be used. Additional,
the characters _ and ^ have a special meaning in math mode and can be
handled in the same way.
T E X M O D
The routine TEXMOD can be used to enable TeX mode in DISLIN. In TeX mode,
all character strings passed to DISLIN routines can contain TeX
instructions for plotting mathematical formulas.
- The call is:
- CALL TEXMOD (CMODE) - level 1, 2, 3
- CMODE
- is a character string that can have the values 'ON'
and 'OFF'. CMODE = 'ON' enables TeX mode and CMODE = 'OFF'
disables TeX mode. Default: CMODE = 'OFF'.
T E X O P T
The routine TEXOPT sets some TeX options.
- The call is:
- CALL TEXOPT (COPT, CTYPE) - level 1, 2, 3
- COPT
- is a character string that can have the values 'ON'
and 'OFF'.
- CTYPE
- is a character string that can contain the keywords
'LIMITS' and 'ITALIC'. 'LIMITS' means that the limits
for sums and integrals will be placed above and below
the sum and integral signs instead of following them.
'ITALIC' means that for math mode variables will be put
in italics.
Default: ('ON', 'LIMITS'), ('ON', 'ITALIC').
Exponents and indices are characters that are either raised
or lowered relative to the base line of the text. The character ^
sets the next character as an exponent, while the
character _ sets it as an index.
When exponents and indices occur together, their order is
unimportant. If the exponent or index contains more than one
character, the group of characters must be inclosed in
braces { }.
Multiple raisings and lowerings are generated by applying ^
and _ to the exponents and indices.
Note: The commands ^ and _ are only allowed in math mode.
The instruction \frac{numerator}{denominator} can be used in
TeX math mode for plotting fractions. The numerator is plotted
on top of the denominator with a horizontal fraction
line between them. Fractions may be nested to a depth of 8
within one another.
Roots can be plotted with the syntax \sqrt[n]{arg} where the
optional part [n] can be omitted.
Roots may be nested inside one another to a depth of 8.
Summation and integral signs can be plotted with the two
instructions \sum and \int. Sums and integrals can posses
upper and lower limits that can be plotted with the exponent
and index instructions ^ and _. By default, the limits are
placed below and above the summation and integral signs.
This can be modfified with the routine TEXMOD or with the
instruction \nolimits following the summation and integral
signs.
The following Greek letters are available in text and in
math mode. If they are used in text mode, the first blank
character after the letter will be interpreted as a sepera-
tor and will be ignored.
\alpha \theta o \chi
\beta \iota \pi \psi
\gamma \kappa \rho \omega
\delta \lambda \sigma
\epsilon \mu \tau
\zeta \nu \upsilon
\eta \xi \phi
\Gamma \Lambda \Sigma \Psi
\Delta \Xi \Upsilon \Omega
\Theta \Pi \Phi
The following mathematical symbols are available in text and
in math mode.
\pm \cdot \cup \odot
\mp \ast \vee \oplus
\times \star \wedge \ominus
\div \cap \setminus
\le, \leq \ge, \geq \neq \sim
\subset \supset \cong \mid
\subseteq \supseteq \equiv \notin
\in \ni \parallel \not=
\leftarrow \rightarrow \Leftrightarrow \downarrow
\Leftarrow \Rightarrow \uparrow
\emptyset \surd \forall \backlslash
\nabla \partial \exists \infty
The DISLIN alphabets 'STANDARD', 'ITALIC', 'GREEK', 'SCRIPT'
and 'RUSSIAN' can be used in TeX mode with the instructions
\rm, \it, \gr, \cal and \ru.
The standard for mathematical formulas is to set variable
names in italics but the names of functions in Roman. The
following function names will be recognized by DISLIN and
plotted in Roman.
\arccos \arcsin \arctan \arg \cos \cosh \cot
\coth \csc \dec \dim \exp \hom \ln
\log \sec \sin \sinh \tan \tanh
Accents are available in TeX mode in the same way as in
normal DISLIN mode (see EUSHFT)
The commands \overline{arg} and \underline{arg} can be used
to draw lines over and under a formula.
The command \vec{arg} draws a vector over a formula. All
commands can be used in TeX text and math mode.
Small amounts of horizontal spacing can be added in TeX mode
with the following commands:
\, small space = 3/18 of the current character size
\: medium space = 4/18 of the current character size
\; large space = 5/18 of the current character size
\! negative space = -3/18 of the current character size
Larger amounts of horizontal spacing can be added with the
commands:
\quad extra space = 1/1 of the current character size
\qquad extra space = 2/1 of the current character size
The commands \tiny, \scriptsize, \footnotesize, \small,
\normalsize, \large, \Large, \LARGE, \huge and \Huge can be
used in TeX mode for modifying the character size. The command
\normalsize is corresponding to the current character
size before the call of the text plotting routine. The
character size is decreased or increased by a factor of 1.2
for neighbouring character size commands.
The commands \black, \red, \green, \blue, \cyan, \yellow,
\orange, \magenta, \white, \fore and \back set the corresponding
colours in TeX mode.
C H N C R V
CHNCRV defines attributes that will be automatically changed by CURVE
after a certain number of calls to the routine CURVE.
- The call is:
- CALL CHNCRV (CATT) - level 1, 2, 3
- CATT = 'NONE'
- means that CURVE changes no attributes.
- = 'COLOR'
- means that colours will be changed.
- = 'LINE'
- means that line styles will be changed.
- = 'BOTH'
- means that colours and line styles
will be changed.
Default: CATT = 'NONE'.
- Additional note:
- The sequence of colours is WHITE/BLACK,
RED, GREEN, YELLOW, BLUE, ORANGE, CYAN and MAGENTA.
The sequence of line styles is SOLID, DOT, DASH,
CHNDSH, CHNDOT, DASHM, DOTL and DASHL.
The symbol number is always changed. It will be incremented
by 1 starting with the current symbol defined by MARKER.
The following three routines are useful when automatic attribute setting
is selected and the routine CURVE is called several times to plot a
single curve.
I N C C R V
INCCRV defines the number of calls after which CURVE will automatically
change attributes.
- The call is:
- CALL INCCRV (NCRV) - level 1, 2, 3
- NCRV
- is the number of curves that will be plotted
with identical attributes.
Default: NCRV = 1
C H N A T T
CHNATT is an alternative routine to INCCRV. It is useful when the number of
curves plotted with identical attributes varies. CHNATT defines new
attributes that will be used by CURVE during the next call.
- The call is:
- CALL CHNATT - level 1, 2, 3
Additional notes:
- CHNATT changes only attributes specified with CHNCRV.
- Attributes cannot be skipped by calling CHNATT
several times; the order of the
attribute cycles must be changed.
R E S A T T
In general, curve attributes will be repeated after 8 changes. With the routine
RESATT, the attributes can be reset earlier.
- The call is:
- CALL RESATT - level 1, 2, 3
I N C M R K
INCMRK selects line or symbol mode for CURVE.
- The call is:
- CALL INCMRK (NMRK) - level 1, 2, 3
- NMRK = - n
- means that CURVE plots only symbols. Every n-th point
will be marked by a symbol.
- NMRK = 0
- means that CURVE connects points with lines.
- NMRK = n
- means that CURVE plots lines and marks every n-th point
with a symbol.
Default: NMRK = 0
M A R K E R
The symbols used to plot points can be selected with the routine MARKER.
The symbol number will be incremented by 1 after a certain number of calls
to CURVE defined by INCCRV.
- The call is:
- CALL MARKER (NSYM) - level 1, 2, 3
- NSYM
- is the symbol number between 0 and 21.
The symbols are shown in appendix B.
Default: NSYM = 0
H S Y M B L
HSYMBL defines the size of symbols.
- The call is:
- CALL HSYMBL (NHSYM) - level 1, 2, 3
- NHSYM
- is the size of symbols in plot coordinates.
Default: NHSYM = 35
T H K C R V
THKCRV defines the thickness of curves.
- The call is:
- CALL THKCRV (NTHK) - level 1, 2, 3
- NTHK
- is the thickness of curves in plot coordinates.
Default: NTHK = 1
G A P C R V
GAPCRV defines a data gap used in the routine CURVE. If the
distance between two neightbouring X coordinates is greater
than the gap value, CURVE will not connect these data
points.
- The call is:
- CALL GAPCRV (XGAP) - level 1, 2, 3
- XGAP
- is the gap value.
P O L C R V
POLCRV defines an interpolation method used by CURVE to connect points.
- The call is:
- CALL POLCRV (CPOL) - level 1, 2, 3
- CPOL
- is a character string containing the interpolation
method.
- = 'LINEAR'
- defines linear interpolation.
- = 'STEP'
- defines step interpolation.
- = 'STAIRS'
- defines step interpolation.
- = 'BARS'
- defines bar interpolation.
- = 'STEM'
- defines stem interpolation.
- = 'SPLINE'
- defines spline interpolation.
- = 'PSPLINE'
- defines parametric spline interpolation.
Default: CPOL = 'LINEAR'.
Additional notes:
- The width of bars can be set with BARWTH.
- For spline interpolation, the X-coordinates must have
different values and be in ascending order.
There is no restriction for a parametric spline.
The order of spline polynomials and the number of
interpolated
points can be modified with SPLMOD.
S P L M O D
SPLMOD defines the order of polynomials and the number of interpolated points
used for the interpolation methods 'SPLINE' and 'PSPLINE'.
- The call is:
- CALL SPLMOD (NGRAD, NPTS) - level 1, 2, 3
- NGRAD
- is the order of the spline polynomials (2 - 10). It affects
the number of points accepted by CURVE which is determined
by the formula (2 * NGRAD + 1) * N <= 1000. For
example, with a cubic spline, up to 142 points can be
passed to CURVE.
- NPTS
- is the number of points that will be interpolated
in the range XRAY(1) to XRAY(N).
Default: (3, 200).
B A R W T H
BARWTH sets the width of bars plotted by CURVE.
- The call is:
- CALL BARWTH (XWTH) - level 1, 2, 3
- XWTH
- defines the bar width. If positive, the absolute
value of XWTH * (XRAY(1)-XRAY(2)) is used.
If negative, the absolute value of XWTH is used where
XWTH is specified in plot coordinates.
Default: XWTH = 0.75
N O C H E K
The routine NOCHEK can be used to suppress the listing of points
that lie outside of the axis scaling.
- The call is:
- CALL NOCHEK - level 1, 2, 3
L I N E S T Y L E S
The routines SOLID,
DOT,
DASH,
CHNDOT,
DASHM,
DOTL
and DASHL
define different line styles. They are called without parameters.
The routine LINTYP (NTYP)
can also be used to set line styles where NTYP is an integer
between 0 and 7 and corresponds to the line styles above.
The routine MYLINE sets user-defined line styles.
M Y L I N E
MYLINE defines a global line style.
- The call is:
- CALL MYLINE (NRAY, N) - level 1, 2, 3
- NRAY
- is an array of positive integers characterizing
the line style. Beginning with pen-down, a pen-down
and pen-up will be done alternately according to
the specified lengths in NRAY. The lengths must be given
in plot coordinates.
- N
- is the number of elements in NRAY.
- Examples:
- The values of NRAY for the predefined line styles
are given below:
SOLID : NRAY = {1}
DOT : NRAY = {1, 10}
DASH : NRAY = {10, 10}
CHNDSH: NRAY = {30, 15, 10, 15}
CHNDOT: NRAY = {1, 15, 15, 15}
DASHM : NRAY = {20, 15}
DOTL : NRAY = {1, 20}
DASHL : NRAY = {30, 20}
L I N W I D
The routine LINWID sets the line width.
- The call is:
- CALL LINWID (NWIDTH) - level 1, 2, 3
- NWIDTH
- is the line width in plot coordinates.
Default: NWIDTH = 1
- Additional note:
- To define smaller line widhts than 1 (i.e. for
PostScript files), the routine PENWID (XWIDTH)
can be used where XWIDTH
has the same meaning as NWIDTH.
L N C A P
The routine LNCAP sets the current line cap parameter.
- The call is:
- CALL LNCAP (CAP) - level 1, 2, 3
- CAP
- is a character string defining the line cap.
- = 'ROUND'
- defines rounded caps.
- = 'CUT'
- defines square caps.
- = 'LONG'
- defines square caps where stroke ends
will be continued equal to half the line width.
Default: CAP = 'LONG'.
L N J O I N
The routine LNJOIN sets the current line join parameter.
- The call is:
- CALL LNJOIN (CJOIN) - level 1, 2, 3
- CJOIN
- is a character string containing the the line join.
- = 'SHARP'
- defines sharp corners between path segments.
- = 'TRUNC'
- defines truncated corners between path
segments.
Default: CJOIN = 'TRUNC'.
L N M L T
The routine LNMLT sets the current miter limit parameter. This routine
can be useful if the line join is set to 'SHARP'.
- The call is:
- CALL LNMLT (XFC) - level 1, 2, 3
- XFC
- is a floatingpoint number where XFC * line width will
be used as the miter limit. The miter length is the
distance between the inner and outside edge of a path
corner.
Default: XFC = 2.
S H D P A T
SHDPAT selects shading patterns used by routines such as SHDCRV and AREAF.
- The call is:
- CALL SHDPAT (IPAT) - level 1, 2, 3
- IPAT
- is an integer between 0 and 17. The predefined
patterns are shown in appendix B.
M Y P A T
MYPAT defines a global shading pattern.
- The call is:
- CALL MYPAT (IANGLE, ITYPE, IDENS, ICROSS)
- level 1, 2, 3
- IANGLE
- is the angle of shading lines (0 - 179).
- ITYPE
- defines the type of shading lines:
- = 0
- no shading lines.
- = 1
- equidistant lines.
- = 2
- double shading lines.
- = 3
- triple shading lines.
- = 4
- thick shading lines.
- = 5
- dotted lines.
- = 6
- dashed lines.
- = 7
- dashed-dotted lines.
- IDENS
- defines the distance between shading lines (0: small
distance, 9: big distance).
- ICROSS
- indicates whether shading lines are hatched (0: not
hatched, 1: hatched).
- Examples:
- The following calls to MYPAT show the predefined
shading patterns used by SHDPAT:
IPAT = 0: CALL MYPAT ( 0, 0, 0, 0)
IPAT = 1: CALL MYPAT ( 45, 1, 5, 0)
IPAT = 2: CALL MYPAT (150, 4, 5, 0)
IPAT = 3: CALL MYPAT (135, 1, 5, 0)
IPAT = 4: CALL MYPAT ( 45, 4, 5, 0)
IPAT = 5: CALL MYPAT ( 45, 1, 5, 1)
IPAT = 6: CALL MYPAT (135, 2, 1, 0)
IPAT = 7: CALL MYPAT ( 45, 4, 5, 1)
IPAT = 8: CALL MYPAT ( 30, 1, 4, 0)
IPAT = 9: CALL MYPAT ( 45, 2, 1, 1)
IPAT = 10: CALL MYPAT ( 0, 1, 5, 1)
IPAT = 11: CALL MYPAT ( 45, 3, 1, 0)
IPAT = 12: CALL MYPAT ( 70, 4, 7, 0)
IPAT = 13: CALL MYPAT ( 45, 3, 1, 1)
IPAT = 14: CALL MYPAT ( 0, 4, 5, 1)
IPAT = 15: CALL MYPAT ( 45, 2, 1, 0)
IPAT = 16: CALL MYPAT ( 0, 1, 0, 0)
IPAT = 17: CALL MYPAT ( 0, 5, 5, 0)
N O A R L N
With the routine NOARLN the outlines of shaded regions
can be suppressed.
- The call is:
- CALL NOARLN - level 1, 2, 3
The attributes line style, colour and shading pattern can be changed
automatically by routines such as CURVE, SHDCRV, BARS and PIEGRF
according to a predefined cycle.
The cycles are:
- Line styles:
- SOLID, DOT, DASH, CHNDSH, CHNDOT, DASHM, DOTL
and DASHL.
- Colours:
- WHITE/BLACK, RED, GREEN, YELLOW, BLUE, ORANGE,
CYAN and MAGENTA.
- Shading:
- Pattern numbers from 0 to 17.
The following subroutines allow the redefining of cycles.
L I N C Y C
LINCYC changes the line style cycle.
- The call is:
- CALL LINCYC (INDEX, ITYP) - level 1, 2, 3
- INDEX
- is an index between 1 and 30.
- ITYP
- is an integer between 0 and 7 containing the line
style
(0 = SOLID, 1 = DOT, 2 = DASH,
3 = CHNDSH, 4 = CHNDOT, 5 = DASHM, 6 = DOTL,
7 = DASHL).
C L R C Y C
CLRCYC changes the colour cycle.
- The call is:
- CALL CLRCYC (INDEX, ICLR) - level 1, 2, 3
- INDEX
- is an index between 1 and 30.
- ICLR
- is a colour number (see SETCLR).
P A T C Y C
PATCYC changes the shading pattern cycle.
- The call is:
- CALL PATCYC (INDEX, IPAT) - level 1, 2, 3
- INDEX
- is an index between 1 and 30.
- IPAT
- is a pattern number between 0 and 17 or is determined
by the formula
IANGLE * 1000 + ITYPE * 100 + IDENS * 10 + ICROSS
with the parameters described in MYPAT.
The following subroutines create a transformation matrix that affects
plot vectors contained within page borders.
Vectors may be scaled,
shifted and rotated and the transformations can be combined in any order.
T R F S H F
TRFSHF affects the shifting of plot vectors.
- The call is:
- CALL TRFSHF (NXSHFT, NYSHFT) - level 1, 2, 3
- NXSHFT, NYSHFT
- are plot coordinates that define the
magnitude of shifting in the X- and Y-direction.
T R F S C L
TRFSCL affects the scaling of plot vectors.
- The call is:
- CALL TRFSCL (XSCL, YSCL) - level 1, 2, 3
- XSCL, YSCL
- are scaling factors for the X- and Y-direction.
T R F R O T
TRFROT affects the rotation of plot vectors around a point.
- The call is:
- CALL TRFROT (XANG, NX, NY) - level 1, 2, 3
- XANG
- is the rotation angle measured in degrees in a
counter-clockwise direction.
- NX, NY
- are the plot coordinates of the rotation point.
T R F R E S
TRFRES resets base transformations.
- The call is:
- CALL TRFRES - level 1, 2, 3
This section describes how to protect regions from being overwritten.
Shielded regions can be defined automatically by DISLIN or explicitly
by the user.
Shielded regions are stored in a buffer which can then be manipulated
by the user.
S H I E L D
SHIELD selects shielded regions which are set automatically by DISLIN.