xyzpy

Submodules

Functions

plot(xs[, ys])

Plot y-data against x-data

Package Contents

xyzpy.plot(xs, ys=None, **kwargs)[source]

Plot y-data against x-data

If ys is not given, the function treats xs as y-data. It uses range(xs.shape[-1]) as x-data. The y-data can contain multiple series along a z-axis. The x-data can also vary along this axis. The function passes all keyword arguments to infiniplot()

Parameters:
  • xs (array_like) – The x-data or, if ys is not given, the y-data to plot

  • ys (array_like, optional) – The y-data to plot

  • kwargs (dict) – Options for infiniplot()