This is an improvement that Origin still has to make, but meanwhile you can create some new menu commands to help you with hiding/showing datasets. Based on this other topic suggestions, you can edit the fullmenu.cnf file in your Origin folder and add the following script at the end:
// Add menu items for hidding/showing datasets
menu -G; // Apply for graphs only
menu ?Da; // Under the Data menu
menu (Hide current) {
# Make %c invisible.
set %C -s 0;
}
menu (Show current) {
# Make %c visible.
set %C -s 1;
}
menu (Hide others) {
# Make visible only %c, hide others.
%Z=""; lay -c;
loop (ii,1,count)
{
set %[%Z,#ii] -s 0; // hide each curve
};
set %C -s 1; // show the active curve
}
menu (Show all datasets) {
# Make all the datasets visible
%Z=""; lay -c;
loop (ii,1,count)
{
set %[%Z,#ii] -s 1; // show each curve
};
}
Save the modified file and restart Origin. This will add four items under the Data menu in the menu bar that you'll find very useful. First select your dataset in that Data menu to activate it, then click on the desired option (commands will run on the currently selected dataset).
Jose Via, Origin WebRing member