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 for Programming
 LabTalk Forum
 question about hide specified plot

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
sunaeseo Posted - 09/27/2016 : 01:27:25 AM
I have graph1 with 5 layers. All those layers includes multiple 20 plots.And I want to hide only even plots (2,4,6,8--20). If I go to plot details , I do remove click on those plots, it's possible. but I want to do automatically. If anyone knows the way, please teach me.
2   L A T E S T    R E P L I E S    (Newest First)
sunaeseo Posted - 09/27/2016 : 03:49:30 AM
thank you .it is working well.
yuki_wu Posted - 09/27/2016 : 03:00:09 AM
Hi,

I think you can try the scripts below:

for(ii=1; ii<=page.nLayers; ii++)
{
	page.active = ii;
	layer -c;

	for(jj=2; jj <= count; jj+=2)
	{
		layer -hp 1 $(jj);
	}
}


The details about layer -hp can be found here:
http://www.originlab.com/doc/LabTalk/ref/Layer-cmd#-hp.3B_hide_or_show_data_plot.28s.29

Hope it helps.

Regards,
Yuki
OriginLab

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