diff --git a/matlab/reports/@graph/createGraph.m b/matlab/reports/@graph/createGraph.m
index 99d97533597d4dd8cc7762e200e5e8ab2417c059..5f94cba232bc29fa4eca99ebcb836bafb03bc8ae 100644
--- a/matlab/reports/@graph/createGraph.m
+++ b/matlab/reports/@graph/createGraph.m
@@ -138,7 +138,7 @@ drawnow;
 if isempty(o.figname)
     [junk, tn] = fileparts(tempname);
     if strcmp(computer, 'PCWIN') || strcmp(computer, 'PCWIN64')
-        tn = strrep(tn, '_', '\_');
+        tn = strrep(tn, '_', '-');
     end
     o.figname = [o.figDirName filesep tn '.tex'];
 end