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: corr_normplot.m
    path of file: ./repos/bspm/thirdparty/corr_toolbox_v2
    
    the code of the file until where you have to start completion: function corr_normplot(x,y)

% Plots univariate histograms, scatterplot, and joint histogram
% for the bivariate data set defined by [x,y] 
%
% FORMAT: corr_normplot(x,y)
%
% INPUTS: x and y are two vectors of the same length

% Cyril Pernet v1 20/06/2012
% -----------------------------

    
function corr_normplot(x,y)

% Plots univariate histograms, scatterplot, and joint histogram
% for the bivariate data set defined by [x,y] 
%
% FORMAT: corr_normplot(x,y)
%
% INPUTS: x and y are two vectors of the same length

% Cyril Pernet v1 20/06/2012
% -----------------------------
% Copyright (C) Corr_toolbox 2012

if size(x)~=size(y)
    error('X and Y must have the same size')
end