The program KUPLOT recognises various variables. The contents of a variable can be displayed using the 'eval' command. Some variables are READONLY (RO) and can not be changed.
Free variables :----------------
"i[<n>]" : integer variables (currently 0 <= <n> <= 59) "r[<n>]" : real variables (currently 0 <= <n> <= 59)
KUPLOT specific variables : ---------------------------
"x[<ik>,<ip>]" : x value of point <ip> in loaded data set <ik>. "y[<ik>,<ip>]" : y value of point <ip> in loaded data set <ik>. "dx[<ik>,<ip>]" : value of sigma x of <ip> in loaded data set <ik>. "dy[<ik>,<ip>]" : value of sigma y of <ip> in loaded data set <ik>. "z[<ik>,<ix>,<iy>" : z value of point <ix>,<iy> of loaded data set <ik>.
"nx[<ik>]" : # points in x-direction of data set <ik>. (RO) "ny[<ik>]" : # points in y-direction of data set <ik>. (RO) "ni[<ik>]" : data set <ik> is 2D (=0) or 3D (=1). (RO) "np[<ik>]" : # points of 2D data set <ik>. (RO)
"xmin[<ik>]" : minimum x-value of data set <ik> (RO) "xmax[<ik>]" : maximum x-value of data set <ik> (RO) "ymin[<ik>]" : minimum y-value of data set <ik> (RO) "ymax[<ik>]" : maximum y-value of data set <ik> (RO) "zmin[<ik>]" : minimum z-value of data set <ik> (RO) "zmax[<ik>]" : maximum z-value of data set <ik> (RO)
"n[1]" : number of loaded data sets (RO) "n[2]" : maximum number of data sets (RO)
"cmap[<ic>,3]" : colour map entry RGB for colour <ic> "cmax[1]" : maximum number of bitmap colours (RO) "cmax[2]" : bitmap colour modus : -2 : Postscript colour + new colourmap X11 -1 : Postscript gray + new colourmap X11 1 : Postscript gray + old colourmap X11 2 : Postscript colour + old colourmap X11
Variables containing command results : --------------------------------------
"res[<n>]" : Result of several calculations that return more than one value. res[0] contains the number of values returned, res[1] to res[res[0]] contain the actual values. The values of "res" change everytime, a command is applied that returns more than one value. The old values are lost !