Changed axis labelling.

This commit is contained in:
Karthik 2025-10-15 21:09:26 +02:00
parent 7904c3aa20
commit 5faf433329
2 changed files with 12 additions and 12 deletions

View File

@ -106,8 +106,8 @@ Plotter.plotSpectralCurves( ...
'HighlightEvery', 10, ... % highlight every 10th repetition 'HighlightEvery', 10, ... % highlight every 10th repetition
'FontName', options.font, ... 'FontName', options.font, ...
'FigNum', 1, ... 'FigNum', 1, ...
'TileTitlePrefix', '\alpha', ... % user-defined tile prefix 'TileTitlePrefix', 'B', ... % user-defined tile prefix
'TileTitleSuffix', '^\circ', ... % user-defined suffix (e.g., degrees symbol) 'TileTitleSuffix', 'G', ... % user-defined suffix (e.g., degrees symbol)
'SkipSaveFigures', options.skipSaveFigures, ... 'SkipSaveFigures', options.skipSaveFigures, ...
'SaveFileName', 'SpectralCurves.fig', ... 'SaveFileName', 'SpectralCurves.fig', ...
'SaveDirectory', options.saveDirectory); 'SaveDirectory', options.saveDirectory);
@ -194,7 +194,7 @@ end
%% ------------------ 3. Plot fit parameters - amplitude ------------------ %% ------------------ 3. Plot fit parameters - amplitude ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak amplitude', ... 'YLabel', 'Secondary peak amplitude', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -212,7 +212,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ...
%% ------------------ 4. Plot fit parameters - position ------------------ %% ------------------ 4. Plot fit parameters - position ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak position (\theta, rad)', ... 'YLabel', 'Secondary peak position (\theta, rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -229,7 +229,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ...
%% ------------------ 5. Plot fit parameters - width ------------------ %% ------------------ 5. Plot fit parameters - width ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak width (\sigma, rad)', ... 'YLabel', 'Secondary peak width (\sigma, rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -247,7 +247,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ...
%% ------------------ 6. Plot secondary Gaussian range ------------------ %% ------------------ 6. Plot secondary Gaussian range ------------------
Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ... Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', '\mu_2 \pm \sigma_2 (rad)', ... 'YLabel', '\mu_2 \pm \sigma_2 (rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...

View File

@ -106,8 +106,8 @@ Plotter.plotSpectralCurves( ...
'HighlightEvery', 10, ... % highlight every 10th repetition 'HighlightEvery', 10, ... % highlight every 10th repetition
'FontName', options.font, ... 'FontName', options.font, ...
'FigNum', 1, ... 'FigNum', 1, ...
'TileTitlePrefix', '\alpha', ... % user-defined tile prefix 'TileTitlePrefix', 'B', ... % user-defined tile prefix
'TileTitleSuffix', '^\circ', ... % user-defined suffix (e.g., degrees symbol) 'TileTitleSuffix', 'G', ... % user-defined suffix (e.g., degrees symbol)
'SkipSaveFigures', options.skipSaveFigures, ... 'SkipSaveFigures', options.skipSaveFigures, ...
'SaveFileName', 'SpectralCurves.fig', ... 'SaveFileName', 'SpectralCurves.fig', ...
'SaveDirectory', options.saveDirectory); 'SaveDirectory', options.saveDirectory);
@ -194,7 +194,7 @@ end
%% ------------------ 3. Plot fit parameters - amplitude ------------------ %% ------------------ 3. Plot fit parameters - amplitude ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak amplitude', ... 'YLabel', 'Secondary peak amplitude', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -212,7 +212,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'A2', ...
%% ------------------ 4. Plot fit parameters - position ------------------ %% ------------------ 4. Plot fit parameters - position ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak position (\theta, rad)', ... 'YLabel', 'Secondary peak position (\theta, rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -229,7 +229,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'mu2', ...
%% ------------------ 5. Plot fit parameters - width ------------------ %% ------------------ 5. Plot fit parameters - width ------------------
Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ... Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', 'Secondary peak width (\sigma, rad)', ... 'YLabel', 'Secondary peak width (\sigma, rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...
@ -247,7 +247,7 @@ Plotter.plotFitParameterPDF(fitResults, scan_reference_values, 'sigma2', ...
%% ------------------ 6. Plot secondary Gaussian range ------------------ %% ------------------ 6. Plot secondary Gaussian range ------------------
Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ... Plotter.plotSecondaryGaussianRange(fitResults, scan_reference_values, ...
'Title', options.titleString, ... 'Title', options.titleString, ...
'XLabel', '\alpha (degrees)', ... 'XLabel', 'B (G)', ...
'YLabel', '\mu_2 \pm \sigma_2 (rad)', ... 'YLabel', '\mu_2 \pm \sigma_2 (rad)', ...
'FontName', options.font, ... 'FontName', options.font, ...
'FontSize', 16, ... 'FontSize', 16, ...