1 from site_cons.site_init import link_wtk_graph
4 FIGURES = ['expt-sawtooth']
6 # Get the passed in environment.
9 wtk_graph = link_wtk_graph(env)
11 xml_fit = File('sawmodel.xml')
12 expt_sawtooth_data = [
16 r"sed -n 's/^ *<L>\(.*\)<\/L>/\1/p' $SOURCE > $TARGET"),
20 asyfile = '%s.asy' % fig # static .asy file
21 pyfig = fig.replace('-', '_')
22 data = '%s_data' % (pyfig)
24 if data in globals(): # generated data dependencies
25 asydata = globals()[data]
26 env.Asymptote([asyfile, wtk_graph] + asydata)
28 # Pass back the modified environment.