Origin Ver. and Service Release (Select Help-->About Origin): 2015G (64-Bit) Sr2 b9.2.272
Operating System: Windows 7 Professional SP1
Hello everyone,
i want change the colormap of my 3d surface plots by a LabTalk script. My layer contains 4 plots. The script looks like this (just a part of the code). The layer is activ when the code runs!
...
layer.plot2.cmap.zmin= 305;
layer.plot2.cmap.zmax= 314;
layer.plot2.cmap.type= 1;
layer.plot2.cmap.numMajorLevels= 10;
layer.plot2.cmap.numMinorLevels= 9;
sec -p 1;
layer.cmap.setLevels();
sec -p 1;
layer.cmap.updateScale();
...
I also try'd the following:
layer.plot2.cmap.setLevels();
layer.plot2.cmap.updateScale();
Even if i just have one plot activ, it dosn't work.
layer -hp 1 1;
layer -hp 0 2;
layer -hp 1 3;
layer -hp 1 4;
layer -a;
What i desire is:
What i still get:
Origin update the values but not the cmap for plot2...4.
Any suggestions?
Best Regards
Rene