From 5cfd6d157c007e66453dc0c581e3191f96be1ad4 Mon Sep 17 00:00:00 2001 From: Francesco Carpanese <francesco.carpanese@epfl.ch> Date: Mon, 20 Jan 2020 17:48:13 +0000 Subject: [PATCH] Apply suggestion to matlab/TCV_IMAS/plot_connection_matrices.m --- matlab/TCV_IMAS/plot_connection_matrices.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/TCV_IMAS/plot_connection_matrices.m b/matlab/TCV_IMAS/plot_connection_matrices.m index 0d452f90..4bc6f606 100644 --- a/matlab/TCV_IMAS/plot_connection_matrices.m +++ b/matlab/TCV_IMAS/plot_connection_matrices.m @@ -42,9 +42,9 @@ for kk=1:info_pf_active.ntotcircuits xlab{index} = [addcolor info_pf_active.coil{ii}.name 'in']; index = index +1; xlab{index} = [addcolor info_pf_active.coil{ii}.name 'out']; - end - shg +xlab = strrep(xlab,'_','\_'); % since we need the TeX interpreter for colors + axis ij ax = gca; colormap(bone(2)) -- GitLab