X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=research%2FTCS%2Finterface.py;h=cfff9d313e9179287bfedd66c02ff5a4398978c1;hb=4e99fb6758f056a338cb499f22c7827b2d14e2b8;hp=5e8430e7f3425c5207720d1ffce0375962752a09;hpb=26c125054f99b0616b710ff89eee4dced688a5d0;p=matches%2Fhonours.git diff --git a/research/TCS/interface.py b/research/TCS/interface.py index 5e8430e7..cfff9d31 100755 --- a/research/TCS/interface.py +++ b/research/TCS/interface.py @@ -373,6 +373,8 @@ def record_data(ADC_channels, output, pollTime = None, dac_max = None): #gnuplot("set yrange [0:1023]") #gnuplot("set xrange [0:4000]") + gnuplot("set xlabel \"DAC (counts)\"") + gnuplot("set ylabel \"Sample Current (ADC counts)\"") gnuplot.plot(Gnuplot.Data(data, title="t = "+str(measure_time), with_="lp", using="2:3")) for out in output: if out != sys.stdout: