attach_note_at
Specifies the point to which a note is attached.
Syntax
attach_note_at(index)
Input
- index
- A point on a curve.
Example
{
tmax = 0;
cidx = 0;
pidx = 0;
for (i = 0; i < numcurves(); i++)
y = curvey(i);
cmax = max(y);
if (cmax > tmax)
tmax = cmax;
cidx = i;
pidx = indexofmax(y);
endif
endloop
attach_note_to(cidx)
attach_note_at(pidx)
}
Comments
attach_note_at and attach_note_to are used only for curve notes, otherwise they are ignored.