State Comparison Plot

A plot to visually compare two states

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 - $\psi_1$
  • $\psi$: state - $\psi_2$

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 $\psi_1$ ($\psi_1$)
  • show/hide the real part of$\psi_1$ ($\psi_1$)
  • show/hide the imaginary part of $\psi_1$ ($\psi_1$)
  • show/hide the probability distribution of $\psi_2$ ($\psi_2$)
  • show/hide the real part of $\psi_2$ ($\psi_2$)
  • show/hide the imaginary part of $\psi_2$ ($\psi_2$)
  • set y-axis limits