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
 Rescaling Y axes of all the graph layers

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
AKazak Posted - 05/04/2020 : 5:26:48 PM
OriginPro 2019b (64-bit) 9.6.5.169
Windows 7 Pro x64 SP1

Greetings!

I have a plot window with more than a hundred line plots on 10 layers.

For some unknown reason setting Y-axis Rescale setting to Auto doesn't work and doesn't update the scale while I show/hide various plots.

Please share a piece of code to loop over all the layers of the active graph windows and rescale the right Y-axis on all the layers.

Thank you.
4   L A T E S T    R E P L I E S    (Newest First)
AKazak Posted - 05/05/2020 : 08:52:26 AM
quote:
Originally posted by Chris D

Hi,

The Browser Graph is built into 2020b and isn't back portable. But it is really cool when you want to visually inspect a large number of similar plots.you can even use Gadgets that will automatically update when you change the focused plot in the graph.

Thanks,
Chris Drozdowski
Originlab Technical Support




Great news!
I am looking forward to upgrading to 2020b.
Chris D Posted - 05/05/2020 : 08:04:17 AM
Hi,

The Browser Grpah is built into 2020b and isn't back portable. But it is really cool when you want to visually inspect a large number of similar plots.you can even use Gadgets that will automatically update when you change the focused plot in the graph.

Thanks,
Chris Drozdowski
Originlab Technical Support
AKazak Posted - 05/05/2020 : 04:17:51 AM
quote:
Originally posted by cpyang

doc -e lw {lay -a}



Maybe you should try the Browser Graph in 2020b, see

http://blog.originlab.com/introducing-the-browser-graph

CP




Thank you for sharing this.

I also constructed the following snippet for updating both X- and Y-axis at the same time:

Loop (num,1,page.nlayers)   
//loop from 1 to the # of layers in the page
{
		type "layer number $(num)";
		layer -s $(num);  // make layer active
		// https://www.originlab.com/doc/LabTalk/ref/Rescale-macro
    Rescale;  // rescale layer
};


Thank you for suggesting the Browser Graph in 2020b.
My current version is 2019b (64-bit) 9.6.5.169, but the license update is ongoing.
Can I run the browser in 2019b?
cpyang Posted - 05/04/2020 : 6:13:02 PM
doc -e lw {lay -a}



Maybe you should try the Browser Graph in 2020b, see

http://blog.originlab.com/introducing-the-browser-graph

CP

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