File: zerolinescommand.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (73 lines) | stat: -rw-r--r-- 1,944 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<HTML>
<HEAD>
<TITLE>ZEROLINES command</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><font size="+3" color="green"><B>ZEROLINES command</B></font></P>

<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%" valign="top"><CODE>
ZEROLINES</CODE>
</TD></TR>
<TR>
<TD width="15%" valign="top"><B>Qualifiers</B>:</TD>
<TD width="85%" valign="top"><CODE>
\HORIZONTAL, \VERTICAL</CODE>
</TD></TR>
<TR>
<TD width="15%" valign="top"><B>Defaults</B>:</TD>
<TD width="85%" valign="top">
both horizontal and vertical lines drawn
</TD></TR>
<TR>
<TD width="15%" valign="top"><B>Examples</B>:</TD>
<TD width="85%" valign="top"><CODE>
ZEROLINES<br />
ZEROLINES\HORIZONTAL<BR />
ZEROLINES\VERTICAL</CODE>
</TD></TR>
</TABLE>
<P>
 The <code>ZEROLINES</code> command draws horizontal and/or vertical lines on a graph through
 <code>(0,0)</code> depending on the qualifier that is used.</P>
<p>
 <center><table border="1" cols="2">
 <tr><td align="center"><i>qualifier</i></td><td align="center"><i>result</i></td>
 </tr><tr>
 <td><code>\HORIZONTAL</code>&nbsp;&nbsp;&nbsp;</td>
 <td>a line is drawn through (0,0) parallel to the <i>x</i>-axis,<br />
  from the left edge to the right edge</td>
 </tr><tr>
 <td><code>\VERTICAL</code></td>
 <td>a line is drawn through (0,0) parallel to the <i>y</i>-axis,<br />
  from the bottom edge to the top edge</td></tr>
 </table></center></p>
<p>
 <font size="+2" color="green">Examples</font></p>
<p>
 The following script produces the figure below.</p>
<p>
 <font color="blue"><pre>
 WINDOW 5
 SCALES -5 5 -5 5
 GRAPH\AXESONLY
 SET CURVECOLOR RED
 ZEROLINES
 WINDOW 7
 SCALES -5 5 -5 5
 GRAPH\AXESONLY
 SET CURVECOLOR RED
 ZEROLINES/HORIZONTAL
 WINDOW 12 25 0 75 50
 SCALES -5 5 -5 5
 GRAPH\AXESONLY
 SET CURVECOLOR RED
 ZEROLINES/VERTICAL
 </font></pre></p>
<p>
 <center><img src="zerolines1.png"></center></p>
</BODY>
</HTML>