-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMATLAB code microperimetry data
11 lines (11 loc) · 2.08 KB
/
MATLAB code microperimetry data
1
2
3
4
5
6
7
8
9
10
11
scatter(X, Y, pointsize, normals_sco, 'filled') %creates scatterplot from X and Y data with pointsize filled with color
box on %adds bounding box for graph
labels_normals_sco = cellstr(num2str(normals_sco)); %converts values to string labels
text (X, Y, labels_normals_sco, 'VerticalAlignment','top','Horizontalalignment', 'left') %adds threshold values
title ("normals sco"); %plot title
axis equal
xlim([-15 15]) %sets limit values for x-axis
ylim([-15 15]) %sets limit values for y-axis
colormap([1 0 0;1 0.0322580635547638 0;1 0.0645161271095276 0;1 0.0967741906642914 0;1 0.129032254219055 0;1 0.161290317773819 0;1 0.193548381328583 0;1 0.225806444883347 0;1 0.25806450843811 0;1 0.290322571992874 0;1 0.322580635547638 0;1 0.354838699102402 0;1 0.387096762657166 0;1 0.419354826211929 0;1 0.451612889766693 0;1 0.483870953321457 0;1 0.516129016876221 0;1 0.548387110233307 0;1 0.580645143985748 0;1 0.612903237342834 0;1 0.645161271095276 0;1 0.677419364452362 0;1 0.709677398204803 0;1 0.74193549156189 0;1 0.774193525314331 0;1 0.806451618671417 0;1 0.838709652423859 0;1 0.870967745780945 0;1 0.903225779533386 0;1 0.935483872890472 0;1 0.967741906642914 0;1 1 0;0.96875 0.984436273574829 0;0.9375 0.968872547149658 0;0.90625 0.953308820724487 0;0.875 0.937745094299316 0;0.84375 0.922181367874146 0;0.8125 0.906617641448975 0;0.78125 0.891053915023804 0;0.75 0.875490188598633 0;0.71875 0.859926462173462 0;0.6875 0.844362735748291 0;0.65625 0.82879900932312 0;0.625 0.813235282897949 0;0.59375 0.797671556472778 0;0.5625 0.782107830047607 0;0.53125 0.766544103622437 0;0.5 0.750980377197266 0;0.46875 0.73541671037674 0;0.4375 0.719852983951569 0;0.40625 0.704289257526398 0;0.375 0.688725531101227 0;0.34375 0.673161804676056 0;0.3125 0.657598078250885 0;0.28125 0.642034351825714 0;0.25 0.626470625400543 0;0.21875 0.610906898975372 0;0.1875 0.595343172550201 0;0.15625 0.579779446125031 0;0.125 0.56421571969986 0;0.09375 0.548651993274689 0;0.0625 0.533088266849518 0;0.03125 0.517524540424347 0;0 0.501960813999176 0]) %colormap set to MP1S heatmap
caxis ([0, 28]) %sets range for colormap
colorbar %shows colorbar