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: facet_wrap.m
    path of file: ./repos/gramm/@gramm
    
    the code of the file until where you have to start completion: function obj=facet_wrap(obj,col,varargin)

    
function obj=facet_wrap(obj,col,varargin)
% facet_grid Create subplots according to one factor, with wrap
%
% Example syntax (default arguments): gramm_object.facet_wrap(variable,'ncols',4,'scale','fixed')
% This is similar to faced_grid except that only one variable
% is given, and subplots are arranged by column, with a wrap
% around to the next row after 'ncols' columns. There is no
% 'space' option.

p=inputParser;
my_addParameter(p,'ncols',4);
my_addParameter(p,'scale','fixed'); %options 'free' 'free_x' 'free_y'
my_addParameter(p,'force_ticks',false);
my_addParameter(p,'column_labels',true);
parse(p,varargin{:});

obj.facet_scale=p.Results.scale;
obj.column_labels=p.Results.column_labels;

if strcmp(obj.facet_scale,'independ