https://github.com/mrakitin/plotting
Plotting scripts and utilities
https://github.com/mrakitin/plotting
intensity-distribution plotting plotting-scripts
Last synced: about 2 months ago
JSON representation
Plotting scripts and utilities
- Host: GitHub
- URL: https://github.com/mrakitin/plotting
- Owner: mrakitin
- Created: 2016-12-10T20:29:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-07T20:11:55.000Z (almost 9 years ago)
- Last Synced: 2025-01-17T16:51:24.637Z (about 1 year ago)
- Topics: intensity-distribution, plotting, plotting-scripts
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# plotting
Plotting scripts and utilities
Options:
```
$ python plotting.py -h
usage: plotting.py [-h] [-d DAT_FILE] [-o OUT_FILE] [-l] [-m]
[--min_value MIN_VALUE] [--max_value MAX_VALUE] [-s]
[-c CMAP]
Plot 2D-intensity distribution
optional arguments:
-h, --help show this help message and exit
-d DAT_FILE, --dat_file DAT_FILE
input .dat file
-o OUT_FILE, --out_file OUT_FILE
output image file name (without extension)
-l, --log_scale use logarithmic scale
-m set the limits of the logarithmic scale manually
--min_value MIN_VALUE
minimum value for logarithmic scale
--max_value MAX_VALUE
maximum value for logarithmic scale
-s, --show_image show image
-c CMAP, --cmap CMAP color map
```
Plot the intensity distribution in the logarithmic scale and show the resulted image:
```bash
$ python plotting.py -d res_int_pr_se.dat -l -m --min_value=3.0 --max_value=15 -s
```
Plot the intensity distribution in the logarithmic scale and save the resulted file to the current dir:
```bash
$ python plotting.py -d res_int_pr_se.dat -l -m --min_value=3.0 --max_value=15
```