summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlhan Ozgen <iozgen@lbl.gov>2020-04-25 16:33:01 -0700
committerIlhan Ozgen <iozgen@lbl.gov>2020-04-25 16:33:01 -0700
commit5b93d6c622b4c88e222f8f9be907d1734758dfaf (patch)
tree56154e6c91df0659ad79cba31206910aca09c294
parentcf1900d74bfbb0863c18d8ddcd075e5fe80f85de (diff)
Sat Apr 25 16:33:01 PDT 2020
-rwxr-xr-xREADME.md3
-rwxr-xr-xresult/plot.py4
-rw-r--r--result/results.pngbin0 -> 300154 bytes
3 files changed, 5 insertions, 2 deletions
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
--- /dev/null
+++ b/result/results.png
Binary files differ