From 61fd9d7c7dda870144dfbcbb1e606129b10885c0 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Thu, 25 Jun 2020 09:28:03 +0200
Subject: [PATCH] rplot.m: fix TeX-ylabel

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

diff --git a/matlab/rplot.m b/matlab/rplot.m
index 0f49ca29a3..2605e7f5a4 100644
--- a/matlab/rplot.m
+++ b/matlab/rplot.m
@@ -129,7 +129,7 @@ elseif options_.rplottype == 2
         end
         xlabel('Periods') ;
         if options_.TeX
-            ylabel([s1_TeX{j}],'Interpreter','latex') ;
+            ylabel(['$' s1_TeX{j} '$'],'Interpreter','latex') ;
             title(['Plot of $' s1_TeX{j} '$'],'Interpreter','latex') ;
         else
             ylabel([s1{j}],'Interpreter','none') ;
-- 
GitLab