scqubits.utils.plotting.data_vs_paramvals#

scqubits.utils.plotting.data_vs_paramvals(xdata, ydata, label_list=None, **kwargs)[source]#

Plot of a set of ydata vs xdata. The individual points correspond to the a provided array of parameter values.

Parameters:
  • xdata (ndarray) – must have compatible shapes for matplotlib.pyplot.plot

  • ydata (ndarray) – must have compatible shapes for matplotlib.pyplot.plot

  • label_list (Union[List[str], List[int], None]) – list of labels associated with the individual curves to be plotted

  • **kwargs – standard plotting option (see separate documentation)

Return type:

Tuple[Figure, Axes]

Returns:

matplotlib objects for further editing