plot (method)

@package Methods.Machine.Shaft.plot Shaft plot methods @date Created on Fri Jan 09 16:09:52 2015 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b

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

Plot the Shaft in a matplotlib fig

Parameters:
  • self (Shaft) – A Shaft object
  • fig – if none, open a new fig and plot, else add to the current one (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
Returns:

Return type:

None