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
 Scale X axis

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
alkamid Posted - 05/25/2010 : 10:10:33 AM
Origin Ver. and Service Release: OriginPro 8 SR3
Operating System: Ubuntu 9.04

Hello,

I'd like my script to draw a few graphs but I don't know how to change the default scale margin. I don't want any margin to be visible (I mean the space between Y axis and the first point on my graph). I know I could use layer.axis.from/to but then I'd have to know the min/max values in my data and I'd rather avoid it.
Is there a method to set the margin i.e. it's always 0.1 or 0?
1   L A T E S T    R E P L I E S    (Newest First)
Sam Fang Posted - 05/26/2010 : 03:14:25 AM
You can use the script:
layer.axis.rescaleMargin

to produce a margin in percent around data, then select Graph: Rescale to Show All from Origin menu to refresh the graph.

Sam
OriginLab Technical Services

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