moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / doc / kmplot / firststeps.docbook
blob8becb5b2257a8a6e480b56a867cbde37780b0e8c
1 <chapter id="first-steps">
2 <title>First Steps With &kmplot;</title>
4 <sect1 id="simple-function-plot">
5 <title>Simple Function Plot</title>
7 <para>
8 In the main toolbar there is a simple text box in which you can enter
9 a function expression. Simply enter:
10 <screen><userinput>x^2</userinput></screen> and press &Enter;.  This
11 will draw the plot of y=x^2 in the coordinate system. Enter another
12 expression in the text box like
13 <screen><userinput>5*sin(x)</userinput></screen> and another plot will
14 be added.
15 </para>
17 <para>Click on one of the lines you have just plotted. Now the cross
18 hair gets the color of the plot and is attached to the plot.  You can
19 use the mouse to move the cross hair along the plot.  In the status
20 bar at the bottom of the window the coordinates of the current
21 position is displayed. Note that if the plot touches the x-axis the
22 root will be displayed in the status bar, too.</para>
24 <para>Click the mouse again and the cross hair will be detached from
25 the plot.</para>
26 </sect1>
28 <sect1 id="edit-properties">
29 <title>Edit Properties</title>
31 <para>Let us make some changes to the function and change the color of
32 the plot.</para>
34 <para>You can edit all functions with the
35 <menuchoice><guimenu>Plot</guimenu><guimenuitem>Edit
36 Plots...</guimenuitem> </menuchoice> menu entry. A dialog appears
37 which lists all the functions that you have plotted.  Notice that
38 &kmplot; has automatically found a unique function name for your
39 expressions and completed the expression to a function
40 equation.</para>
42 <para>Select <guilabel>f(x)=x^2</guilabel> in the list. A double click
43 or pressing the <guibutton>Edit</guibutton> button will show you a
44 dialog window. Here you have access to a lot of options. Let us rename
45 the function and move the plot 5 units down. Change the function
46 equation to <screen><userinput>parabola(x)=x^2-5</userinput></screen>
47 </para>
49 <para>Select another color for the plot using the
50 <guibutton>Color</guibutton> button. Finally press
51 <guibutton>OK</guibutton> and your changes take effect in the
52 coordinate system.</para>
54 <note><para>All changes can be undone until you press
55 <guibutton>OK</guibutton> in the <guilabel>Edit Plots</guilabel>
56 dialog.</para>
57 </note>
59 </sect1>
60 </chapter>
61 <!--
62 Local Variables:
63 mode: sgml
64 sgml-minimize-attributes:nil
65 sgml-general-insert-case:lower
66 sgml-indent-step:0
67 sgml-indent-data:nil
68 sgml-parent-document:("index.docbook" "BOOK" "CHAPTER")
69 End:
70 -->