list of command(s)
<center>
<b><a href="http://www.chapman.edu/~jipsen/svg/asciisvgcommands.html">
ASCIIsvg commands</a></b> (click link for details; arguments in {} are optional)
<table>
<tr>
<td><b>setBorder(pixelvalue) (default 25)</b></td>
<td><b></b></td>
</tr><tr>
<td><b>initPicture( xmin, xmax {, ymin {, ymax}} ) </b></td>
<td><b>axes( {dx, dy,} {"labels" {, "grid"| gdx {, gdy}}} )</b></td>
</tr><tr>
<td><b>line( [x,y], [u,v] )</b></td>
<td><b>marker = "dot" | "arrow" | "arrowdot" | "none"</b></td>
</tr><tr>
<td><b>path( [ [x1,y1], [x2,y2], ..., [xn,yn] ] )</b></td>
<td><b>curve( [ [x1,y1], [x2,y2], ..., [xn,yn] ] )</b></td>
</tr><tr>
<td><b>plot( "f(x)" {, xmin, xmax, npoints} )</b></td>
<td><b>plot( [ "f(t)", "g(t)" ] {, tmin, tmax, npoints} )</b></td>
</tr><tr>
<td><b>stroke = "<a href="http://www.spacetoday.org/BoilerRoom/Colors.html">color</a>"</b></td>
<td><b>strokewidth = "pixelvalue" (default 1)</b></td>
</tr><tr>
<td><b>fill = "<a href="http://www.spacetoday.org/BoilerRoom/Colors.html">color</a>"</b></td>
<td><b>strokedasharray = "dashpixel spacepixel"</b></td>
</tr><tr>
<td><b>fontsize = "pixel" (default 20)</b></td>
<td><b>fontweight = "bold" | "normal"</b></td>
</tr><tr>
<td><b>fontstyle = "italic" | "normal"</b></td>
<td><b>fontfamily = "serif"|"sansserif"|"fixed"|"monotype"</b></td>
</tr><tr>
<td><b>circle( [x,y], r )</b></td>
<td><b>ellipse( [x,y], rx, ry )</b></td>
</tr><tr>
<td><b>arc( [x,y], [u,v], r )</b></td>
<td><b>rect( [x,y], [u,v] )</b></td>
</tr><tr>
<td><b>text( [x,y], "label" {, position} )</b></td>
<td><b>dot( [x,y] {, open | closed {, "label", position} )</b></td>
</tr><tr>
<td><b>position</b> can be: <b>above, below, left, right,</b></td>
<td><b>aboveleft, aboveright, belowleft, belowright, null</b></td>
</tr>
</table>
</p>
<p>
For the <b>plot</b> commmand, the functions f(x), f(t), g(t) can use any
valid JavaScript function or constant (without the "Math." prefix) and any
of the following:
+, -, *, /, ^, pi, e, sqrt(), ln(), abs(), sign(), floor(), ceil(),
n!, C(n,k), ran(a,b,n),
sin(), cos(), tan(), sin^-1(), cos^-1(), tan^-1(),
sinh(), cosh(), tanh(), sinh^-1(), cosh^-1(), tanh^-1(),
sech(), csch(), coth(), sech^-1(), csch^-1(), coth^-1().
<br/>
cpi and ctheta denote the corresponding greek letters.
The multiplication symbol * can be omitted after a digit (0-9)
or a closing parenthesis.
</p>
<p>
This Editor is useful for learning about coordinate geometry, graphs of
functions, parametric curves, JavaScript, SVG, ... Have fun.
</p>
<p> You can save your own local copy of this page (using <b>Save As...</b>),
and use this SVG editor even when you are not connected to the internet.
You can also right-click on the SVG picture to copy it and paste it
into a wordprocessor that can handle SVG (e.g. in MSWord 2003 use
<b>Edit->Paste Special...</b>
and select the bitmap format; your picture will be inserted as SVG).
</p>
<hr/>