# Veusz saved document (version 1.13)
# Saved at 2011-09-06T18:47:34.442485

AddImportPath(u'/home/jss/code/veusz/veusz/tests/selftests')
AddCustom('constant', u'myconst', u'10')

AddCustom('constant', 'myconst', '41', mode='replace')
AddCustom('constant', 'myconst', '42', mode='append')

AddCustom('function', 'myfunc(x)', 'myconst*x**2')
AddCustom(u'import', u'numpy.linalg', u'inv')

Add('page', name='page1', autoadd=False)
To('page1')
Add('graph', name='graph1', autoadd=False)
To('graph1')
Add('axis', name='x', autoadd=False)
Add('axis', name='y', autoadd=False)
To('y')
Set('direction', 'vertical')
To('..')
Add('function', name='function1', autoadd=False)
To('function1')
Set('function', u'inv([[1,0],[0,1]])[0,0] * x')
To('..')
Add('function', name='function2', autoadd=False)
To('function2')
Set('function', u'myfunc(x)')
Set('Line/color', u'red')
To('..')
To('..')
To('..')
