Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
nam
ProxPython
Commits
99768a05
Commit
99768a05
authored
Apr 22, 2020
by
Matthijs
Browse files
plot titles
parent
c172fd84
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxtoolbox/Problems/OrbitalTomog/Graphics/Phase_graphics.py
View file @
99768a05
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment