diff options
Diffstat (limited to 'result/plot.py')
-rwxr-xr-x | result/plot.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |