Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bae8e8a
added colour contour plot option
chris-ashe Sep 7, 2023
728dcd5
Fixed contour plot labels
chris-ashe Sep 8, 2023
da22960
Added stack plots switch and subplot fig condition
chris-ashe Sep 8, 2023
a1f5d05
Can now do stacked plots and save
chris-ashe Sep 8, 2023
eddbcb5
Plot formatting
chris-ashe Sep 8, 2023
422119c
Initial file commit
chris-ashe Sep 26, 2023
4445a0b
bare except flake 8 fix
chris-ashe Sep 26, 2023
8e23c69
Merge branch 'plot_scans_update' into 2953-additional-functionality-t…
chris-ashe Sep 26, 2023
f68f71b
Fig size and plot formatting
chris-ashe Sep 26, 2023
c5194b3
auto figure scaling for multiple plots
chris-ashe Sep 26, 2023
0e87a3b
Initial no-scan plot attempt
chris-ashe Sep 27, 2023
dee41b2
stack plots output filename format
chris-ashe Sep 27, 2023
5a684e3
Legend placement format
chris-ashe Sep 27, 2023
b30cf54
Integration test and outputdir command option
chris-ashe Sep 27, 2023
7fa8850
remove outputdir
chris-ashe Sep 27, 2023
ddfa98b
integration test save directory fix
chris-ashe Sep 28, 2023
a8882aa
Documentation additions
chris-ashe Sep 28, 2023
773c804
Added in plot_proc images as extra
chris-ashe Sep 28, 2023
e7a9a81
default plot cutting and title addition
chris-ashe Sep 28, 2023
b74eaa9
only show legend if 2 or more plots files used
chris-ashe Sep 28, 2023
f1810e0
minor ticks added
chris-ashe Sep 28, 2023
3404b2f
comments tidy
chris-ashe Sep 28, 2023
16af014
Merge branch '2952-addition-of-revised-radial-build-plotting-tool' in…
chris-ashe Sep 28, 2023
8109eb4
colour bar font size fix
chris-ashe Sep 28, 2023
e32544b
2D contour and stack scan example documentation
chris-ashe Sep 29, 2023
58d88b4
Merge branch 'main' into 2953-additional-functionality-to-plot_scanspy
chris-ashe Oct 12, 2023
d427d79
Merge branch 'main' into 2953-additional-functionality-to-plot_scanspy
chris-ashe Oct 12, 2023
d859287
Removed spelling error in argparse
chris-ashe Oct 25, 2023
dadb3a0
Merge branch 'main' into 2953-additional-functionality-to-plot_scanspy
chris-ashe Oct 25, 2023
fb3812c
stack and contour plot tests added
chris-ashe Oct 25, 2023
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
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.
24 changes: 22 additions & 2 deletions documentation/proc-pages/usage/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,35 @@ process -i path/to/IN.DAT --plot --mfile path/to/MFILE.DAT
<figcaption>Figure 2: plot_proc plasma profiles and cross-sections page </figcaption>
</figure>

<h3>Scan files</h3>

`plot_scans` is a tool to show the change in variables as a scan variable is varied.
Scans can be done in one or two dimensions.

```bash
python process/io/plot_scans.py -f path/to/MFILE.DAT
```
<figure markdown>
![2D_contour_plot](../../images/2D_contour_plot_example.png){figures-side, width="100%"}
<figcaption>Figure 3: 2D scan contour plot </figcaption>
</figure>

<figure markdown>
![2D_stack_plot](../../images/stack_scan_plot_example.png){figures-side, width="100%"}
<figcaption>Figure 3: 1D scan plot </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
python process/io/plot_radial_build.py -f path/to/MFILE.DAT
```
<figure markdown>
![radial_build_plot](../../images/radial_build_plot.png){ width="100%"}
<figcaption>Figure 3: Simple radial build plot </figcaption>
<figcaption>Figure 5: Simple radial build plot </figcaption>
</figure>

Loading