Super-plot#

The superplot was inspired the LAMP software’s Superplot functionality.

It offers the possibility of representing data with more than one dimensions as a one-dimensional slice with sliders controlling the extra dimensions. In addition, buttons can be used to save the currently displayed line.

[1]:
%matplotlib widget
import plopp as pp

da = pp.data.data2d()

The superplot function needs to know which dimension to keep (all remaining dims will be sliced):

[2]:
p = pp.superplot(da, keep='x')
[4]:
p
[4]:

Controls:

  • To save the current line, click the Save line button on the right hand side

  • To change the line color, use the color picker for that line

  • To remove a line, click the [×] button