Commit 99768a05 authored by Matthijs's avatar Matthijs
Browse files

plot titles

parent c172fd84
......@@ -96,13 +96,15 @@ def Phase_graphics_3d(config, output):
phys_constraint_plot = XYZStackViewer(output['u1'])
fourier_constraint_plot = XYZStackViewer(output['u2'])
convergence_plots, ax = subplots(1, 2, figsize=(6, 3.5))
convergence_plots, ax = subplots(1, 2, figsize=(7, 3))
ax[0].semilogy(output['change'])
ax[0].set_title('Change')
ax[0].set_xlabel('iteration')
ax[0].set_ylabel('$||x^{2k+2}-x^{2k}||$')
if "diagnostic" in config:
ax[1].semilogy(output['gap'])
ax[1].set_xlabel('iteration')
ax[1].set_title('Gap')
ax[1].set_ylabel('$||x^{2k+1}-x^{2k}||$')
show()
......
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