# Veusz saved document (version 1.12.99)
# Saved at 2011-08-16T14:20:29.340311

xv = []
yv = []
zv = []
for x in range(10):
    for y in range(10):
        z = sqrt((x-5.)**2 + (y-5.)**2)
        xv.append(x)
        yv.append(y)
        zv.append( round(z, 3) )
SetData("x", xv)
SetData("y", yv)
SetData("z", zv)

SetData2DExpressionXYZ(u'data2d', u'x', u'y', u'z', linked=True)

Add('page', name='page1', autoadd=False)
To('page1')
Add('graph', name='graph1', autoadd=False)
To('graph1')
Add('axis', name='x', autoadd=False)
To('x')
Set('autoRange', 'exact')
To('..')
Add('axis', name='y', autoadd=False)
To('y')
Set('autoRange', 'exact')
Set('direction', 'vertical')
To('..')
Add('contour', name='contour1', autoadd=False)
To('contour1')
Set('data', u'data2d')
Set('SubLines/hide', False)
To('..')
To('..')
To('..')
