The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Graph Layers in a graph page

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
newuser_ca 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.
3   L A T E S T    R E P L I E S    (Newest First)
greg 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.
newuser_ca Posted - 05/30/2012 : 09:49:40 AM
Thanks a lot.

will do in the future. sorry for the incovenience.
Penn 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000