Skip to content

Supports scatter from silx 0.12

Closes #1224 (closed) Related to #1099 (closed)

This MR reworks the scatter plot view close to the final expected state in order to receive feedback.

This uses new features provided by silx 0.12, mostly to improve the rendering.

Changes on the GUI

2020-01-08_-_scatter_plot.svg

  • The toolbar was reworked
    • Reset zoom have a new behaviour
      • By default the plot will update the view (range of axis) if it is needed (new items, new data...)
      • Except the user have manually moved the view (zoom, pan... with the mouse or the keyboard)
      • To request back the plot to manage itself the viewport you have to click on the magnifying-glass-with-red-cross icon
    • Tools to custom the axes are grouped together (log scale, fixed width/height ratio)
    • Profile tools are back. The result is a slicing on a linear interpolation of Delaunay triangulation (i.e. linear interpolation of closest points)
    • Some tools are displayed disabled (cause not yet provided -> raw data, histogram, log book)
    • Tools to save, copy-pase.. are grouped together
  • The view can be setup to display the full range of the used x/y axis
  • 2 icons are provides in the tree to custom the displayed item
    • The first to custom the style
    • The second to custom the min/max range (including the colormap)
  • The mouse picking is displayed as a tooltip
    • The location of the displayed point is highlighted (pink cross)
  • No more statusbar

User preferences

Screenshot_from_2019-12-19_18-46-48__copy_

This is the dialog to edit the scatter style.

It can still be slightly improved, but for now it looks to be enough.

It allows to save the current style as the default one, for further use. This style will then persist after a restart.

Provided rendering

New rendering, with custom style.

Screenshot_from_2019-12-12_16-26-34

Edited by Valentin Valls

Merge request reports