bluesky / bluesky-mpl

ARCHIVED. See instead http://blueskyproject.io/bluesky-widgets
Other
2 stars 3 forks source link

Monitors & custom math #6

Open mpmdean opened 5 years ago

mpmdean commented 5 years ago

Thanks for the demo which is developing nicely! I have a couple of questions/suggestions

  1. Plotting signal divided by monitor versus scanned motor or time is a very common requirement. It's not obvious that this is easily done at the moment. I guess this is in the pipeline?

  2. What type of basic plot manipulations are envisaged?

danielballan commented 5 years ago
  1. Yes. Currently you just get some default plots (as specified by "hints"). Soon there will be an option to add or modify figures, selecting from a list of all the columns in the data or entering a Python expression, with access to math functions in numpy. For each figure you add, you will be able to select one X axis and one or more groups of Y variables to plot together or separately on one or more axes. As now, it will be possible to "over-plot" scans.
  2. Anything on your mind other than what I addressed in (1)?
mpmdean commented 5 years ago
  1. Scaling one plot line to another would be useful. i.e. multiplying by a factor so that both curves have the same maximum.