bloc.plot#

Functions#

plot_speciesPie(gas[, quantity, thresh])

Plot a pie chart of the species composition of a Cantera gas object.

plot_simu_vs_t(states[, quantity, s_to_plot, xscale, ...])

Plot the temperature and composition as a function of time starting from a Cantera states object.

plot_simu_vs_x(states, qm, S[, quantity, s_to_plot, ...])

Module Contents#

bloc.plot.plot_speciesPie(gas, quantity='mole', thresh=0.005)#

Plot a pie chart of the species composition of a Cantera gas object.

FIgure is displayed in an Excel sheet

bloc.plot.plot_simu_vs_t(states, quantity='mole', s_to_plot=['CH4', 'H2', 'C(s)', 'C2H2', 'C2H4', 'C2H6'], xscale='log', yscale='linear', xmin=0, xmax=None, n_sheet=1, save=False, save_name=None)#

Plot the temperature and composition as a function of time starting from a Cantera states object.

The figure is displayed in an Excel sheet.

bloc.plot.plot_simu_vs_x(states, qm, S, quantity='mole', s_to_plot=['CH4', 'H2', 'C(s)', 'C2H2', 'C2H4', 'C2H6'], xscale='log', yscale='linear', xmin=0, xmax=None, n_sheet=1, save=False, save_name=None)#