ImageSC graphs
ILImageSCGraph is the class representing ImageSC graphs. ImageSC
graphs are 3D plots,
which represent the third dimension as color only. ImageSC graphs look similar to
surface graphs, having the height limited to zero. Also, surface graphs associate
a corner of a rectangular area to each data point. In difference to that, ImageSC
does associate each datapoint with an individual rectangular area itself.
ImageSC gaphs are created by use of the function ILPanel.Graphs.AddImageSCGraph(ILBaseArray).
This creates a new ILImageSCGraph object, adds it to the collection of
existing graphs and returns it for further configuration.
The code creating the graph seen on the left, can be downloaded for testing here. All demos in this section will also be based on this example.
ImageSCGraph provides the same properties as surface graphs. For
configuration we therefore link to the
ILSurfaceGraph section.
However, the ZPosition property is unique to ILImageSCGraph.
It determines the position of the imagesc graph in the global value range. This will
mainly be interesting, if the graph is rendered in the context of more than one graph.
ZPosition example
For the left image a surface graph and an imagesc graph are both added to a panels
graph collection. Per default, the imagesc graph will be displayed on the bottom of
the cube. However, this position can get adjusted by use of the ZPosition
property.
Graphs collection. Positioning graphs that way,
that both graphs intersect each other, may lead to unexpected results.