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: set_layout_options.m
    path of file: ./repos/gramm/@gramm
    
    the code of the file until where you have to start completion: function obj = set_layout_options( obj , varargin )
% set_layout_options Change figure layout options
%
% 'name',value pairs:

    
function obj = set_layout_options( obj , varargin )
% set_layout_options Change figure layout options
%
% 'name',value pairs:
% 'position':       specify the position of the gramm plot in the figure, using
%                   normalized coordinates (between 0 and 1) [left bottom width height]
%                   Default is 'auto', which sets the positions/sizes 
%                   according to the gramm object array indices
% 'legend