span>&nbsp;)&nbsp;-&nbsp;centerx&nbsp;)&nbsp;*&nbsp;scale&nbsp;+&nbsp;center(2);
<br>
&nbsp;&nbsp;points.ydata&nbsp;=&nbsp;(&nbsp;<span class=graph>get</span>(&nbsp;hnd,&nbsp;<span class=quotes>'ydata'</span>&nbsp;)&nbsp;-&nbsp;centery&nbsp;)&nbsp;*&nbsp;scale&nbsp;+&nbsp;center(1);
<br>
&nbsp;&nbsp;<span class=graph>set</span>(&nbsp;hnd,&nbsp;<span class=quotes>'userdata'</span>,&nbsp;points&nbsp;);<br>
<span class=keyword>end</span><br>

<br>

<br>
<span class=defun_kw>function</span>&nbsp;<span class=def