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
 Origin Forum
 Auto-Adjust Axis Limits Based on Data?

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
halbertInapt Posted - 06/09/2025 : 04:40:35 AM
I’m pretty new to Origin (using Origin 2024b) and currently working on a dataset where I need to plot different line graphs for subsets of data. Each subset has a different range, so I want the X and Y axis limits to auto-adjust based on the min/max values of each subset when I switch them using a drop-down list or filter.
Right now, I'm manually adjusting the axis each time, which is super time-consuming. I was wondering:

Is there a way to link the axis limits to worksheet columns so they update dynamically?

Would I need to use a script (LabTalk or Python) for this?

Or is there a built-in Origin feature or template that can do this more easily?

Any tips or example projects would be hugely appreciated! Just trying to get more efficient with plotting before I dive deeper into analysis.
1   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 06/09/2025 : 08:56:52 AM
Hello,

There is Rescale mode in graph. If you set it to Auto, when data changes, graph axis will auto rescale.

Single click blank area within graph to see the layer level mini toolbar.
On the 2nd row, the 3rd button from the right is the Auto Rescale button. U can click it to turn it on.

BTW, in Origin 2025 we added Graph Slicer (filter) on graph so that you can change filter condition in graph instead of in worksheet.
Also same worksheet can have different graphs with different slicers.
https://www.originlab.com/videos/details.aspx?id=591

You may want to consider upgrading to 2025.


Thanks, Snow

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