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: plotbond.m
    path of file: ./repos/spinw/swfiles/+swplot
    
    the code of the file until where you have to start completion: function varargout = plotbond(varargin)
% plots bonds
% 
% ### Syntax

    
function varargout = plotbond(varargin)
% plots bonds
% 
% ### Syntax
% 
% `swplot.plotbond(Name,Value)`
% 
% `hFigure = swplot.plotbond(Name,Value)`
%
% ### Description
% 
% `swplot.plotbond(Name,Value)` plots the magnetic bonds stored in
% [spinw.coupling]. It can plot bonds using different styles, such as
% arrows, lines or cylinders and allows controlling the the line style,
% cylinder radius, color, etc. The command can also plot cylinders with
% radii that are depend