Skip to content
Snippets Groups Projects
Commit cbee0fc0 authored by 数学の武士's avatar 数学の武士
Browse files

Merge branch 'debol-main-patch-15279' into 'main'

Update README.md

See merge request !2
parents 1ef16d10 47bf2172
No related branches found
No related tags found
1 merge request!2Update README.md
...@@ -44,6 +44,7 @@ import plotter ...@@ -44,6 +44,7 @@ import plotter
- `mval` is a list or a single variable denoting maximum valid absolute values(value) of `var` variables: values which satisfy the condition `var` > `mval` are set as NaN. - `mval` is a list or a single variable denoting maximum valid absolute values(value) of `var` variables: values which satisfy the condition `var` > `mval` are set as NaN.
- `min_y` is the minimum value of y-axis for the 1d plotting and the minimum value of the colorbar for the 2d plotting - `min_y` is the minimum value of y-axis for the 1d plotting and the minimum value of the colorbar for the 2d plotting
- `max_y` is the maximum value of y-axis for the 1d plotting and the maximum value of the colorbar for the 2d plotting - `max_y` is the maximum value of y-axis for the 1d plotting and the maximum value of the colorbar for the 2d plotting
- `transpose` if True flips the axis, default = False
### Get variable names from file ### Get variable names from file
```python ```python
...@@ -97,8 +98,9 @@ Optional arguments: ...@@ -97,8 +98,9 @@ Optional arguments:
2. string $`oname`$ 2. string $`oname`$
3. string or [string] $`var`$ 3. string or [string] $`var`$
4. float or [float] $`mval`$ 4. float or [float] $`mval`$
5. float $`min_y`$ 5. float $`min\_y`$
6. float $`max_y`$ 6. float $`max\_y`$
7. bool or [bool] $`transpose`$
### Plotting a 2D data ### Plotting a 2D data
```python ```python
...@@ -114,12 +116,13 @@ Optional arguments: ...@@ -114,12 +116,13 @@ Optional arguments:
2. string or [string] $`oname`$ 2. string or [string] $`oname`$
3. string or [string] $`var`$ 3. string or [string] $`var`$
4. float or [float] $`mval`$ 4. float or [float] $`mval`$
5. float or [float] $`min_y`$ 5. float or [float] $`min\_y`$
6. float or [float] $`max_y`$ 6. float or [float] $`max\_y`$
7. bool or [bool] $`transpose`$
### Plotting animation of a 2D data ### Plotting animation of a 2D data
```python ```python
plotter.plot_contour(filename) plotter.ani_plot_contour(filename)
``` ```
Function saves XY contour plots of 2D data contained in file `filename` into the *out/oname* file. Function saves XY contour plots of 2D data contained in file `filename` into the *out/oname* file.
...@@ -131,8 +134,9 @@ Optional arguments: ...@@ -131,8 +134,9 @@ Optional arguments:
2. string or [string] $`oname`$ 2. string or [string] $`oname`$
3. string or [string] $`var`$ 3. string or [string] $`var`$
4. float or [float] $`mval`$ 4. float or [float] $`mval`$
5. float or [float] $`min_y`$ 5. float or [float] $`min\_y`$
6. float or [float] $`max_y`$ 6. float or [float] $`max\_y`$
7. bool or [bool] $`transpose`$
### Plotting an averaged by x and y coordinates 3D data ### Plotting an averaged by x and y coordinates 3D data
```python ```python
...@@ -148,6 +152,7 @@ Optional arguments: ...@@ -148,6 +152,7 @@ Optional arguments:
2. string or [string] $`oname`$ 2. string or [string] $`oname`$
3. string or [string] $`var`$ 3. string or [string] $`var`$
4. float or [float] $`mval`$ 4. float or [float] $`mval`$
5. bool or [bool] $`transpose`$
### Plotting difference of N-d data ### Plotting difference of N-d data
```python ```python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment