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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Show
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

XeSSo

1 Posts

Posted - 09/05/2015 :  12:39:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello!

Is there a way to show/hide part of data plots on a graph for specified X range? What if this plots are grouped together?

cpyang

USA
1406 Posts

Posted - 09/05/2015 :  10:40:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
First mask the data that you want to hide, then click the button to Hide the masked points.

CP
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 09/09/2015 :  10:23:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi XeSSo,

Could you please try the following snippet?
range rg=[Graph1]Layer1!1;
xlow=xindex1(3.5,rg); //X range from 3.5 to 7.5 properly within the range
xhigh=xindex(7.5,rg); 
mark -st rg -b xlow -e xhigh; //Apply masking
@mp=1;  //0=Show, 1=Hide
mark -u;
I suppose X dataset should be monotonic.

Hope this helps.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 09/09/2015 11:29:13 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000