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
 Where are my ticks???????????????????

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
gavin.read Posted - 01/07/2003 : 11:32:49 AM
Hi peeps,

I am plotting graphs with LabTalk, and most of it is OK. However I am having trouble getting the graph to display the ticks.

Here is my code;

//lay dataset in plot etc.
%H!layer1.X.opposite = 1; //Add top X axis
%H!layer1.Y.opposite = 1; //Add right Y axis
%H!layer1.X.majorticks = 0; //Default number of major ticks
%H!.layer1.Y.minorticks = 0; //Default number of minor ticks
%H!layer1.X.ticks = 5; //Major and minor ticks in
// No ticks showing yet!!!!!!
//refresh window just in case!
doc -uw; clr;
//Still no ticks.

Do I need to explicitly show the ticks, if so, how?

Thanks in advance for help :-))

3   L A T E S T    R E P L I E S    (Newest First)
gavin.read Posted - 01/08/2003 : 10:01:51 AM
Lovely,

Thanks Laurie.

Laurie Posted - 01/07/2003 : 3:48:07 PM
Layer.x.opposite displays a line opposite the axis; it does not display the top X axis. To prove this to yourself, after you execute the command double-click on the line, the Axis dialog opens but if you look on the Title & Format tab of the dialog and make the Top selection active, you'll notice that the 'Show Axis & Ticks' check box is not checked.

You need to use:

layer.x.showAxes=3;
layer.x.showLabels=3;

OriginLab Technical Support
cpyang Posted - 01/07/2003 : 1:54:26 PM
If you just open an empty graph window, do you see ticks?

CP



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