d">end</span>

set(gca,<span class="string">'DataAspectRatio'</span>,[1 1 1],<span class="string">'XLim'</span>,[xmin xmax],<span class="string">'YLim'</span>,[-2*l 2*l]);
axis <span class="string">off</span>;
drawnow;
</pre><p class="footer"><br><a href="http://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2012b</a><br></p></div><!--
##### SOURCE BEGIN #####
%% draw_pendulum.m
% *Summary:* Draw the pendulum system with reward, applied torque, 
% and predictive uncertainty of the tips of t