function h=text(x,y,t,j) % text - Adds a text t at position (x,y) % % Reference: % Matlab - Octave compatibility function %% =========================================================================== %% =========================================================================== % Copyright (C): % 2001-2003 by Forschungszentrum Telekommunikation Wien, Austria; % All rights reserved. % Project : FTW's xDSLsimu % Author(s) : Bo Engstrom (bosse@upzide.com) % % CVS: $Id: text.m,v 3.1 2002/12/27 16:15:18 tono Exp $ %% =========================================================================== % Change History % 2001-06-15 (Bosse) Created for Octave port %% =========================================================================== if nargin==3 eval(sprintf('graw(''set label "%s" at %g,%g;'');replot',t,x,y)) elseif nargin==4 eval(sprintf('graw(''set label "%s" at %g,%g %s;'');replot',t,x,y,j)) end h=0;