You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: PlotPoisson0.m
    path of file: ./repos/2D_ALDIC/plotFiles
    
    the code of the file until where you have to start completion: function [poisson,trimdvdy,trimdudx] = PlotPoisson0(DICpara,ResultStrain,sizeOfImg)
%PLOTPOISSON0: to compute and plot DIC solved Poisson's ratio 
%   [poisson]     = Plotstress0(DICpara,ResultStrain,sizeOfImg)
%
%   INPUT: DICpara          DIC para in the ALDIC code
%          ResultStrain     ALDIC computed strain field result
%          SizeOfImg        Size of the DIC raw image
%           
%   OUTPUT: poisson      Poisson's ratio
%
%   Plots:       
%       1) Poisson's ratio field
%       2) Poisson's ratio histogram
%
%   TODO: users could change caxis range based on their own choices.
%
% ----------------------------------------------
% Author: MFO  
% Contact and support: marcelo.falcao@usp.br
% Last time updated: 2023.11

    
function [poisson,trimdvdy,trimdudx] = PlotPoisson0(DICpara,ResultStrain,sizeOfImg)
%PLOTPOISSON0: to compute and plot DIC solved Poisson's ratio 
%   [poisson]     = Plotstress0(DICpara,ResultStrain,sizeOfImg)
%
%   INPUT: DICpara          DIC para in the ALDIC code
%          ResultStrain     ALDIC computed strain field result
%          SizeOfImg        Size of the DIC raw image
%           
%   OUTPUT: poisson      Poisson's ratio
%
%   Plots:       
%       1) Poisson's ratio field
%       2) Poisson's ratio histogram
%
%   TODO: users could change caxis range based on their own choices.
%
% ----------------------------------------------
% Author: MFO  
% Contact and support: marcelo.falcao@usp.br
% Last time updated: 2023.11
% Reference: Plotstress0.m by Jin Yang
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%% Initialization
warning off; load('colormap_RdYlBu.mat','cMap');

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% convert pixel unit to the physical world unit %%%%%
um2px = DICpara.um2px; 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

OrigDICImgTransparency = DICpara.OrigDICImgTransparency; % Original raw DIC image transparency
Image2PlotResults = DICpara.Image2PlotResults; % Choose image to plot over (first only, second and next images)
   

%% Load computed strain fields
x2 = ResultStrain.strainxCoord; 
y2 = ResultStrain.strainyCoord;
%[M,N] = size(x2);
dudx = ResultStrain.dudx;
dvdy = ResultStrain.dvdy;
%% Compute Poisson's ratios
if not((all(all(sign(dudx)<0)) | all(all(sign(dudx)>0))) & (all(all(sign(dvdy)<0)) | all(all(sign(dvdy)>0))))  
    fprintf ('WARNING! Deformation mismatch at some points.\n');
end