Debian Codegraph @

docs/manual/Axes___.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>Axes...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 Axes...
13 </b></font></table></table>
14 <p>One of the commands in the <b>Margins</b> and <b>World</b> menus of the <a href="Picture_window.html">Picture window</a>.</p>
15 <h2>Purpose</h2>
16 <p>To view and change the current world coordinates of the horizontal and vertical axes.</p>
17 <h2>Usage</h2>
18 <p>The axes are normally changed by every drawing operation in the dynamic menu, i.e., by object-specific drawing commands with titles like <b>Draw...</b> and <b>Paint...</b> (the drawing commands in the Picture window, like <b>Paint rectangle...</b>, do not change the axes).</p>
19 <p>You would use the <b>Axes...</b> command if your data are not in an object.</p>
20 <h2>Example</h2>
21 <p>The following script would draw a person's vowel triangle:</p>
22 <code> # Put F1 (between 300 and 800 Hz) along the horizontal axis,<br></code>
23 <code> # and F2 (between 600 and 3600 Hz) along the vertical axis.<br></code>
24 <code> <b>Axes:</b> 300, 800, 600, 3600<br></code>
25 <code> # Draw a rectangle inside the current viewport (selected area),<br></code>
26 <code> # with text in the margins, and tick marks in steps of 100 Hz along the F1 axis,<br></code>
27 <code> # and in steps of 200 Hz along the F2 axis.<br></code>
28 <code> Draw inner box<br></code>
29 <code> Text top: "no", "Daniël's Dutch vowel triangle"<br></code>
30 <code> Text bottom: "yes", "%F_1 (Hz)"<br></code>
31 <code> Text left: "yes", "%F_2 (Hz)"<br></code>
32 <code> Marks bottom every: 1, 100, "yes", "yes", "yes", ""<br></code>
33 <code> Marks left every: 1, 200, "yes", "yes", "yes", ""<br></code>
34 <code> # Draw large phonetic symbols at the vowel points.<br></code>
35 <code> Text special: 340, "Centre", 688, "Half", "Times", 24, "0", "u"<br></code>
36 <code> Text special: 481, "Centre", 1195, "Half", "Times", 24, "0", "ø"<br></code>
37 <code> # Etcetera<br></code>
38 <p>This example would draw the texts "Dani&#235;l's Dutch vowel triangle", "<i>F</i><sub>1</sub> (Hz)", and "<i>F</i><sub>2</sub> (Hz)" in the margins, and the texts "u" and "&#248;" at the appropriate positions inside the drawing area.</p>
39 <h3>Links to this page</h3>
40 <ul>
41 <li><a href="Demo_window_1__My_first_Demo_window_script.html">Demo window 1. My first Demo window script</a>
42 <li><a href="Demo_window_2__Getting_user_input.html">Demo window 2. Getting user input</a>
43 <li><a href="Draw_line___.html">Draw line...</a>
44 <li><a href="Draw_rectangle___.html">Draw rectangle...</a>
45 <li><a href="Draw_rounded_rectangle___.html">Draw rounded rectangle...</a>
46 <li><a href="Insert_picture_from_file___.html">Insert picture from file...</a>
47 <li><a href="Paint_rectangle___.html">Paint rectangle...</a>
48 <li><a href="Paint_rounded_rectangle___.html">Paint rounded rectangle...</a>
49 <li><a href="World_menu.html">World menu</a>
50 </ul>
51 <hr>
52 <address>
53 <p>© ppgb 20140107</p>
54 </address>
55 </body>
56 </html>