Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added documentation/proc-pages/images/plot_proc_1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 24 additions & 1 deletion documentation/proc-pages/usage/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<h2>Plotting an MFILE</h2>

`plot_proc` is used for plotting an MFILE. It can be run using its own CLI:
<h3>Summary document</h3>
`plot_proc` is used for plotting an overview of the results from an MFILE. It can be run using its own CLI:

```bash
python process/io/plot_proc.py -f path/to/MFILE.DAT
Expand All @@ -12,4 +13,26 @@ or through Process's main CLI (working, but still in development):

```bash
process -i path/to/IN.DAT --plot --mfile path/to/MFILE.DAT
```
<figure markdown>
![plot_proc_1](../../images/plot_proc_1.PNG){ width="100%"}
<figcaption>Figure 1: plot_proc front summary page </figcaption>
</figure>

<figure markdown>
![plot_proc_2](../../images/plot_proc_2.PNG){ width="100%"}
<figcaption>Figure 2: plot_proc plasma profiles and cross-sections page </figcaption>
</figure>

<h3>Radial build</h3>

`plot_radial_build` is to plot the radial build of the machine in terms of bar segments. It can be run as follows:

```bash
python process/io/plot_radial_build.py -f path/to/MFILE.DAT -o output_filename
```
<figure markdown>
![radial_build_plot](../../images/radial_build_plot.png){ width="100%"}
<figcaption>Figure 3: Simple radial build plot </figcaption>
</figure>

Loading