function h = verticalline(fun, varargin);
% VERTICALLINE  Creates a vertical straight line from a constant function.

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.1 $  $Date: 2000/05/22 01:34:12 $

if nargin < 1
    error('verticalline requires at least one argument');
end

h = graph2d.constantline(fun, varargin{:});
h = changedependvar(h,'x');