Commit 19f44478 authored by Philipp Arras's avatar Philipp Arras
Browse files

Logarithmic plotting

parent e9905da6
Pipeline #75242 passed with stages
in 25 minutes and 13 seconds
......@@ -76,9 +76,10 @@ if __name__ == '__main__':
mgkl = ift.MetricGaussianKL(pos, ham, 40)
plt.cla()
from matplotlib.colors import LogNorm
plt.imshow(z.T, origin='lower',
extent=(x_limits[0]*uninformative_scaling,
x_limits[1]*uninformative_scaling)+tuple(y_limits), vmin=0., vmax=np.amax(z))
x_limits[1]*uninformative_scaling)+tuple(y_limits), norm=LogNorm(), vmin=1e-3, vmax=np.max(z))
if ii==0:
plt.colorbar()
xs, ys = [], []
......
Markdown is supported
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