From 5faf4333299c78fa83b3adfb0061bf9e59eef52a Mon Sep 17 00:00:00 2001 From: Karthik Chandrashekara Date: Wed, 15 Oct 2025 21:09:26 +0200 Subject: [PATCH] Changed axis labelling. --- .../runRadialSpectralDistributionAnalysis.m | 12 ++++++------ .../runRadialSpectralDistributionAnalysis.m | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Data-Analyzer/+Scripts/BECToDroplets/runRadialSpectralDistributionAnalysis.m b/Data-Analyzer/+Scripts/BECToDroplets/runRadialSpectralDistributionAnalysis.m index 29032d1..f43dc7a 100644 --- a/Data-Analyzer/+Scripts/BECToDroplets/runRadialSpectralDistributionAnalysis.m +++ b/Data-Analyzer/+Scripts/BECToDroplets/runRadialSpectralDistributionAnalysis.m @@ -106,8 +106,8 @@ Plotter.plotSpectralCurves( ... 'HighlightEvery', 10, ... % highlight every 10th repetition 'FontName', options.font, ... 'FigNum', 1, ... - 'TileTitlePrefix', '\alpha', ... % user-defined tile prefix - 'TileTitleSuffix', '^\circ', ... % user-defined suffix (e.g., degrees symbol) + 'TileTitlePrefix', 'B', ... % user-defined tile prefix + 'TileTitleSuffix', 'G', ... % user-defined suffix (e.g., degrees symbol) 'SkipSaveFigures', options.skipSaveFigures, ... 'SaveFileName', 'SpectralCurves.fig', ... 'SaveDirectory', options.saveDirectory); @@ -194,7 +194,7 @@ end %% ------------------ 3. Plot fit parameters - amplitude ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak amplitude', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -212,7 +212,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... %% ------------------ 4. Plot fit parameters - position ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak position (\theta, rad)', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -229,7 +229,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... %% ------------------ 5. Plot fit parameters - width ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak width (\sigma, rad)', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -247,7 +247,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... %% ------------------ 6. Plot secondary Gaussian range ------------------ Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', '\mu_2 \pm \sigma_2 (rad)', ... 'FontName', options.font, ... 'FontSize', 16, ... diff --git a/Data-Analyzer/+Scripts/BECToStripes/runRadialSpectralDistributionAnalysis.m b/Data-Analyzer/+Scripts/BECToStripes/runRadialSpectralDistributionAnalysis.m index 5ffd312..8eb46c1 100644 --- a/Data-Analyzer/+Scripts/BECToStripes/runRadialSpectralDistributionAnalysis.m +++ b/Data-Analyzer/+Scripts/BECToStripes/runRadialSpectralDistributionAnalysis.m @@ -106,8 +106,8 @@ Plotter.plotSpectralCurves( ... 'HighlightEvery', 10, ... % highlight every 10th repetition 'FontName', options.font, ... 'FigNum', 1, ... - 'TileTitlePrefix', '\alpha', ... % user-defined tile prefix - 'TileTitleSuffix', '^\circ', ... % user-defined suffix (e.g., degrees symbol) + 'TileTitlePrefix', 'B', ... % user-defined tile prefix + 'TileTitleSuffix', 'G', ... % user-defined suffix (e.g., degrees symbol) 'SkipSaveFigures', options.skipSaveFigures, ... 'SaveFileName', 'SpectralCurves.fig', ... 'SaveDirectory', options.saveDirectory); @@ -194,7 +194,7 @@ end %% ------------------ 3. Plot fit parameters - amplitude ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak amplitude', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -212,7 +212,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... %% ------------------ 4. Plot fit parameters - position ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak position (\theta, rad)', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -229,7 +229,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... %% ------------------ 5. Plot fit parameters - width ------------------ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', 'Secondary peak width (\sigma, rad)', ... 'FontName', options.font, ... 'FontSize', 16, ... @@ -247,7 +247,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... %% ------------------ 6. Plot secondary Gaussian range ------------------ Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ... 'Title', options.titleString, ... - 'XLabel', '\alpha (degrees)', ... + 'XLabel', 'B (G)', ... 'YLabel', '\mu_2 \pm \sigma_2 (rad)', ... 'FontName', options.font, ... 'FontSize', 16, ...