T O P I C R E V I E W |
AKazak |
Posted - 04/28/2020 : 2:38:22 PM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2019b (64-bit) 9.6.5.169
I have the following case:
![](https://my.originlab.com/ftp/forum_and_kbase/Images/2020-04-28_21h30_20_.png)
How do I tie plots with the same names in such a way to toggle their display correspondingly?
![](https://my.originlab.com/ftp/forum_and_kbase/Images/2020-04-28_21h35_24.gif)
Thank you. |
9 L A T E S T R E P L I E S (Newest First) |
AKazak |
Posted - 06/04/2020 : 05:22:35 AM 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 |
snowli |
Posted - 05/28/2020 : 4:23:19 PM 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 |
cpyang |
Posted - 05/25/2020 : 4:31:07 PM 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
|
AKazak |
Posted - 05/25/2020 : 4:11:18 PM 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 |
cpyang |
Posted - 05/25/2020 : 1:08:04 PM 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
|
AKazak |
Posted - 05/23/2020 : 5:36:13 PM Can I write call-back functions (firing right after I do something with GUI) and use them in a plot window?
--- AK |
AKazak |
Posted - 05/01/2020 : 03:42:04 AM 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? |
AKazak |
Posted - 04/29/2020 : 09:44:34 AM 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? |
Chris D |
Posted - 04/29/2020 : 07:55:35 AM 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
|