Coloured cell plot for ungridded data.
CELL_FUNCTION/DRAW [/SMOOTH] [/LOG] [/SQRT] | values=RealArray table=ColourTable function_name=String [valmax=Real] [valmin=Real] | Plots a cell_function on a graphics device |
CELL_FUNCTION/ALTER [/SMOOTH] [/LOG] [/SQRT] | values=RealArray table=ColourTable function_name=String [valmax=Real] [valmin=Real] object=Gobject | Alters a cell_function already drawn on a graphics device |
example:
# Plot some ungridded data with a # a user specified module function >> Cell_function/Draw values=my_points & function_name="my_gridding_function"
Note: Need to load user function with the Module/Load command before use.
Draws a colour cell plot using a user written module function to supply the location of the data points, for example a non-uniform grid for S(Q) plots. This is the most general of the colour cell plotting functions and requires that the user writes or uses a pre-existing FORTRAN module to calculate the grid for the data. For more information on writing modules, see the Module() command and also the "user notes" section of this manual. If a the function can be plotted on a linear or non-linear grid, you may be able to use the Cell() or Cell_array() commands to avoid the need to use a module.
/Smooth
Interpolate colour across each cell.
/Log
Draws a logarithmic cell plot.
/Sqrt
Draws a square root cell plot.
Values (RealArray)
Defines the cell values of the cell plot, values is a two dimensional array with sufficient data to fit the grid points.
Table (Colourtable)
Defines the colour table for the cell plot.
Function_name (String)
This is the function name of a function previously written and compiled in fortran.
Valmax (Real)
Cut off maximum above which the colour table will not be mapped.
Valmin (Real)
Cut off minimum below which the colour table will not be mapped.
RESULT = (CellFunction)
This returns all of the properties of the Cell_function.
Alters an already created cell function.
/Smooth
Interpolate colour across each cell.
/Log
Draws a logarithmic cell plot.
/Sqrt
Draws a square root cell plot.
Values (RealArray)
Defines the cell values of the cell plot, values is a two dimensional array with sufficient data to fit the grid points.
Table (Colourtable)
Defines the colour table for the cell plot.
Function_name (String)
This is the function name of a function previously written and compiled in fortran.
Valmax (Real)
Cut off maximum above which the colour table will not be mapped.
Valmin (Real)
Cut off minimum below which the colour table will not be mapped.
Object (Gobject)
The cell function plot to be altered.
RESULT = (CellFunction)
This returns all of the properties of the Cell_function.