# Plotting A Simulation

CarbonDrift provides many built in plotting methods in the models.plots submodule. To run any one of these methods open the terminal in the root directory and run

                            plot_simulation <plot method> <file1path>

and add additional parameters (see the full list here, or use the headerd). Once more, one can presave all parameters to a .txt file and simpy run

                            plot_simulation @/path_to_params.txt

## Notes

1. The first argument should always be the method name. The following arguments should be the file paths. Only then can can add other non-positional arguments.
2. In general the relative values for mass and mass flux are assumed. If the user wishes to plot the absolute values, the -abs argument should be given.
3. When using -clip to clip array values use m for negative values, e.g. m4:5.
4. If the outfile argument is provided, the plot will be saved to a file and not shown in the matplotlib viewport. Alternatively, if the argument is not provided, the plot will be shown in a new viewport.
5. To see different method outputs, check out the Gallery.

For release-specific notes refer to Release Notes.