Commit f98bfe4b authored by Andreas Freise's avatar Andreas Freise
Browse files

small fix for tools.py

parent 34a0c1da
......@@ -71,7 +71,7 @@ def plot_error_contour(x,y,z,xlabel, ylabel, clabel, title='', filename=''):
# make symmetric color display
zlimit=np.max([abs(data.max()),abs(data.min())])
im = ax.imshow(data,origin='lower',extent=extent,cmap=mycm, aspect='auto', interpolation='nearest')
#im = ax.imshow(z[:,:,4],origin='lower',extent=extent,cmap=mycm, aspect='auto')
#im = ax.imshow(data,origin='lower',extent=extent,cmap=mycm, aspect='auto')
cb = fig.colorbar(im, format="%.4g")
cb.set_clim(-1.0*zlimit, zlimit)
ax.autoscale(False)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment