I plot multiple surfaces in one plot cube. But I cannot make them to have the same color bar. I have defined an ILColorbar and added them to the surfaces but it plots two color bars with different numbers. Is it possible for the both surfaces to have the same color bar? Moreover, how can I add text to the color bar (title, labels)? Thank you very much. Here is an example:
private void ilPanel1_Load(object sender, EventArgs e)
{
var scene = new ILScene();
// add a new plot cube
var pc = scene.Add(new ILPlotCube());
pc.TwoDMode = false;
// Create Data
ILArray<float> A = ILSpecialData.torus(0.75f, .25f);
ILArray<float> B = ILSpecialData.torus(3.0f, .65f);
// Add the surface
var sf1 = new ILSurface(A);
var sf2 = new ILSurface(B);
pc.Add(sf1);
pc.Add(sf2);
sf1.Colormap = Colormaps.Jet;
sf2.Colormap = Colormaps.Jet;
var cb = new ILColorbar();
sf1.Add(cb);
sf2.Add(cb);
ilPanel1.Scene = scene;
}