From 13132292f5f3d4c839070a0d0d40f66066260a83 Mon Sep 17 00:00:00 2001 From: rmcdermo Date: Thu, 18 Nov 2021 17:09:53 -0500 Subject: [PATCH] Matlab: fix VTT_Sprays fonts --- Utilities/Matlab/scripts/VTT_Sprays.m | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Utilities/Matlab/scripts/VTT_Sprays.m b/Utilities/Matlab/scripts/VTT_Sprays.m index bec6153de2f..f50ec8181f5 100644 --- a/Utilities/Matlab/scripts/VTT_Sprays.m +++ b/Utilities/Matlab/scripts/VTT_Sprays.m @@ -5,6 +5,7 @@ disp('VTT_Sprays ...') plot_style +Font_Interpreter='LaTeX'; outdir = '../../../out/VTT_Sprays/'; expdir = '../../../exp/VTT_Sprays/'; @@ -70,7 +71,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Velocity (m/s)','FontSize',Label_Font_Size) +ylabel('Velocity (m/s)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Northeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size) @@ -101,7 +102,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Diameter d_{32} ({\mu}m)','FontSize',Label_Font_Size) +ylabel('Diameter d$_{32}$ ($\mu$m)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Southeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size) @@ -132,7 +133,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Droplet Flux (kg/m^2/s)','FontSize',Label_Font_Size) +ylabel('Droplet Flux (kg/m$^2$/s)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Northeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size) @@ -164,7 +165,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Velocity (m/s)','FontSize',Label_Font_Size) +ylabel('Velocity (m/s)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Northeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size) @@ -195,7 +196,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Diameter d_{32} ({\mu}m)','FontSize',Label_Font_Size) +ylabel('Diameter d$_{32}$ ($\mu$m)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Southeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size) @@ -226,7 +227,7 @@ set(gca,'FontName',Font_Name) set(gca,'FontSize',Label_Font_Size) xlabel('Radial position (m)', 'Interpreter', Font_Interpreter,'FontSize',Label_Font_Size) -ylabel('Droplet Flux (kg/m^2/s)','FontSize',Label_Font_Size) +ylabel('Droplet Flux (kg/m$^2$/s)','FontSize',Label_Font_Size, 'Interpreter', Font_Interpreter) h = legend({'Experiment','FDS 1 cm','FDS 2 cm','FDS 4 cm'}, 'Location', 'Northeast'); set(h,'Interpreter', Font_Interpreter) set(h,'FontSize', Key_Font_Size)