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 for Programming
 LabTalk Forum
 How to add top and right layer?

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
daliss Posted - 04/25/2006 : 04:57:56 AM
Origin Version (Select Help-->About Origin): OriginPro7.5
Operating System:WinXP

Hi,

I wrote a script to add top and right layer into current graph with no tick label:

layer -n Both;
layer.X2.ticks=0;
layer.Y2.ticks=0;
layer.X2.showlabels=0;
layer.Y2.showlabels=0;

But the result is wrong, there is no top and right layer adding to it. Only some additional ticks appeared in left Y axis (as shown in Figure 1). If I firstly execute a part of this script (from line 1 to line 3), then execute the remainder part (from line 4 to line 5). That is ok.

I don't know why it can't be execute one-step?

Thanks in advance.

William Peng
3   L A T E S T    R E P L I E S    (Newest First)
verrallr@a Posted - 04/27/2006 : 11:42:15 AM
There is a Theme in Theme Gallery that automatically puts upper and right axes in, with no ticks. It is called "Opposite Lines". You can access it by using Format - Theme Gallery.

If you put it as your "System Theme", then the graphs you create (henceforth) will all have these extra axes in place.
daliss Posted - 04/25/2006 : 10:10:59 PM
Thanks a lot, Mike.
Mike Buess Posted - 04/25/2006 : 4:58:05 PM
Hi William,

Insert a short delay after the layer -n command...

layer -n Both;
sec -p 0.1; // wait 0.1 seconds
layer.X2.ticks=0;
layer.Y2.ticks=0;
layer.X2.showlabels=0;
layer.Y2.showlabels=0;

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 04/25/2006 4:58:26 PM

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