@@ -2,59 +2,59 @@ Snapshots using command line
22============================
33
44For the examples here, simply copy and paste the command line in your
5- shell, working in the directory where the StagYY par file is located.
5+ shell, working in the directory where the StagYY par file is located.
66You can also use the examples on the data available in the Examples
7- directory.
7+ directory.
88
99The next use of stagpy is to create images of snapshots of the
1010different fields.
1111
12- ::
13-
14- % stagpy field -o T
12+ ``` sh title="shell"
13+ stagpy field -o T
14+ ```
1515
1616will plot the last snapshot of the temperature field.
1717
18- ::
19-
20- % stagpy field -s : -o T-v3
18+ ``` sh title="shell"
19+ stagpy field -s : -o T-v3
20+ ```
2121
2222will plot all the snapshots of the temperature and the vertical/radial velocity
2323on separate figures.
2424
25- ::
26-
27- % stagpy field -s 3:8:2 -o T,stream
25+ ``` sh title="shell"
26+ stagpy field -s 3:8:2 -o T,stream
27+ ```
2828
2929will plot the temperature field with isocontours of the stream function from
3030the third to the eighth snapshot, every two snapshots.
3131
32- ::
32+ ``` sh title="shell"
33+ stagpy field -o T -s 1,5 --vmin=0.8 --vmax=1.0
34+ ```
3335
34- % stagpy field -o T -s 1,5 --vmin=0.8 --vmax=1.0
35-
3636will plot the temperature field from the first and the fifth snapshot while
3737keeping the range of the colorbar fixed between 0.8 and 1.
3838
3939List of variables to plot
4040-------------------------
4141
42- The list of fields specified with the `` -o `` (or `` --plot ` `) option follows the
43- same rules as for the `` rprof `` and `` time ` ` subcommands. Namely,
44- `` , `` -separated variables are on the same subplots; `` . ` `-separated variables
45- are on the same figure but different subplots; `` - ` `-separated variables are
42+ The list of fields specified with the ` -o ` (or ` --plot ` ) option follows the
43+ same rules as for the ` rprof ` and ` time ` subcommands. Namely,
44+ ` , ` -separated variables are on the same subplots; ` . ` -separated variables
45+ are on the same figure but different subplots; ` - ` -separated variables are
4646on different figures.
4747
4848Note that only two fields can be on the same subplot, the first field is a
4949color map and the second field can be either:
5050
5151- a scalar field, isocontours are added to the plot;
52- - a vector field (e.g. `` v `` for the `` (v1, v2, v3) ` ` vector), arrows are added
52+ - a vector field (e.g. ` v ` for the ` (v1, v2, v3) ` vector), arrows are added
5353 to the plot.
5454
55- For example, `` -o=T,v3 ` ` asks for a temperature map with isocontour of the
56- vertical velocity, while `` -o=T,v ` ` asks for a temperature map with velocity
55+ For example, ` -o=T,v3 ` asks for a temperature map with isocontour of the
56+ vertical velocity, while ` -o=T,v ` asks for a temperature map with velocity
5757vectors on top of it.
5858
5959If you ask for more than two fields on the same subplot, extra fields are
60- ignored. `` -o=T,stream,v `` is therefore equivalent to `` -o=T,stream ` `.
60+ ignored. ` -o=T,stream,v ` is therefore equivalent to ` -o=T,stream ` .
0 commit comments