Author |
Topic |
|
newuser_ca
70 Posts |
Posted - 05/29/2012 : 2:00:27 PM
|
Origin 8.6 in Windows 7.
I have several graph layers in a graph page. I want to show the active layer only instead of all layers. I right-click and select "Show Active Laye Only". and it worked.
How can I set it in Origin C? I print the graphpage tree using the following code: Tree tr; tr = gp.GetFormat(FPB_ALL, FOB_ALL, true, true); out_tree(tr);
but I didn't get any related information.
Another question is: can I change the graphlayer name to "plot1 plot2 plot3 ..." instead of "1 2 3..." in the upper-left corner of graph page? If yes, how can I do it in Origin C?
thanks. |
|
Penn
China
644 Posts |
Posted - 05/29/2012 : 10:29:25 PM
|
Hi,
You can refer to this example on showing the active layer only.
About the "1 2 3..." icons, they cannot be changed.
By the way, if your questions are about programming, please post them to programming forums in the future. Thanks.
Penn |
|
|
newuser_ca
70 Posts |
Posted - 05/30/2012 : 09:49:40 AM
|
Thanks a lot.
will do in the future. sorry for the incovenience. |
|
|
greg
USA
1378 Posts |
Posted - 05/30/2012 : 10:36:36 AM
|
While the icons will not change, you can name the layers. The Name property of a Layer can be set with LabTalk, or you can use the SetName method for a layer in Origin C. |
|
|
|
Topic |
|
|
|