Skip to content

Commit d53717b

Browse files
committed
Changed colormap for RBC plots in the paper
1 parent b572556 commit d53717b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pySDC/projects/Resilience/paper_plots.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def plot_RBC_solution(): # pragma: no cover
447447
def _plot(t, ax, cax):
448448
u_hat = prob.u_exact(t)
449449
u = prob.itransform(u_hat)
450-
im = ax.pcolormesh(prob.X, prob.Z, u[prob.index('T')], rasterized=True)
450+
im = ax.pcolormesh(prob.X, prob.Z, u[prob.index('T')], rasterized=True, cmap='plasma')
451451
fig.colorbar(im, cax, label=f'$T(t={{{t}}})$')
452452

453453
_plot(0, axs[0], caxs[0])
@@ -636,12 +636,11 @@ def make_plots_for_adaptivity_paper(): # pragma: no cover
636636

637637

638638
def make_plots_for_resilience_paper(): # pragma: no cover
639+
compare_recovery_rate_problems(target='resilience', num_procs=1, strategy_type='SDC')
640+
plot_RBC_solution()
639641
plot_recovery_rate(get_stats(run_vdp))
640642
plot_fault_vdp(0)
641643
plot_fault_vdp(13)
642-
compare_recovery_rate_problems(target='resilience', num_procs=1, strategy_type='SDC')
643-
644-
plot_RBC_solution()
645644

646645

647646
def make_plots_for_notes(): # pragma: no cover

0 commit comments

Comments
 (0)