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
 Forum for Origin C
 Axis scaling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter07

Germany
Posts

Posted - 08/03/2007 :  10:28:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5G
Operating System: WinXP

Hello,

in Origin there is an option to automatically scale the axis. For example I can set it to engineer and it automatically writes the axis in mili, micro, nano... and so on. How can I access this option for a graph in originC ?

Thank you

Peter

Mike Buess

USA
3037 Posts

Posted - 08/03/2007 :  12:37:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Peter,

This will format the X axis labels. Use layer.y.labelSubtype to format the Y axis labels.

GraphLayer gl = Project.ActiveLayer();
gl.LT_execute("layer.x.labelSubtype=3"); // 1 = decimal, 2 = scientific, 3 = engineering (1K), and 4 = decimal (1,000).

Mike Buess
Origin WebRing Member
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