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: plotEarth.m
    path of file: ./repos/chebfun/@spherefun
    
    the code of the file until where you have to start completion: function varargout = plotEarth(varargin)
%PLOTEARTH  Plots the landmasses of earth.
%   PLOTEARTH plots outlines of the landmasses of earth on a sphere using
%   black solid lines.
%
%   PLOTEARTH(LINESPEC) uses the uses the color and marker from the 
%   line specification string 'LineSpec' (See PLOT for possibilities)
%
% See also spherefun/surf, spherefun/plot, spherefun/contour

    
function varargout = plotEarth(varargin)
%PLOTEARTH  Plots the landmasses of earth.
%   PLOTEARTH plots outlines of the landmasses of earth on a sphere using
%   black solid lines.
%
%   PLOTEARTH(LINESPEC) uses the uses the color and marker from the 
%   line specification string 'LineSpec' (See PLOT for possibilities)
%
% See also spherefun/surf, spherefun/plot, spherefun/contour

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.


% Land masses are stored in the data file CoastData.mat
try
    x = load('CoastData.mat', 'coast');
catch
    error('CHEBFUN:SPHEREFUN:PLOTEARTH:coastDataNotFound',...
        ['File containing the coast line data could not be found. '...
        'Try reinstalling chebfun.']);
end