plot (method)

plot(self, fig=None, sym=1, alpha=0, delta=0, is_edge_only=False, comp_machine=None)[source]

Plot the Machine in a matplotlib fig

  • self (Machine) – A Machine object
  • fig – if None, open a new fig and plot, else add to the gcf (Default value = None)
  • sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
  • alpha (float) – Angle for rotation [rad]
  • delta (complex) – Complex value for translation
  • is_edge_only (bool) – To plot transparent Patches
  • comp_machine (Machine) – A machine to plot in transparency on top of the self machine

Return type: