From e9750406dc6cffb28e1b5cc283aa6f6fb47b5fd6 Mon Sep 17 00:00:00 2001 From: Giulio Ungaretti Date: Mon, 20 Feb 2017 17:29:52 +0100 Subject: [PATCH] mend --- qcodes/plots/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcodes/plots/base.py b/qcodes/plots/base.py index d402ea27e2ff..5e403373d62c 100644 --- a/qcodes/plots/base.py +++ b/qcodes/plots/base.py @@ -79,7 +79,9 @@ def add(self, *args, updater=None, **kwargs): kwargs: after inserting info found in args and possibly in set_arrays into `x`, `y`, and optionally `z`, these are passed along to - self.add_to_plot + self.add_to_plot. + To use custom labels and units pass for example: + >>> plot.add(x=set, y=amplitude, xlabel=("set", "s"), ylabel= ("Amplitude", "V")) Array shapes for 2D plots: x:(1D-length m), y:(1D-length n), z: (2D- n*m array)