profilometer.plot_profile

profilometer.plot_profile(x, y, z, filename=None, *args)

Create a 3d surface plot.

Parameters:
  • x (2d_array) – Array of x-coordinates.
  • y (2d_array) – Array of y-coordinates.
  • z (2d_array) – Array of z-coordinates / height profile.
  • filename (str) – Save figure to this filename if not None.
  • args (mixed) – List of arguments that should be passed to the plotting function.