C-PLOT

Scientific Graphics and Data Analysis

C.2.2. - Upper-case letters



The upper-case letters A to Z represent single-valued variables. They retain their values on subsequent calls to calc.4. Variables can appear on either side of an equation. For instance, you may have:
fn calc.4  A = 1.4; B = 4.4e-2; C = 3.22e-4
fn .  y = A*x + B*x*x + C*x*x*x
or
fn calc.4  n = 101; W = i*pi/50; x = cos(W); y = sin(W)
Assignment to variables only occurs if the number of current points is nonzero. If you have no current points, you may use n = 1 to force evaluation of your expressions.