2.6. SET: User definition constant¶
SET: c1[ 52.3 ] c2[ 2 pi ] c3[ c1 * 1.e-8 ]
This “set” definition can be written in anyplace. Defined user-constant can be used as a numerical value in your input file. User-constants can be re-defined any number of times, and these values is kept until re-defined. In the 3rd case of above example (c3), another user-constant c1 is called in a user-constant definition. In the case, the value in which the user-constant c1 keeps at that time, is used. So even if you re-define the c1 below the c3 definition, the value of c3 defined here is not changed. pi is set to the value of \(\pi\) in default.
In addition to pi, ran can be used for random number of [ 0 - 1 ].
The user definition constants can be shown in figure. The position of the constants is in default at the center just above the graph frame. You can change the position and scale by the following parameters which are defined in the parameters section.
2.6.1. User definition constant parameters¶
parameter |
explanation |
|---|---|
|
Show user definition constant |
|
Do not show user definition constant (default) |
|
\(x\) is the position of the left hand side of expression |
|
\(y\) is the position of the top of expression |
|
Change scale of the expressioon by \(s\) (D=1) |
|
Change color of text to \(c\) [1] (D=e) |
|
Show frame around by \(boxname\) [2] |
|
Change color of backgraund of box to \(cb\) (D=w) |
|
Change color of frame of box to \(cl\) (D=e) |
|
Change color of shadow of box to \(cs\) (D=e) |