function varargout = plotvector(vct,varargin)
[sz1,sz2]= size(vct);
if sz1==1 & sz2==3
	h=plot3(vct(1),vct(2),vct(3),varargin{:});
elseif sz1==3
	h=plot3(vct(1,:),vct(2,:),vct(3,:),varargin{:});
end
if nargout>0
	varargout{1} = h;
end


	