%
% Mesh plot for Read Noise
% ------------------------------
% Since we are not analyzing every single pixel on the CCD for read noise,
% we have decided to sample the image across a diagonal to calculate read noise
% This .m file displays the pixels that we have sampled visually.
%


A = zeros(1007, 1520);
B = zeros(1007, 1520);

m = max(pixels_1(:,1));
n = max(pixels_1(:,2));
len = length(pixels_1(:,1));

 for i = 1:len,
     A(pixels_1(i,1), pixels_1(i,2)) =  ave_1(i,1);
 end

 mesh([1:1520], [1:1007], A);
 title('Mesh Plot of Average Noise');