diff options
author | Ilhan Ozgen <iozgen@lbl.gov> | 2020-04-25 16:33:01 -0700 |
---|---|---|
committer | Ilhan Ozgen <iozgen@lbl.gov> | 2020-04-25 16:33:01 -0700 |
commit | 5b93d6c622b4c88e222f8f9be907d1734758dfaf (patch) | |
tree | 56154e6c91df0659ad79cba31206910aca09c294 | |
parent | cf1900d74bfbb0863c18d8ddcd075e5fe80f85de (diff) |
Sat Apr 25 16:33:01 PDT 2020
-rwxr-xr-x | README.md | 3 | ||||
-rwxr-xr-x | result/plot.py | 4 | ||||
-rw-r--r-- | result/results.png | bin | 0 -> 300154 bytes |
3 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ # pyongyang C code for integral finite differencing (IFDM) with application to groundwater flow + +![Results] +(https://github.com/zgxn/result/results.png) diff --git a/result/plot.py b/result/plot.py index 450a3d3..450f58e 100755 --- a/result/plot.py +++ b/result/plot.py @@ -60,8 +60,8 @@ ax2.set_title('Darcy velocity (m/s)') ax2.plot([-0.2, -0.2, 0.2, 0.2, -0.2], [-0.2, 0.2, 0.2, -0.2, -0.2], 'k-') -plt.tight_layout() plt.colorbar(cf2, ax=ax2, orientation='horizontal', shrink=0.9) +plt.tight_layout() +plt.savefig('results.png', dpi=200, format='png') plt.show() -#plt.savefig('results.png', dpi=200, format='png') diff --git a/result/results.png b/result/results.png Binary files differnew file mode 100644 index 0000000..a783514 --- /dev/null +++ b/result/results.png |