cuqi.geometry.Geometry.plot#

Geometry.plot(values, is_par=True, plot_par=False, **kwargs)#

Plots a function over the set defined by the geometry object.

Parameters:
  • values (ndarray) – 1D array that contains the values of the function degrees of freedom.

  • is_par (Boolean, default True) – Flag to indicate whether the values are parameters or function values. True: values are passed through the par2fun() method. False: values are plotted directly.

  • plot_par (Boolean, default False) – If true this method plots the parameters as a Discrete geometry.