|
Contents | Previous | Next | Subchapters |
| Syntax |
avimage(color source) |
avimage(plotName, color source) | |
avimage(plotName, color source, color format) | |
"/" then
the graph is created in the root directory, otherwise
the value of plotName must be a valid group
name such as "/ImagePlots".
If the type of data plotted by avimage is logical then
the color palette for the group containing the plot is converted to a black
and white palette.
If the type of data plotted by avimage is char then
the color palette for the group containing the plot is converted to a gray
scale palette.
By default avimage uses the Array Viewer color format type of "Range".
(See the Array Viewer documentation for detailed description of color formats.)
If present, the argument color format must equal,
"INDEX", "RANGE", "MONO", "RGBA",
"RGBX", "ABGR", or "XBGR".
avimage(rand(4,5));
The Data Visualizer will create the following graph
If you continue the example by entering
R = rand(12,18) * 1000
R = char( mod(R,256) )
avimage("/GrayScale", R)
The following graph will be created