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: display.m
    path of file: ./repos/mtex/geometry/@orientation
    
    the code of the file until where you have to start completion: function display(o)
% standart output

refSystems = [char(o.CS,'compact') ' ' getMTEXpref('arrowChar') ' ' char(o.SS,'compact')];

if isMisorientation(o)  
  type = 'misorientation';
else
  type = 'orientation';

    
function display(o)
% standart output

refSystems = [char(o.CS,'compact') ' ' getMTEXpref('arrowChar') ' ' char(o.SS,'compact')];

if isMisorientation(o)  
  type = 'misorientation';
else
  type = 'orientation';
end
displayClass(o,inputname(1),'className',type,'moreInfo',refSystems);

%disp(char(o.CS,'verbose','symmetryType'));
%if o.SS.id ~= 1, disp(char(o.SS,'verbose','symmetryType')); end
%disp(['  ' char(o.CS,'compact') ' <strong>' char(8594) '</strong> ' char(o.SS,'compact')] );
%disp(['  ' char(o.CS,'compact') ' ðŸ – âŸ¶ âžž ' char(o.SS,'compact')] );
%disp(['  ' char(o.CS,'compact') ' ' char([55358 56342]) ' ' char(o.SS,'compact')] );

if length(o)~=1, disp(['  size: ' size2str(o)]); end

if o.antipodal
  disp('  antipodal:         true');
end
  
if isMisorientation(o) && length(o) == 1 && angle(o,round2Miller(o))<1e-3
  
  disp(' ');
  %disp('     planes      directions');
  disp([' ',char(o)]);
  disp(' ')

elseif length(o) < 20 && ~isempty(o)
  Euler(o);
elseif ~getMTEXpref('generatingHelpMode') && ~isempty(o)
  disp(' ')
  s = setappdata(0,'data2beDisplayed',o);
  disp(['  <a href="matlab:Euler(getappdata(0,''',s,'''))">show Euler angles</a>'])
  disp(' ')
end