A lot of graphical post-processings are already defined within MANATEE. All of them are listed in the Plot/plot_all.m script. Only part of them is reviewed in this chapter, please refer to plot commands documentation for their complete description or run the plot_all script (requires a lot of graphical memory as more than 100 graphs can appear).

As the standard outputs of MANATEE are the structures Input and Output, most of the plot functions look like "*plot_something(Input,Output)*".

To make it easier to use them, they have been scripted to use the default Input and Output structure of the workspace so that you can simply call them by typing "*plot_something*" in the command line.

All the plot parameters (e.g. frozen axis, min and max, normalization factors, color scales) are defined in the Input.Plot structure. This structure is defined by the editable script *plot_init.m*.

One first important graph to plot is the geometry with plot_machine :

Note that it is a pseudo-3D graph. It can be used to check if the geometry has been correctly defined.

The winding pattern can be plotted with plot_wind :

The upper graph show the coils phase number and the direction of the current (+ towards you, x opposite to you) in each slot along the airgap, in anti-clockwise direction. All the angular graph are plotted in trigonometric direction. The period of the winding is automatically calculated. One can notice the coil pitch of 5 slots.

The lower graph shows the winding functions with linear increase in the slots, and the results total magnetomotive force.

To visualize the rotor mmf due to magnets one case use plot_rmmf_space

This graph allows to visulize the harmonic content of the rotor mmf at a given timestep. One can find that the main space harmonic is 4, which corresponds to the pole pair number. The other harmonics are odd multiple of the number of pole pairs in agreement with the odd periodicity of the waveform.

Note that all the Fourier transforms along the airgap angle are given by default in spatial frequencies, not in pole pair numbers. To change that in « space orders » (1 for one pole pair) one can set **Input.Plot.is_spatial_order=1** in command line and redo the plot:

Similarly, all graphs involving frequencies can be displayed at a function of the electrical order, i.e. the proportionality coefficient with the fundamental electrical frequency.

As an example the time evolution of the rotor magnetomotive force is given by plot_rmmf_time

One can see that it contains odd multiples of the fundamental electrical frequency.
To change to electrical order one can set **Input.Plot.type_electrical_order = 1**