Navigation

Operators and Keywords

Function List:

C++ API

__clabel__.m File Reference


Functions

 if (isscalar(hparent)&&ishandle(hparent)&&strcmp(get(hparent,"type"),"hggroup")) x
 while (i1< length(c)) clev
 if (!isempty(v)&&!any(find(clev==v))) i1+
 if (all(c(:, i1+1)==c(:, i1+clen))) Spacing
 pos (1)
 pos (2:ntag)
 if (tpos(1)!=xmin &&tpos(1)!=xmax &&tpos(2)!=ymin &&tpos(2)!=ymax) trot
 if (ischar(z)) ht
 elseif (!isempty(z)) ht

Variables

function h
 xspacing = 72 * 4 / abs(lims(1) - lims(2))
 yspacing = 72 * 3 / abs(lims(3) - lims(4))
 xmin = min (x(:))
 xmax = max (x(:))
 y = get (hparent, "ydata")
 ymin = min (y(:))
 ymax = max (y(:))
else i1 = 1
 clen = c(2,i1)
 p
 continue
 d = sqrt (sumsq (diff (p, 1, 2)))
 cumd = cumsum (d)
 td = sum(d)
 ntag = ceil (td / label_spacing)
 pos = Spacing / 2 + [0:ntag-1] * Spacing
endif j1 = 2
 tlabel = sprintf ("%g", clev)
for i
endwhile tpos = sum(c(:,i1+j1-1:i1+j1), 2) ./ 2
else ht

Function Documentation

elseif ( isemptyz  ) 

if ( ischar(z)   ) 

if ( tpos(1)!  = xmin &&tpos(1)!=xmax &&tpos(2)!=ymin &&tpos(2)!=ymax  ) 

if ( all(c(:, i1+1)==c(:, i1+clen))   ) 

if ( isemptyv)&&!any(find(clev==v)  ) 

if ( isscalar(hparent)&&ishandle(hparent)&&strcmp(get(hparent,"type"),"hggroup")   ) 

pos ( 2:ntag   ) 

pos (  ) 

while (  ) 


Variable Documentation

continue

cumd = cumsum (d)

d = sqrt (sumsq (diff (p, 1, 2)))

endif h

Initial value:

 __clabel__ (c, v, hparent, label_spacing, z, varargin)


  lims = axis ()

ht

Initial value:

 text (tpos(1), tpos(2), tlabel, "rotation", trot,
                     "parent", hparent, "horizontalalignment", "center",
                     "userdata", clev, varargin{:})

for i

Initial value:

 1 : ntag
      tagpos = pos(i)

endif j1 = 2

ntag = ceil (td / label_spacing)

endif p

Initial value:

 c(:, i1+1:i1+clen)      

      xmin = min (c(1,:))

else pos = Spacing / 2 + [0:ntag-1] * Spacing

td = sum(d)

tlabel = sprintf ("%g", clev)

endwhile tpos = sum(c(:,i1+j1-1:i1+j1), 2) ./ 2

xmax = max (x(:))

xmin = min (x(:))

xspacing = 72 * 4 / abs(lims(1) - lims(2))

y = get (hparent, "ydata")

ymax = max (y(:))

ymin = min (y(:))

yspacing = 72 * 3 / abs(lims(3) - lims(4))