KU-DO-Lab / Spearmint

Software to drive data aquisition for nanodevices, intended for our low temperature measurements. Based on University of Washington's nanophys/MeasureIt.
MIT License
0 stars 0 forks source link

Plot settings - Live Plots #12

Open do-lab-ku opened 1 month ago

do-lab-ku commented 1 month ago

A well polished data acquisition program should put a lot of focus on its plotting capabilities. Currently Spearmint uses the default matplotlib settings, which is not ideal for the sake of having a polished piece of software. We use matplotlib to make plots so it would be silly to not add a few features to make good LIVE plots.

Feature Goals

  1. Units - Automatically attempt to assign a unit to each axis. Also try scaling the axis to fit engineering/scientific order of magnitude, such as using units of nA instead of units A when measuring current on such scales. Additionally it is important for color bars to have adjustable scales.
  2. Aesthetics - It should not be very difficult to implement the capability to control the look of a plot from within the program, i.e. set the trace colors, show the name of the measurement in the title, color bar choice, etc. Also we should have good defaults for this, use Ergo as a reference, perhaps.
  3. Direct export of figures as images - Matplotlib has a little save icon but we may decide to handle this approach differently in time.