home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / education / a / locus / Docs / Text / Manual next >
Encoding:
Text File  |  1997-01-02  |  31.8 KB  |  903 lines

  1.  
  2.  
  3.  
  4. Licence
  5.  
  6. This application is
  7.  
  8.           _____ _                                           
  9.          / ____| |                                          
  10.         | (___ | |__   __ _ _ __ _____      ____ _ _ __ ___ 
  11.          \___ \| '_ \ / _` | '__/ _ \ \ /\ / / _` | '__/ _ \
  12.          ____) | | | | (_| | | |  __/\ V  V / (_| | | |  __/
  13.         |_____/|_| |_|\__,_|_|  \___| \_/\_/ \__,_|_|  \___|
  14.  
  15.  
  16. You are permitted to use it for an evaluation period of 30 days. At the end of this time you must either stop using it or send the single-user registration fee of £10 to the author. For multi-user and site licences please refer to the registration form.
  17. Unauthorised use after the evaluation period is illegal.
  18. Registered users are entitled to free upgrades and support from the author.
  19. If you are reading this in the printed Manual then you should already be a Registered User. If not then you are bound by this Evaluation Licence.
  20.  
  21. Disclaimer
  22. No warranty is made with respect of the software, its quality, performance, or fitness for any particular purpose. The software is supplied 'as is'. No responsibility will be accepted for any errors produced or the consequences of any erroneous results.
  23.  
  24. Distribution
  25. You may distribute the unregistered version of this program provided you pass on the complete application including all files in the application directory. You may not alter any of these files in any way.
  26. You may not copy, distribute or otherwise pass on copies of the printed version of the Manual and/or Tutorial.
  27.  
  28.  
  29.         Richard Sharpe
  30.         5 Camberwell Terrace
  31.         Leamington Spa
  32.         Warwickshire
  33.         CV31 1LP
  34.  
  35.         Phone:  01926 772137
  36.  
  37. Contents
  38.  
  39. Licence                        
  40. Introduction                   
  41. The Main Controls              
  42. Menus                          
  43. Dialogue Boxes                 
  44. Appendix A (Formula Input)     
  45. Appendix B (Data Set Input)    
  46. Appendix C (Credits)           
  47. Appendix D (EventShell)        
  48. Appendix E (Keyboard Shortcuts)
  49.  
  50.  
  51. Introduction.
  52.  
  53. Locus is a mathematical graph plotter and data analysis tool written
  54. to provide ease of use with sophistication. It is sophisticated
  55. enough for use with ‘A’ level and post ‘A’ level students and
  56. straightforward enough to be used at late primary or early secondary
  57. level.
  58.  
  59. It has the following features:
  60.      Formula based graph plotting in five operational modes:
  61.                *  Cartesian  (non-parametric)
  62.                *  Polar (non-parametric)
  63.                *  Cartesian  (parametric)
  64.                *  Polar  (parametric)
  65.                *  Implicit
  66. *    The user can watch the graph being plotted. This is very
  67.     useful and educationally important. It is also rare among
  68.     desktop graph plotters.
  69. *    Formulae can be entered in standard algebraic notation.
  70. *    Functions can be input in user defined function notation.
  71. *    Constants can be used
  72. *    'Families’ of graphs can be plotted
  73. *    Commonly used functions in each of the five modes can be
  74.         saved and edited.
  75. *    You can choose fully automatic axis scaling or have complete
  76.         manual control.
  77. *    It features a drag box zoom and an automated zoom out facility.
  78. *    The graph can be moved up, down,  right and left as required.
  79. *    It can analyse gradients of functions and areas under graphs
  80.         and draw gradient and integral functions.
  81. *    Bi-variate data sets in Text,  CSV or SID formats can be imported
  82. *    User defined transformations of datasets using matrices or
  83.         descriptions can be applied.
  84. *    Statistical information including means, standard deviations
  85.         and least squares  regression lines can be calculated.
  86. *    Data can be saved in DrawFile, Text, CSV, SID or its own LocFile
  87.         format.
  88. *    The user can print from the application.
  89. *    All user definable features can be saved as defaults.
  90.  
  91. Locus has been tested on a 4 Mb A5000, a 10Mb Risc PC700 and Strong ARM.
  92. Theoretically Locus should run on a 2Mb machine but this would depend
  93. on the configuration of the individual machine and is not guaranteed.
  94.  
  95.  
  96.  
  97. The Main Controls
  98.  
  99. In this section the main controls and their operation will be described.
  100. They are arranged at the top of the main window in three rows of icons,
  101. each dealing with a specific group of features.
  102.  
  103.     Top Row:       Settings which control how the application behaves.
  104.     Middle Row:    Domain and range settings.
  105.     Bottom Row:    Formula input.
  106.     
  107. Each row will now be described, starting at the left hand side and dealing
  108. with each button in turn..
  109.  
  110. Top row.
  111.  
  112. 1.  Clear
  113.  
  114. This clears the screen and removes your work to date from memory.  In
  115. the interest of speed you are not reminded to save work if you have
  116. not already done so.  Clicking with SELECT will clear everything from the screen;  clicking with ADJUST (the right hand mouse button) will clear
  117. everything except for any loaded data sets. 
  118.  
  119. 2.   Superimpose
  120.  
  121. This is primarily of interest to teachers for classroom demonstration
  122. and is only available when auto-scaling is on. Click on this icon before
  123. starting work and each time you plot a new graph Locus will redraw the
  124. window, rescaled appropriately for the latest graph plotted, and will
  125. then it each subsequent graph one in the newly scaled window.
  126.  
  127. 3.  Cartesian
  128.  
  129. Clicking on this changes Locus into Cartesian mode,  changes the graph
  130. type icon to 'y=' or  ('xy='  if you are in parametric mode) and the
  131. formula menu will change to the cartesian set.
  132.  
  133. 4.  Polar
  134.  
  135. Clicking on this changes Locus into Polar mode,  changes the graph
  136. type icon to 'r='  (or 'rØ='  if you are in parametric mode) and the
  137. formula menu will change to the polar set.
  138.  
  139.  
  140. 5.  Implicit
  141.  
  142. Clicking on this changes Locus into Implicit mode, it empties the
  143. graph type icon and the formula menu will change to the implicit set.
  144. In this mode you can type in formulae of the form x²-y²=36.
  145.  
  146. 6.  Parametric Switch
  147.  
  148. This switch toggles between parametric and non-parametric modes.
  149. When the switch looks like this (see left) you are in non-parametric
  150. mode.
  151.  
  152. 7.  Coordinate Input
  153.  
  154. This opens the coordinates input window,  which allows the user to
  155. input up to 20 coordinate points.
  156.  
  157. 8.   Internal dataset filer
  158.  
  159. This opens the Internal filer.  I have included this in response to
  160. requests that Locus will allow data input without recourse to dragging
  161. files from a directory window.  It is useful for teaching purposes and for demonstrations,  as you can set up the files you require beforehand.
  162.  
  163. 9.   Radians
  164.  
  165. Clicking on this toggles the angle measurement between radians and degrees.  
  166.  
  167. 10.  Step
  168.  
  169. This 'bump' icon set is used to define the plotting step.  Locus works by
  170. plotting the number of points specified (in this case 512) and then joining
  171. them up with straight lines. There is obviously a trade-off between speed
  172. of plotting and accuracy. For most simple graphs (ones that don't oscillate
  173. too wildly) a step of 128 should suffice.  For a complex formula like y=xsin(1/x). {-0.03<x<0.03} it would need to be considerably higher
  174. (>1000).
  175.  
  176. 11.  Zoom out
  177.  
  178. The effect of the Zoom Out icon is to double the domain. If auto-scaling
  179. is on, the range will be recalculated accordingly, if not the range will
  180. be doubled as well.
  181.  
  182. 12.  Zoom in
  183.  
  184. The Zoom In icon works differently from Zoom Out. When you click on it
  185. nothing will happen. However, if you then move the pointer over the main
  186. window and 'click and drag' from the top left hand corner of the area
  187. you want enlarged to the bottom right and release the mouse button, the
  188. area defined will be redrawn. If you use this feature with students who
  189. have difficulty with the mouse they may need to practice the 'click-drag'
  190. technique until they become familiar with it.
  191.  
  192. 13.  Move
  193.  
  194. When you click on this icon  you can then click and drag the graph to a
  195. new position. When you release the mouse button the graph will be
  196. redrawn in the new location.
  197.  
  198. 14.  Constants
  199.  
  200. This opens the Constants dialogue box which lets the user store useful
  201. constants to be used in formulae and transformation expressions. Constants
  202. are also used in plotting families of graphs.
  203.  
  204. 15.  Families
  205.  
  206. This opens the Families dialogue box which lets the user plot families
  207. of related graphs by altering the values of any constants in use. 
  208.  
  209. 16.  Coordinates
  210.  
  211. This opens the coordinates information window. Initially it will show
  212. just the the x and y coordinates of the last clicked mouse position.
  213. Clicking anywhere in the main window (ie. on the graph) will display
  214. the coordinates for that position and a pair of horizontal and vertical
  215. dotted lines will appear at the appropriate place on the graph.
  216.  
  217. Clicking with SELECT on the graph will change the coordinate values
  218. according to the mouse position.  Click/Dragging on the graph will allow
  219. the user to trace along the graph seeing the various values change as
  220. you do so.
  221.  
  222. Clicking on the 'Toggle size' icon will enlarge the window so that you
  223. can see the polar coordinates and the derivative of the function at that
  224. point.  Clicking on the 'Coordinates' icon again will close the window.
  225.  
  226. 17.  Tangent
  227.  
  228. This can be used on its own or with the 'Coordinates' window. When this
  229. icon is selected you will see both the horizontal and vertical 'Coordinate'
  230. lines and the tangent to the curve at that point.
  231. Click/Dragging on the graph will move the tangent along the graph. 
  232. The dy/dx entry in the coordinates window will also display the gradient
  233. of the tangent at this point.
  234.  
  235. 18.  Derivative
  236.  
  237. When this is selected Locus will attempt to superimpose the derived
  238. function (wherever it is defined) on top of the original function.
  239. This is done numerically not algebraically, so the derived function
  240. is not found for you. However, you can then attempt to fit a function
  241. to the resulting curve manually, which is a useful way of acquiring
  242. an intuitive grasp of derivative functions.
  243.  
  244. 19.  Integral
  245.  
  246. This works in exactly the same way as the derivative icon but this
  247. time Locus will try to draw the integral function.
  248.  
  249.  
  250.  
  251. Middle row.
  252.  
  253. The five writable icons can be changed at any time (when they are not
  254. 'greyed out') to alter the extent of the graph. The 'max' number must
  255. obviously be higher than the 'min' number.  You can also click drag
  256. the contents of one icon into another.
  257.  
  258. Auto scaling
  259.  
  260. When this icon is selected Locus will try to do some of the scaling
  261. for you. Precisely what it does depends on which mode you are in.
  262. This is explained in greater detail in the Tutorial.
  263.  
  264. Squaring up
  265.  
  266. When this icon is unselected it will show an ellipse and the graphs
  267. will be drawn in a rectangular format. When it is selected the ellipse
  268. will turn to a circle and the graphs will be drawn in a square on the
  269. left hand side of the main window.
  270.  
  271.  
  272. Bottom row.
  273.  
  274. Formula input icon
  275.  
  276. This is where you place your formulae and it can be done in one of two
  277. ways. Either you can enter the formula directly by clicking on the icon
  278. with the mouse pointer and typing the appropriate formula for the mode
  279. you are currently in. For more details on this please see the Tutorial
  280. and Appendix A which gives full details on Locus' data input procedures.
  281.  
  282. Alternatively you can click on the menu icon which will open a menu
  283. displaying a number of functions. These are fully editable and you can
  284. create your own set if you wish. The menu will change automatically for
  285. the mode you are in. If, for example, you change to polar parametric
  286. mode the menu will contain this type of formulae.
  287.  
  288. Save to file
  289.  
  290. To the right of the formula menu icon is an icon which will add the
  291. current contents of the main formula icon to the formula menu and
  292. update the menu automatically.
  293.  
  294. x squared
  295.  
  296. Clicking on this icon will insert the squared symbol at the caret
  297. wherever that may be.  This allows the user to type in such functions
  298. as "y=x²" or "y=sin²x".
  299.  
  300. x cubed
  301.  
  302. The same as the above except that this time it is the cubed ³ symbol
  303. that is inserted.
  304.  
  305. Plot
  306.  
  307. Clicking on this icon will plot the graph, assuming that there is a
  308. formula in the input icon and the scales are set correctly,  Locus
  309. will try to do this even if you have typed garbage into the formula
  310. icon although the results will then be useless.
  311.  
  312. If the plot takes too long or nothing happens,  pressing ESCAPE will stop
  313. Locus from plotting.
  314.  
  315.  
  316.  
  317. Menus
  318.  
  319. The icon bar menu.
  320.  
  321. This is a simple menu with three items.
  322.  
  323. Info            A standard RISC OS info box.
  324. Save Choices    This will save all the currently selected preferences
  325.                 to file. These settings will then become the default
  326.                 setup the next time the program is used.
  327. Quit            This will quit the application. Any data and graphs
  328.                 not saved will be lost
  329.  
  330. The Main Window menu.
  331.  
  332. This contains nine items which fall into three basic categories.
  333.  
  334. There are three which have an arrow to the right of them. These lead
  335. either to sub-menus or to dialogue boxes. Three others are 'greyed out'
  336. so you cannot select them.
  337.  
  338. Save leads to the Save sub-menu
  339. Print leads to the Print dialogue box
  340. Edit leads to the Edit sub-menu
  341. Transform, Matrix and Statistics become active when a Data Set is loaded.
  342. Clicking on Transform leads to the Transform dialogue box
  343. Clicking on Matrix leads to the Matrix dialogue box
  344. Clicking on Statistics leads to the Statistics dialogue box
  345. Clicking on Settings leads to the Settings dialogue box
  346. Clicking on Effects leads to the Effect dialogue box
  347.  
  348.  
  349. The sub-menus will now be described.
  350.  
  351. The Save sub-menu
  352.  
  353. Locus can save data in five different formats. The format you use
  354. depends upon what you intend to do with the data.
  355.  
  356. LocFile format is Locus' native format and saves settings and graphs
  357. so that you can load these back into Locus at a later date. It is
  358. particularly useful for lesson preparation so that when you want to
  359. demonstrate something quickly you do not need to do all the settings
  360. manually taking up valuable lesson time. You can save whole families
  361. of curves in this way.
  362.  
  363. DrawFile format is the standard RISC-OS graphic format and is useful
  364. for putting graphs into other documents (eg. Projects, Exam papers,
  365. Tests etc..) All currently drawn graphs will be included in the graph.
  366. The saving process may take a few seconds because the data must be
  367. converted into the Drawfile format.
  368.  
  369. Text, CSV and SID formats are slightly less standard. Locus will
  370. calculate values of the current function between the 'Start' and
  371. 'End' values and save them in two variable comma separated value
  372. (CSV) format using the interval specified by the 'Step' field.
  373.  
  374.  
  375. The Edit sub-menu
  376.  
  377. This has six items, each of which opens a dialogue box.
  378.  
  379. Functions opens the Edit Function dialogue box.
  380. Families opens the Families dialogue box.
  381. Constants opens the Constants dialogue box.
  382. Formulae opens the Edit Formulae dialogue box.
  383. Coordinates opens the Coordinates dialogue box.
  384. Title opens the Title dialogue box.
  385. These are all described in the next section.
  386.  
  387.  
  388.  
  389.  
  390. Dialogue boxes
  391.  
  392.  
  393. Functions dialogue box
  394.  
  395. Locus permits the use of function notation for formula input and the
  396. letters 'f' to 'o' are recognised by the internal formula translation
  397. routines as function names. It is important to remember this because
  398. it means you must not use these reserved letters as constants.
  399.  
  400. Once a function has been defined it is saved to a file inside Locus
  401. where it will remain until the contents of this dialogue box changes.
  402. As an illustration, in the example shown the function definition f(x)
  403. is defined as 'sinx + cosx'. This means that the formula y=f(x) will
  404. draw the graph of y=sinx + cosx.
  405.  
  406. This capability is useful as typing f(2x) will draw the graph of
  407. y=sin2x +cos 2x and typing 2f(x) will produce the graph y=2(sinx + cosx).
  408. It is particularly valuable when teaching function transformations and
  409. in looking at families of related functions. (see the next section.)
  410.  
  411. Clicking on the OK button will reset the preset functions to their new
  412. values and clicking on the Cancel button closes the window without
  413. altering anything.
  414.  
  415.  
  416.  
  417.  
  418. Families dialogue box
  419.  
  420. The icon at the top of the Graph Families dialogue box shows the
  421. number of graphs to be plotted and the remaining writable icons
  422. allow you to set the required increments  for each of the constants.
  423. If any of these icons are left blank those constants will remain the
  424. same throughout the operation.
  425.  
  426. When everything is set to your satisfaction click on the <OK> button
  427. to accept the values or press <Cancel> to reject them.
  428.  
  429. When the graphs have been plotted the constants will revert to
  430. their original values.
  431.  
  432.  
  433.  
  434. Constants dialogue box
  435.  
  436. This lets you preset constants. When you receive Locus you should
  437. find that 'p' is set to the value of pi  (3.14......) and 'e' is
  438. set to the value of e  (2.718.....). The letters f-o are missing as
  439. these are recognised by Locus as user defined functions. t, x & y
  440. are also missing as these are defined as variables.
  441.  
  442. You can alter any of the values or add new ones as you wish and then
  443. set them by clicking on the <OK> button or you can save your values as
  444. the default set by clicking on the <Save> button. <Cancel> closes the
  445. window and changes nothing.
  446.  
  447.  
  448. Print dialogue box
  449.  
  450. This displays information about the printer and the various settings
  451. that will enable the user to print the graph at the right point on
  452. the paper and at the correct size.
  453.  
  454. Printer  shows the name of the currently active printer.
  455. Resolution  shows the current print resolution of your printer.
  456. Copies sets the number of copies of the graph that will be printed.
  457. Cancel  closes the Print window.
  458. Print begins printing.
  459.  
  460. Pressing ESCAPE at any time during the printing will abort printing
  461. and return control to the desktop.
  462.  
  463. The Hot Key PRINT will open this dialogue box.
  464.  
  465.  
  466. Formulae dialogue box
  467.  
  468. This lets you alter the formulae which appear when you click on the
  469. formula menu icon on the main window pane. You can have up to 50
  470. preset formulae in these menus although if the menus become too large
  471. it becomes difficult to find the entry required.
  472.  
  473. There are five files, one for each of the five formula based modes of
  474. operation: cartesian, polar, implicit etc. and the appropriate data is
  475. shown in this window for the mode you are in at the time.
  476.  
  477. After changing the formulae clicking the <OK> button resaves the formula
  478. file.
  479.  
  480. If you delete formulae from the menu you need not worry about leaving
  481. empty icons, Locus will deal with these automatically.
  482.  
  483. The Hot Key ^E will open this dialogue box.
  484.  
  485.  
  486.  
  487. Coordinates Dialogue Box
  488.  
  489. This allows you to enter small data sets without recourse to CSV,  SID
  490. or Text files.
  491.  
  492. The topmost writable icon takes the titles for the horizontal and vertical
  493. axes. These must be separated by a comma as this window is read by the
  494. same function that deals with other input data sets.
  495.  
  496. The rest of the writable fields can contain the coordinates of the points
  497. you want to plot. The plotting style of the points is controlled by the
  498. 'Effects' dialogue box.
  499.  
  500. The <Clear> button emptys all fields in the window.
  501.  
  502. As well as entering data manually can drag small data set files to the
  503. arrow icon in this window to load them.
  504.  
  505.  
  506. Internal filer window
  507.  
  508. This window allows you to save dataset files into a directory inside
  509. Locus and from there they can be deleted,  loaded into a text editor
  510. or loaded into Locus.  You can also create new data files yourself
  511. from this window.  This allows the user to manipulate datafiles within
  512. Locus without having to move the main window aside so that you can drag
  513. a data file onto the application window.
  514.  
  515. Cancel will close the window without doing anything at all.
  516.  
  517. Open File will open any file that the user has selected in the pane
  518. window.
  519.  
  520. Delete File will any delete any file(s) that the user has selected
  521. in the pane window.
  522.  
  523. Clicking on Delete All will empty Locus of all saved datafiles.
  524.  
  525. Clicking on Save file will open a save box which the user can use
  526. to drag the selected file to a directory of their choice.
  527.  
  528. Clicking on Load file will load the selected file(s) into Locus.
  529.  
  530. To load a set of data files into Locus in this way you drag the files
  531. onto the 'arrow' icon.
  532.  
  533. Clicking on New file will open a text window in whatever text editor
  534. you have loaded.  You can then save the edited file back into Locus.
  535.  
  536. Clicking on the Reset button will update the pane window directory.
  537.  
  538.  
  539. Title Dialogue Box
  540.  
  541. This lets you write up to 256 characters onto the screen in any font,
  542. fontsize and desktop colour.
  543.  
  544. Fill in the fields and click on the <OK> button to display the text.
  545. By default the text will be printed at the top left hand corner of
  546. the screen but you can move it by clicking on it to select it and
  547. then dragging it around the screen. Clicking anywhere outside of
  548. the box will deselect it.
  549.  
  550. The Hot Key ^T will open this dialogue box.
  551.  
  552.  
  553.  
  554. Transformations dialogue box
  555.  
  556. This enables the user to transform data sets in a variety of different
  557. ways. Once a data set has been loaded by dragging the file icon onto
  558. the Locus window the Transform entry in the main menu becomes selectable
  559. and clicking SELECT on it will open the Transformations window.
  560.  
  561. There are four main transformations that can be applied to a data set:
  562.  
  563.     Rotation
  564.     Enlargement
  565.     Reflection
  566.     Translation
  567.  
  568. First click with SELECT on the transformation you require and then fill
  569. in the appropriate fields.
  570.  
  571. Clicking on the <Apply> button will apply the transformation to the data
  572. set. The transformation will be applied to the last data set loaded so
  573. clicking on <Apply> a second time will transform the previously
  574. transformed set.
  575.  
  576. The Hot Key F4 will also open the Transform window.
  577.  
  578.  
  579.  
  580.  
  581.  
  582. Matrix Dialogue Box
  583.  
  584. The window performs similar operations to the transform window but the
  585. input can be made as a 2x2 matrix.
  586.  
  587. You can use trigonometric functions and constants in the matrix fields
  588. but you must put the constant values in brackets. For example, if you
  589. type 'cos(p/2)' in one of the fields, the brackets are essential as
  590. 'cos p/2' produces the effect '(cosp)/2' which, if part of a rotation
  591. matrix, would produce a transformation of Rotation of pi radians
  592. followed by an enlargement scale factor 0.5 (all centre (0,0)).
  593.  
  594. The Hot Key F5 will open this dialogue box.
  595.  
  596.  
  597.  
  598. Statistics Info and Dialogue Box
  599.  
  600. This main purpose of this window is to display information about your
  601. data set, transformed or otherwise.
  602.  
  603. It gives all of the information required, and in addition can
  604. calculate the correlation coefficient and the least squares
  605. regression line.
  606.  
  607. If you want to draw the Least squares regression line onto the data
  608. set graph click on the <Transfer Equation> button to transfer the
  609. formula to the formula input icon on the main window and then click
  610. on the <Plot> button as usual.
  611.  
  612. The Hot Key F6 will open this dialogue box.
  613.  
  614.  
  615. Settings Dialogue Box
  616.  
  617. This window contains seven option icons which enable you to set up
  618. your graphs according to preference.
  619.  
  620.  
  621. 1.    Show Assymptotes
  622.     When set this makes Locus draw asymptotes (a dotted vertical
  623.     line) at the borders of any area of the graph where the function
  624.     is not defined. For example the graph of y=1/(x+2) will have
  625.     an asymptote at x=-2. When it is off Locus will not draw them.
  626.     
  627. 2.    Show Plot
  628.     Locus plots graphs in a variety of different ways to give the user
  629.     the maximum choice. Most graph plotters do not permit the user to
  630.     see the graph while it is being plotted but Locus does allow you
  631.     to do this if Show Plot is on. Plotting will be slower, but this
  632.     feature can be very useful.
  633.     
  634. 3.    Show Axes
  635.     If Show Axes is off, the axes will disappear. Normally you would
  636.     want to see them but it may be useful not to have them at certain
  637.     times.
  638.     
  639. 4.    Show Grid
  640.     If Show Grid is on the graph will be covered with a lattice. This
  641.     can be turned on and off at any time, whether graphs have been
  642.     drawn or not, although it is best to decide at the start whether
  643.     you want this on or off as redrawing can take a while if the plot
  644.     is complicated.
  645.     
  646. 5.    Show Minor Axis Divisions
  647.     If this is set the axes will show small marks between the slightly
  648.     larger, labelled, marks. Minor divisions are not labelled. The number
  649.     of divisions will alter automatically dependent upon the size of
  650.     the range settings.
  651.      
  652. 6.    Show Axis Markers
  653.     If this is set numbers will be displayed at intervals along the
  654.     horizontal and vertical axes to show the scale.
  655.     
  656. 7.    Show Axis Labels
  657.     If this is set the axis labels will be displayed. By default these
  658.     are 'x' and 'y'.
  659.  
  660. The Hot Key F7 will open this dialogue box.
  661.  
  662.  
  663.  
  664. Effects Dialogue Box
  665.  
  666. From here you can set the options which control the appearance of the graph
  667. such as fonts, colours and data marks.
  668.  
  669. Fonts sets the font and font size for the axis markers.
  670.  
  671. Colours sets the various colours used.
  672.  
  673. Mark sets the shape used to denote a point in a data set. The choice is -
  674.  
  675.     Dot
  676.     Cross   (square)
  677.     Cross   (diagonal)
  678.     Square   (small, empty)
  679.     Square   (large, empty)
  680.     Diamond   (small, empty)
  681.     Diamond   (large, empty)
  682.     Square   (small, filled)
  683.     Square   (large, filled)
  684.     Diamond   (small, filled)
  685.     Diamond   (large, filled)
  686.     
  687. The 'Connect marks' option button sets whether the marks in a data set
  688. will be joined to each other in the order of input.
  689.  
  690. The Hot Key F2 will open this dialogue box.
  691.  
  692.  
  693.  
  694. Appendix A  -  Formula Input.
  695.  
  696.  
  697.  
  698. Variables
  699.  
  700. Formula input is dependant on the plotting mode you are in, but the
  701. preset functions available are the same even when the variables used
  702. differ and are as follows.
  703.       Mode            Independent variable         Dependent variable 
  704.       Cartesian                x                            y
  705.       Cartesian parametric     t                            x,y
  706.       Polar                    t                            r
  707.       Polar parametric         t                            r,Ø
  708.       Implicit                 x,y
  709.  
  710. For example:  In parametric mode the equations -
  711.     x=cost
  712.     y=sint
  713.     
  714. would be written as -
  715.  
  716.     cost,sint.
  717.     
  718. You do not need to type the 'y=' or 'r=' as this is assumed by Locus.
  719. The appropriate dependent variables are automatically placed in the
  720. icon to the immediate left of the formula input icon.
  721.  
  722. In implicit mode nothing will appear in this icon as it is up to the
  723. user to enter the entire equation.
  724.  
  725.  
  726. Available Functions
  727. Locus has a number of preset functions built in including a complete
  728. set of trigonometric functions and hyperbolic trig functions plus some
  729. other useful common functions.
  730.  
  731.  
  732. An additional function is 'blanc', which draws the blancmange function.
  733. This is continuous everywhere and differentiable nowhere and is very
  734. useful in teaching calculus as nowhere is it locally straight. If you
  735. are interested you could also try plotting 'r=blanct' in polar mode.
  736.  
  737. These functions can be entered in standard mathematical notation as
  738. Locus will add any required brackets. For example, typing 'asinx' in
  739. the formula input icon will plot the graph of y=asinx by replacing
  740. 'asinx' with the name of the function FN_ARCSIN(X) which will then
  741. be evaluated.
  742.  
  743. If there is the possibility of ambiguity the user should use
  744. appropriate sets of brackets. For example. if you were writing a
  745. transformation matrix for a data set to perform a rotation of PI/4
  746. radians about the origin then the matrix should include brackets
  747. around the constant value because Locus will interpret 'cosp/4'
  748. as (COS(PI))/4,  which will result in a rotation of PI radians and
  749. an enlargement scale factor 0.25.
  750.  
  751.  
  752. Please note that the Implicit plotting routines are at an embryonic
  753. stage at the time of writing and while they are capable of dealing
  754. with simple functions like one-to-one mapping (e.g. 4x-3y=-7  or
  755. xy=10) and some two-to-one and one-to-two mappings,  Locus will plot
  756. rubbish if asked to deal with most many-to-many mappings and any
  757. trigonometric input. I have included this basic Implicit capacity
  758. because it is very useful for teaching simultaneous linear equations.
  759.  
  760.  
  761. Appendix B  -  Data Set Input
  762.  
  763. Data sets can be entered in a variety of ways to give maximum
  764. flexibility for the user.
  765.  
  766. If you are familiar with methods of data transfer between applications
  767. you should have no difficulty producing CSV or SID files to use as
  768. input for Locus. However, if you are unable to do this Locus can also
  769. use a standard textfile. Everyone has a copy of !Edit and so can produce
  770. textfiles. It is, of course. important that the user is aware of the
  771. constraints. If you try to use inappropriate data Locus may attempt to
  772. plot it until it generates an error. Errors of this type should not crash
  773. the application but the possibility does exist.
  774.  
  775. If you save a bi-variate (two variable) data set from a spreadsheet,
  776. database or Locus itself, then it will be in the correct format for
  777. Locus to load when the file icon is dragged to the main window.
  778. However if you wish to write your own data sets directly in a text
  779. editor, and this can be very useful, then you need to use the following
  780. format.
  781.  
  782. The first line must contain the Axis label names. If the names are
  783. unimportant then just type 'x,y'.
  784.  
  785. The following lines should consist of the two items of data. These
  786. must be separated by a comma and line must be concluded by pressing
  787. return.
  788.  
  789. A small data set in Textfile format might look like this:
  790.  
  791.              x.y
  792.              -3,0
  793.              -2,-9
  794.              -1,-1
  795.              0,3
  796.              1,-3
  797.              2,5
  798.              3,13
  799.  
  800. Note that there must be a line feed (press RETURN) at the end of the
  801. last line.
  802.  
  803.  
  804.  
  805. Appendix C  -  Credits
  806.  
  807. The first credit must go to Paul Hobbs with whose astounding !EvntShell
  808. library,  this application was written.
  809.  
  810. Thanks also to Guttorm Vik who wrote !StrongEd which is the editor used
  811. to write Locus.
  812.  
  813. Other applications and modules used are -
  814.       !BasShrink by John Wallace  
  815.       !BLIB by Ian Palmer 
  816.       !TemplEd v. 1.31  by Dick Alstein  
  817.       !Wimpy  by Andrew Heckford 
  818.       !Applise  by Armen Software 
  819.       !GrabMenu by Cy Booker 
  820.       MenuUtils by Alex Pretrov
  821.       
  822. My thanks go to all of these authors for their excellent work.
  823.  
  824. Finally special thanks to David Tall for an old BBC program called
  825. SuperGraph from which I got a great deal of inspiration including
  826. the graph family idea and ideas for how to implement preset functions.
  827.  
  828.  
  829.  
  830.  
  831. Appendix D
  832.  
  833. EventShell
  834. This program has been written using the routines supplied with the
  835. EvntShell library which is copyright Paul Hobbs.
  836.  
  837. EvntShell is a starting point for developing your own applications
  838. that run under the RISC-OS wimp system. The EvntShell library
  839. contains code to handle most of the ‘Events’ (i.e. opening a menu,
  840. closing a window etc) that can occur, and all your application has
  841. to do is inform the library what it should do when certain events
  842. occur. For example a menu can be attached to a window or to an icon
  843. - the library will open the menu for you (in the correct position!)
  844. when the <MENU> button on the mouse is used.
  845.  
  846. Normally writing a wimp application is a very complex business,
  847. involving much reading of the Programmers Reference Manuals, magazine
  848. articles and examining other applications. The aim of the EvntShell
  849. library is to reduce the need for this and to enable the speedy
  850. creation of easily maintained and robust applications.
  851.  
  852.  
  853. Distribution Licence for EvntShell
  854.  
  855. You have permission to use any part or the whole library in any Public
  856. Domain/ShareWare project ONCE YOUR COPY HAS BEEN REGISTERED, as long
  857. as I am fully credited (via the inclusion of this file in the program
  858. documentation). If you wish to use these routines in a program that is
  859. for sale (for however much and for whatever reasons) or released as
  860. copyright material then my express permission in writing must be obtained.
  861. I maintain copyright on all the material supplied as part of the EvntShell
  862. system (except where noted below) and reserve the right to amend these
  863. conditions in cases where I deem misuse.
  864. The library code is supplied free of charge to everyone ‘as is’. There
  865. is no guarantee that it is free from bugs and no warranty is given about
  866. its suitability for use.
  867. Further details about EvntShell may be obtained from the author:
  868. Paul Hobbs
  869. Rheinpfalzstrasse 2
  870. 85049 Ingolstadt
  871. Germany
  872. Email   : Paul.Hobbs@t-online.de
  873. Web site: http://ourworld.compuserve.com/homepages/Paul_Hobbs
  874. The heap manager routines used by EvntShell are copyright Risc User and
  875. are used with permission.
  876. Copyright for all of the supplied relocatable modules remains with the
  877. original authors.
  878.  
  879.  
  880.  
  881. Appendix E  -  Keyboard Shortcuts
  882.  
  883.     Print                   PRINT
  884.     Save
  885.     Locfile                 F3
  886.     DrawFile                ^F3
  887.     TextFile                Shift F3
  888.  
  889.     Save Choices            ^S
  890.  
  891.     Functions               ^F
  892.     Families                ^G
  893.     Constants               ^C
  894.     Formulae                ^E
  895.     Coordinates             ^H
  896.     Title                   ^T
  897.  
  898.     Transform               F4
  899.     Matrix                  F5
  900.     Statistics              F6
  901.     Settings                F7
  902.     Effects                 F2
  903.