From 32a7de4261f560a37744bdd0a556e8d59fe382ab Mon Sep 17 00:00:00 2001
From: Olivier Sauter <olivier.sauter@epfl.ch>
Date: Fri, 8 Oct 2021 12:11:03 +0000
Subject: [PATCH] fixing name in label (nb2 to nbi2)

---
 matlab/TCV/gdat_tcv.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 65e1b316..d8408371 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -2529,7 +2529,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
         gdat_data.nbi.t=gdat_data.nbi.dim{1};
         gdat_data.nbi.x=[];
         gdat_data.nbi.data_fullpath=[nodenameeff];
-        gdat_data.nbi.label='P_{nb2}';
+        gdat_data.nbi.label='P_{nbi2}';
         gdat_data.nbi.help = nb2_data_tdi.help;
         nodenameeff2 = '\results::nb2:energy';
         gdat_data.nbi.data_fullpath=[nodenameeff ' *1e6 for W; and ' nodenameeff2 ' *1e3 for eV'];
-- 
GitLab