Origin Ver. 81SR2 and many before
Operating System: Windows XP
Setting the first tick via LabTalk fails when label type is a date format.
Demo: Create a new graph window and set the following X axis properties using scale dialog:
label type: date
label subtype: first type (German Origin: 25.03.2010)
from: 16.03.2010
to: 21.03.2010
inc: 1day
first tick: 16.03.2010 12:00
Now get the properties by
layer1.x.labeltype=;
layer1.x.labelsubtype=;
layer1.x.inc=;
layer1.x.from=;
layer1.x.to=;
layer1.x.firsttick=;
One should get
LAYER1.X.LABELTYPE=4
LAYER1.X.LABELSUBTYPE=1
LAYER1.X.INC=1
LAYER1.X.FROM=2455271
LAYER1.X.TO=2455276
LAYER1.X.FIRSTTICK=2455271,5
Now create another graph and apply these settings using LabTalk.
The first tick is not set correctly.
I could not find a workaround using another date/time format. How can I achieve this scale format I'm able to get using the frontend?
-Michael