plt%draw()</div>
<div class="line"><span class="keyword">end program</span></div>
</div><!-- fragment --> The above program produces the following output. <div class="image">
<img src="spline_interp_example_2.png" alt=""/>
</div>
</dd></dl>
<dl class="section user"><dt></dt><dd>Boundary conditions can also be enforced on the spline. The following example illustrates how to assign a zero-slope to either end of the curve. <div class="fragment"><div class="line"><span class="keyword">program</span> example</di