Minor corrections to plotting in correlation analysis routines.

This commit is contained in:
Karthik 2025-10-14 00:54:37 +02:00
parent 36982a7c7b
commit 44296e216c
2 changed files with 8 additions and 8 deletions

View File

@ -133,7 +133,7 @@ Plotter.plotODG2withAnalysis(od_imgs, scan_parameter_values, g2_analysis_results
Plotter.plotMeanWithSE(scan_parameter_values, analysis_results.anisotropy_vals, ...
'Title', options.titleString, ...
'YLim', [2,5], ...
'YLim', [0,6], ...
'XLabel', '\alpha (degrees)', ...
'YLabel', 'Anisotropy of correlation peaks', ...
'FigNum', 1, ...
@ -156,9 +156,9 @@ Plotter.plotPDF(grouped_data, ...
'SkipSaveFigures', options.skipSaveFigures, ...
'SaveFileName', 'PDF_MaxG2AcrossTransition.fig', ...
'SaveDirectory', pwd, ...
'NumberOfBins', 10, ...
'NumberOfBins', 20, ...
'NormalizeHistogram', true, ...
'DataRange', [0 1.0], ...
'DataRange', [0 10], ...
'Colormap', @Colormaps.coolwarm, ...
'XLim', [min(scan_reference_values) max(scan_reference_values)]);

View File

@ -63,7 +63,7 @@ options.skipFullODImagesFolderUse = false;
options.skipSaveData = false;
options.skipSaveFigures = true;
options.skipSaveProcessedOD = true;
options.skipLivePlot = false;
options.skipLivePlot = true;
options.showProgressBar = true;
@ -121,7 +121,7 @@ analysis_results = Analyzer.analyzeG2Structures(g2_analysis_results, o
%% Plot raw OD images and the corresponding real space g2 matrix
options.skipLivePlot = true;
options.skipSaveFigures = false;
options.skipSaveFigures = true;
saveDirectory = 'C:\Users\Karthik-OfficePC\Documents\GitRepositories\Calculations\Data-Analyzer\+Scripts';
Plotter.plotODG2withAnalysis(od_imgs, scan_parameter_values, g2_analysis_results, analysis_results, options, ...
'FontName', options.font, ...
@ -136,7 +136,7 @@ Plotter.plotODG2withAnalysis(od_imgs, scan_parameter_values, g2_analysis_results
Plotter.plotMeanWithSE(scan_parameter_values, analysis_results.anisotropy_vals, ...
'Title', options.titleString, ...
'YLim', [0,1], ...
'YLim', [0,10], ...
'XLabel', '\alpha (degrees)', ...
'YLabel', 'Anisotropy of correlation peaks', ...
'FigNum', 1, ...
@ -159,9 +159,9 @@ Plotter.plotPDF(grouped_data, ...
'SkipSaveFigures', options.skipSaveFigures, ...
'SaveFileName', 'PDF_MaxG2AcrossTransition.fig', ...
'SaveDirectory', pwd, ...
'NumberOfBins', 10, ...
'NumberOfBins', 20, ...
'NormalizeHistogram', true, ...
'DataRange', [0 1.0], ...
'DataRange', [0 15], ...
'Colormap', @Colormaps.coolwarm, ...
'XLim', [min(scan_reference_values) max(scan_reference_values)]);