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
 Origin Forum
 Tie plots for display in a graph windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 04/28/2020 :  2:38:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
OriginPro 2019b (64-bit)
9.6.5.169

I have the following case:


How do I tie plots with the same names in such a way to toggle their display correspondingly?


Thank you.

Chris D

428 Posts

Posted - 04/29/2020 :  07:55:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You should be able to right-click on a plot in Object manager and select "Show Plots with Same Name Only".

I hope this helps.



Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 04/29/2020 :  09:44:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Chris D

You should be able to right-click on a plot in Object manager and select "Show Plots with Same Name Only".

I hope this helps.

Thanks,
Chris Drozdowski
Originlab Technical Support




Dear Chris,

The "Show Plots with Same Name Only" option is a great option and it works well.
However, how do I make it run automatically after any left mouse click in Object Manager?
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/01/2020 :  03:42:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by AKazak
Dear Chris,
The "Show Plots with Same Name Only" option is a great option and it works well.
However, how do I make it run automatically after any left mouse click in Object Manager?



Can I automate this via LT?
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/23/2020 :  5:36:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Can I write call-back functions (firing right after I do something with GUI) and use them in a plot window?


---
AK
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 05/25/2020 :  1:08:04 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It is a good idea to have such, we will add to 2021 (ORG-21997), but for now, use Redraw, which works but will be triggered even if you move a label on the graph.

Add a text object, move it to outside the page, and in Programming tab, set LT to run after Redraw.

CP
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 05/25/2020 :  4:11:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by cpyang

It is a good idea to have such, we will add to 2021 (ORG-21997), but for now, use Redraw, which works but will be triggered even if you move a label on the graph.

Add a text object, move it to outside the page, and in the Programming tab, set LT to run after Redraw.

CP





Great news!
Can you share the snippet for using Redraw, please?


---
AK
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 05/25/2020 :  4:31:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It is just the general thing about adding an object to run script, see

http://d2mvzyuse3lwjc.cloudfront.net/doc/LabTalk/guide/From-Graphical-objs

In this writing, it talked about Button Up, but you see a list of other events in the drop down list.

CP
Go to Top of Page

snowli

USA
1398 Posts

Posted - 05/28/2020 :  4:23:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi AK,

Regarding to your original question, we do support it.
Open Plot Details dialog. Choose Graph node on the left.
On Layers tab, there is "Show/Hide Plots with Same Name" checkbox.
U can specify what metadata to use. E.g. by Long Name or Unit, or Comments, etc.
Then in Object Manger, click plot in one layer will affect other layers.

We had a Tips and Tricks video for this as well:
https://www.youtube.com/watch?v=z0ILUPnzFBk&feature=youtu.be


Thanks, Snow
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 06/04/2020 :  05:22:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by snowli

Hi AK,

Regarding to your original question, we do support it.
Open Plot Details dialog. Choose Graph node on the left.
On Layers tab, there is "Show/Hide Plots with Same Name" checkbox.
U can specify what metadata to use. E.g. by Long Name or Unit, or Comments, etc.
Then in Object Manger, click plot in one layer will affect other layers.

We had a Tips and Tricks video for this as well:
https://www.youtube.com/watch?v=z0ILUPnzFBk&feature=youtu.be


Thanks, Snow



Great!
This is exactly what I was asking about.

Thank you.


---
AK
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