Including Graphs in Questions

If you choose "Use HTML formatting for the question text" when constructing a question it's possible to have Maple T.A. insert a graph into the text. The text show in this font can be pasted into the question window. It's important to note that the contents beginning <script> and ending with </script> must be contained on a single line. If broken across more than one line this call to Maple T.A. will fail (and no graph will be shown).

Including a surface plot

For example, here is some content that can be pasted into the question Text Area to view a surface in three dimensions. (Note that I've only shown the plot after each example in this section: the question text is, of course, also included on the page. )

What is the maximum value of the function plotted here?
<script>drawMaplePlot("plot3d((x^2+y^2)*exp(1-x^2-y^2),x=-2..2,y=-2..2,axes=framed,scaling=constrained,grid=[50,50])");</script>
mapleTA.plotserver

Plotting Points:

A basic plot connecting a sequence of points it's a little awkward, but certainly possible.
Is the relationship linear?
<script>drawMaplePlot("plot([[0,0],[0.5,0.5],[1,2],[1.5,2.5],[2,1],[2.5,7],[3,5]])");</script>
line

Discontinuous functions:

Complicating things a little: you can plot discontinuous functions by defining them within the drawMaplePlot routine:
Is the plotted function continuous?
<script>drawMaplePlot("g:=proc(x) if x>2 then x^2-3*x+2;elif x>0 and x<=2 then 1-x^3; else x^3; end if; end proc: plot(g,-1..3,discont=true)");</script>
disc