pyleecan.Functions.Plot.plot_3D_Data module¶
- plot_3D_Data(data, *arg_list, is_norm=False, unit='SI', save_path=None, x_min=None, x_max=None, y_min=None, y_max=None, z_min=None, z_max=None, z_range=None, color_list=None, colormap=None, is_auto_ticks=True, is_2D_view=False, N_stem=100, fig=None, ax=None, is_show_fig=None, is_auto_range=True, is_same_size=False, is_logscale_x=False, is_logscale_y=False, is_logscale_z=False, thresh=0.02, is_switch_axes=False, win_title=None)[source]¶
Plots a field as a function of two axes
- Parameters:
data (Data) – a Data object
*arg_list (list of str) – arguments to specify which axes to plot
is_norm (bool) – boolean indicating if the field must be normalized
unit (str) – unit in which to plot the field
save_path (str) – full path including folder, name and extension of the file to save if save_path is not None
x_min (float) – minimum value for the x-axis
x_max (float) – maximum value for the x-axis
y_min (float) – minimum value for the y-axis
y_max (float) – maximum value for the y-axis
z_min (float) – minimum value for the z-axis
z_max (float) – maximum value for the z-axis
z_range (float) – range to use for the z-axis
is_auto_ticks (bool) – in fft, adjust ticks to freqs (deactivate if too close)
is_2D_view (bool) – True to plot Data in xy plane and put z as colormap
N_stem (int) – number of harmonics to plot (only for stem plots)
fig (Matplotlib.figure.Figure) – existing figure to use if None create a new one
ax (Matplotlib.axes.Axes object) – ax on which to plot the data
is_show_fig (bool) – True to show figure after plot