From 455631fcfc441630d691a2637a7a1aa5be89f4ed Mon Sep 17 00:00:00 2001 From: Paul Zakalek <p.zakalek@fz-juelich.de> Date: Tue, 26 Apr 2022 13:34:09 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d7ebc45..eb06174 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ This example shows the data produced by FLUKA with a proton beam hitting a targe File can be downloaded at [example_2](https://iffcloud.fz-juelich.de/s/D4G568aRqMcSWE7). ``` -# Load a FLUKA file example_2 with the bnn format. +# Load a FLUKA file example_2 with the bnn format. # The file type needs to be specified in this case. load example_2.bnn -type bnn @@ -232,31 +232,32 @@ differentiate w # Specifiy where the image shall be saved. set save image.png -# Add a subplot at the top of the window. The margin values are -# specifying the borders for the plotted area as a function of +# Add a subplot at the top of the window. The margin values are +# specifying the borders for the plotted area as a function of # the window width. set multiplot add subplot -set bmargin 0.5 +set margin b 0.5 # Subplot visualization settings unset info unset label x set range x -0.3 0.6 -# The format can be specified using the format function of python +# The format can be specified using the format function of python # in which the value is inserted. set tics format z {0:.4f} -# Plot along coordinates. As x, y, z are used to access the gr +# Plot along coordinates. As x, y, z are used to access the gr # plot axes, the coordinates for the data are u, v, w plot v w # Add a subplot at the bottom of the window with a reduced right # margin as the 2D-image has an additional color bar. add subplot -set tmargin 0.5 -set rmargin 0.2 +set margin t 0.5 +set margin b 0.1 +set margin r 0.27 # Subplot visualization settings unset info -- GitLab