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.
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.
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;