From 5b93d6c622b4c88e222f8f9be907d1734758dfaf Mon Sep 17 00:00:00 2001 From: Ilhan Ozgen Date: Sat, 25 Apr 2020 16:33:01 -0700 Subject: Sat Apr 25 16:33:01 PDT 2020 --- README.md | 3 +++ result/plot.py | 4 ++-- result/results.png | Bin 0 -> 300154 bytes 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 result/results.png diff --git a/README.md b/README.md index 1356fcc..adf0c9e 100755 --- a/README.md +++ b/README.md @@ -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 new file mode 100644 index 0000000..a783514 Binary files /dev/null and b/result/results.png differ -- cgit v1.2.3-13-gbd6f