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
 Origin Scripts Examples
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alexapostu

Romania
10 Posts

Posted - 05/13/2020 :  04:15:33 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
I want to create a script that does this: selects an existing worksheet (opened), auto-creates the graph and autoscales the graph by my preference (for example. if the minimum value is 10, I want the graph to start from 9, which is the minimum value - 10% ). I need this script to create like a button so I can use this button like a Macro or some predefined settings and create the graph as I want it.

Can I do this with OC or LT?
Please help, time sensitive

cpyang

USA
1406 Posts

Posted - 05/13/2020 :  2:20:55 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Graph has Rescale Margin for each axis direction, so just set that up in your template.

CP
Go to Top of Page

alexapostu

Romania
10 Posts

Posted - 05/14/2020 :  10:57:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Do you mind changing some contact details?
alex.apostu23@gmail.com is my email
I need to finish this project and I need a few ideas from someone that really knows LT
Go to Top of Page

alexapostu

Romania
10 Posts

Posted - 05/15/2020 :  08:23:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
DO you have some code that I can use to implement for margins changes?
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