This repo consists of the MATLAB code to generate the image dataset used in the experiments conducted for this research study.
-
main.mcreates the images dataset for the experiments in separate folders. -
generate_datasets.mgenerates the underlying data used to create images. -
generate_colormaps.mis the MATLAB script for generating the images using the data fromgenerate_datasets.m -
IMAGESfolder containing the image dataset for all the experiments. To create the image dataset for the experiments, simply execute themain.mfile -
AnalyzingExperimentDatacontains the data used to analyze the experiment-
Analyzing(SPSS)contains files regarding analyzing the data in SPSSColormapAnalysesAll.spsis the SPSS syntax file that provides the analyses conducted for experiments 1-4Exp1_Hotspot.savprovides the analysis for the RTs of the Hotspot images in Experiment 1.Exp1_Scrambled.savprovides the analysis for the RTs of the Scrambled images in Experiment 1.Exp2_BalancedImg.savprovides the analysis for the RTs of the Balanced Cue images in Experiment 2.Exp2_HSmore.savprovides the analysis for the RTs of the Hotspot More images in Experiment 2.Exp3_BalancedImg.savprovides the analysis for the RTs of the Balanced Cue images in Experiment 3.Exp3_HSmore.savprovides the analysis for the RTs of the Hotspot More images in Experiment 3.Exp4_BalancedImg.savprovides the analysis for the RTs of the Balanced Cue images in Experiment 4.Exp4_HSmore.savprovides the analysis for the RTs of the Hotspot More images in Experiment 4.HotspotLocationRT.savprovides the analysis for the RTs of the Hotspot Localization task in Experiments 2-4.
-
OrganizingPloting(Matlab)containsCOLORMAPS_MAIN.m, which is the main file that loads, organizes, and plots all experimental data. For all experiments, the Matlab code makes output files; these end in_out. There are corresponding.csvfiles we have produced with_headerthat include headers and subject numbers.-
Experiment 1
Exp1_ColormapSpace.matcontains the data from Experiment 1.Exp1_Hotspot_headers.csvcontains the data from Experiment 1 (Hotspot condition). Within this file, the first part of the header indicates colorscale:A_is Autumn andV_is Viridis. The second part indicates the lightness of the hotspot:Dhs_is dark hotspot andLhs_is light hotspot. The third part indicates legend text position:Ghi_is "Greater" at the top of the legend andGlo_is "Greater" at the bottom of the legend. The fourth part indicates the mapping:Dmindicates a dark-more mapping andLmindicates a light-more mapping.Exp1_OrganizeColormapsSpace.mchecks the accuracy of responses, prunes response times, and makes figures.Exp1_Scramble_headers.csvcontains the data from Experiment 1 (Scrambled condition). Headers are identical to the hotspot condition.
-
Experiment 2
Exp2_ColormapSpaceHS.matcontains the data from Experiment 2.Exp2_BalancedImg_headers.csvcontains the data from Experiment 2 (Balanced Cue Image condition). Headers are identical to Experiment 1.Exp2_HSmore_headers.csvcontains the data from Experiment 2 (Hotspot-More Image condition). Headers are identical to Experiment 1.Exp2_OrganizeColormapHS.mchecks the accuracy of responses, prunes response times, and makes figures.
-
Experiment 3
Exp3_ColormapSpaceHHS.matcontains the data from Experiment 3.Exp3_BalancedImg_headers.csvcontains the data from Experiment 3 (Balanced Cue Image condition). Within this file, the first part of the header indicates colorscale: The first part of the header indicates colorscale.H_is Hot andV_is Viridis. The rest of the header is identical to Experiment 1.Exp3_HSmore_headers.csvcontains the data from Experiment 3 (Hotspot-More Image condition). Headers are identical to Experiment 3 above.Exp3_OrganizecolormapHHS.mchecks the accuracy of responses, prunes response times, and makes figures.
-
Experiment 4
Exp4_ColormapSpaceHHSmall.matContains the data from Experiment 4.Exp4_BalancedImg_headers.csvcontains the data from Experiment 4 (Balanced Cue Image condition). Headers are identical to Experiment 3.Exp4_HSmore_headers.csvcontains the data from Experiment 4 (Hotspot-More Image condition). Headers are identical to Experiment 3.Exp4_OrganizeColormapHSSmall.mchecks the accuracy of responses, prunes response times, and makes figures.
-
Experiments 2-4
Exp2-4_HotspotLocalization.csvcontains the RT data for the localization task in Experiments 2-4. Note: there was one less participant in Experiment 4 because a participant did not complete the localization task.PlotHSlocation.mplots the data for the hotspot localization task for Experiments 2-4.
-
Helper files
PruneRTs_HSLoc.mis a function used to prune RTs if a participant is outside of 2 standard deviations of the their mean in Experiments 2-4.PlotColormaps.mis a function used to plot data for Experiments 1-4.PlotColormapsHS.mis a function used to plot data for Experiments 1-4.PruneRTs.mprunes RTs if a participant is outside of 2 standard deviations of the their mean in Experiments 1-4.PruneRTs_HS.mis a function used to prune RTs if a participant is outside of 2 standard deviations of the their mean in Experiments 2-4.
-
-