Position Plot

A plot to visualize a state in an arbitrary potential

Input

  • x: spatial dimension - required to set the x-axis of the plot. Nothing is shown if this is not set
  • V: Potential - the potential can be displayed optionally
  • $\psi$: state - a state can optionally be displayed

Content

The main content is the plot itself. On the side, several options are available to add or remove certain aspects of the plot. Each part can only be shown if the associated inputs are connected and valid. All plotting requires the x-input.

The options are, from top to bottom (with required inputs in parenthesis):

  • show/hide the potential (V)
  • show/hide the probability distribution of the state ($\psi$)
  • show/hide the real part of the state ($\psi$)
  • show/hide the imaginary part of the state ($\psi$)
  • show/hide the expecation-value +/- one standard deviation of the position in the state (x & $\psi$)
  • set y-axis limits