polynomials_on_simplices.visualization.plot_lines module

Functionality for plotting lines.

plot_curve(vertices, *args, **kwargs)[source]

Plot a discrete curve consisting of a set of connected vertices.

Parameters:
  • vertices – The curve vertices (num_vertices by [23] array of floats).
  • args – Further arguments passed to the plot command.
  • kwargs – Keyword arguments. ‘fig’: Figure to populate. A new figure will be generated if this argument is not given. Further keyword arguments are passed to the plot command.
plot_plane_curve(vertices, *args, **kwargs)[source]

Plot a discrete plane curve consisting of a set of connected vertices.

Parameters:
  • vertices – The curve vertices (num_vertices by 2 array of floats).
  • args – Further arguments passed to the plot command.
  • kwargs – Keyword arguments. ‘fig’: Figure to populate. A new figure will be generated if this argument is not given. Further keyword arguments are passed to the plot command.
plot_space_curve(vertices, *args, **kwargs)[source]

Plot a discrete space curve consisting of a set of connected vertices.

Parameters:
  • vertices – The curve vertices (num_vertices by 3 array of floats).
  • args – Further arguments passed to the plot command.
  • kwargs – Keyword arguments. ‘fig’: Figure to populate. A new figure will be generated if this argument is not given. Further keyword arguments are passed to the plot command.