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
 special ticks on axis
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Ph_Leick

Germany
2 Posts

Posted - 04/07/2004 :  03:54:07 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Is there a possibility to control the special ticks (Custom Tick Labels in the Axis Properties dialog) that can be added to the graph axes with OriginC or LabTalk? How can the value and the label of such a special tick be set programatically?

Any advice would be appreciated,

Philippe

qa

China
10 Posts

Posted - 04/07/2004 :  07:37:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi.Philippe:
You can use LabTalk function [winName!]Layer[n].axis.property to operate the axe's break, grid, and label.
For example:
Assurm you Origin workspace have graph "graph1",
use following function to make graph1's layer1 buttom Axe to show major out and minor in:
Input the command in to Labtalk console and press enter.
 
Graph1!layer1.x.ticks = 6



GZOFFICE
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