pencil.visu.lic

Functions

lic(vectorfield[, filepath, filename, cmap, ...])

Plotting a vector field in Line Integral Convolution style.

Module Contents

pencil.visu.lic.lic(vectorfield, filepath='.', filename='tmp', cmap='bone', kernellen=31, DPI=300, SIZE=(1024, 1024), PNG=True, EPS=False, PDF=False, FIG_BACKGROUND='white', DEBUG=True)

Plotting a vector field in Line Integral Convolution style.

Parameters:
  • vectorfield – put vectorfield here, shape is: [Nx, Ny, 2]

  • filepath – where to store imapge

  • filename – image name

  • cmap – put colormap here

  • kernellen – ??? whats this good for?

  • DPI – set dpi

  • size – in inches