Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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.