Difference between revisions of "Commands"
From GeoGebra Manual
m |
Noel Lambert (talk | contribs) m (typo) |
||
Line 4: | Line 4: | ||
{{note|1=A command's result may be named by entering a label followed by an equal sign (=). In the example below, the new point is named S.}} | {{note|1=A command's result may be named by entering a label followed by an equal sign (=). In the example below, the new point is named S.}} | ||
{{example|1=To get the intersection point of two lines g and h you can enter <code>S = Intersect[g, h]</code> (see [[Intersect Command]]).}} | {{example|1=To get the intersection point of two lines g and h you can enter <code>S = Intersect[g, h]</code> (see [[Intersect Command]]).}} | ||
− | {{note|1=You can also use indices within the names of objects: A<sub>1</sub> is entered as <code>A_1</code> while S<sub>AB</sub> is created using <code> | + | {{note|1=You can also use indices within the names of objects: A<sub>1</sub> is entered as <code>A_1</code> while S<sub>AB</sub> is created using <code>S_{AB}</code>. This is part of [[LaTeX|LaTeX syntax]].}} |
Revision as of 09:44, 11 July 2011
Using commands you can produce new and modify existing objects.
Note: A command's result may be named by entering a label followed by an equal sign (=). In the example below, the new point is named S.
Example: To get the intersection point of two lines g and h you can enter
S = Intersect[g, h]
(see Intersect Command). Note: You can also use indices within the names of objects: A1 is entered as
A_1
while SAB is created using S_{AB}
. This is part of LaTeX syntax.