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
 hide datasets in legend

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
gkeating Posted - 06/12/2007 : 5:13:44 PM
Origin Version (Select Help-->About Origin): originpro 7.5 sr6
Operating System: XP

I have a plot with several curves in a single layer. In the Plot Setup dialog, I have unchecked the "Show" box next to some of these curves in order to produce a simplified plot.

Is it possible to have the legend only show these "show" curves and not the hidden ones? At this point I'm getting tired of having to manually delete the hidden curves from the legend. I don't see an option in the Plot Details --> Legend tab for doing this sort of filter.
3   L A T E S T    R E P L I E S    (Newest First)
gkeating Posted - 06/13/2007 : 1:58:16 PM
Thanks, Deanna and Mike.
I'll give the script a try!
-Gordon
Mike Buess Posted - 06/13/2007 : 06:41:08 AM
You can edit the legend yourself by assigning the following script to the Custom Routine button as explained here. Click the button each time you hide or show a curve.

%Z=""; nn=0;
doc -e DY {
nn++;
get %C -s ii;
if( ii ) {
if( %Z!="" ) {
%Z=%Z
\l($(nn)) %%($(nn));
};
else %Z=\l($(nn)) %%($(nn));
};
};
legend.text$=%Z;

Mike Buess
Origin WebRing Member
Deanna Posted - 06/12/2007 : 10:36:42 PM
Thank you for your suggestion. I am sorry to say that it is not possible to do it in Origin 7.5. We will consider implementing your suggestion in our future products.

Deanna
OriginLab Technical Services

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