From e3fb4a515856d3f6561baad09f5c5a2e088e4e37 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Wed, 11 Apr 2018 09:46:30 -0500 Subject: 2018-04-11 09:46 --- acquisition/quad.py | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'acquisition/quad.py') diff --git a/acquisition/quad.py b/acquisition/quad.py index d6519e5..ee5fab9 100644 --- a/acquisition/quad.py +++ b/acquisition/quad.py @@ -21,19 +21,30 @@ here = os.path.abspath(os.path.dirname(__file__)) fig, gs = wt.artists.create_figure(width='double') ax = plt.subplot(gs[0, 0]) -ax.set_xlim(-1.1, 1.1) -ax.set_ylim(-1.1, 1.1) - -ax.arrow(-1, 0, 2, 0, lw=5, head_width=0.1) -ax.arrow(0, -1, 0, 2, lw=5, head_width=0.1) +ax.set_xlim(0, 1.25) +ax.set_ylim(0, 1.25) es = {} -es['MR-CMDS'] = (-0.5, 0.5) +es['MR-CMDS'] = (1, 0.3) +es['AFM'] = (0.5, 0.4) +es['GRAPES'] = (0.1, 1) +es['FTIR'] = (0.1, 0.1) +es['z-scan'] = (0.1, 0.2) +es['UV-VIS'] = (0.1, 0.3) +es['TRPL'] = (0.1, 0.4) +es['NMR'] = (0.1, 0.5) + + for label, coordinates in es.items(): ax.text(*coordinates, label, fontsize=20) +# decoration +xlabel = r'hardware complexity $\rightarrow$' +ylabel = r'measurement complexity $\rightarrow$' +wt.artists.set_ax_labels(xlabel=xlabel, ylabel=ylabel, xticks=False, yticks=False) + # save p = os.path.join(here, 'quad.png') wt.artists.savefig(p) -- cgit v1.2.3