From 7979b0630230b8e337818b8368fc525418206cdd Mon Sep 17 00:00:00 2001 From: Antoine <antoine.hoffmann@epfl.ch> Date: Mon, 4 Sep 2023 16:51:17 +0200 Subject: [PATCH] new option to change color limits --- matlab/plot/photomaton.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matlab/plot/photomaton.m b/matlab/plot/photomaton.m index dc3dfc5b..c6c46acb 100644 --- a/matlab/plot/photomaton.m +++ b/matlab/plot/photomaton.m @@ -44,7 +44,9 @@ FIGURE.fig = figure; %set(gcf, 'Position', toplot.DIMENSIONS.*[1 1 Ncols Nrows] xlabel(toplot.XNAME); ylabel(toplot.YNAME); % if i_ > 1; set(gca,'ytick',[]); end; title([sprintf('$t c_s/R=%.0f$',tshot),', max = ',sprintf('%.1e',frame_max)]); - + if OPTIONS.CLIMAUTO + clim('auto') + end end legend(['$',toplot.FIELDNAME,'$']); FIGURE.FIGNAME = [FNAME,'_snaps',TNAME]; -- GitLab