home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d049 / plot.lha / Plot / plot.doc < prev    next >
Encoding:
Text File  |  1987-01-11  |  2.4 KB  |  51 lines

  1.    Plot is based on the 3-D transformation programs described in the book
  2. "Graphics Primer for the IBM PC" by Mitchell Waite and Christopher L. Morgan.
  3. The low-res screen I used doesn't quite match the resolution of the IBM PC
  4. in hi-res mode (2 colors 640x200) but the plotting is faster and the save-
  5. picture routine only works in lo-res.
  6. Plot2 shows the detail available in 640x400 interlace mode.  Use Grabbit to
  7. save screens, if desired.
  8.  
  9. The menus M*X and M*Y control the aspect ratio and magnification factor of
  10. the plotting.
  11. Spin defines the amount of x axis rotation, and tip defines the amount of z
  12. axis rotation used in displaying the plot.
  13. When plotting new formulas with 'new plot' and 'new formula' use the green
  14. cursor to locate the plot on the screen, clicking the left mouse button to
  15. start plotting.
  16. Use 'new formula' to enter your own formula. The program as it stands now
  17. treats parenthesis as blank space. The trig functions translated include
  18. sine, cosine, tangent and arctangent(atn).  The math functions are *,-,/,
  19. and +.  Other trig functions may be added easily by expanding case
  20. statements in the functions 'translate()' and 'process()'.  Other functions
  21. such as square root, with its dependency on parenthesis will take more
  22. analysis to include in the formula translation phase.
  23.  
  24. To reiterate: syntax for an acceptable formula is AS(X)+BS(Y)+CS(Z)...up
  25. to 30 characters per formula (The dialog box only shows 18).
  26.  
  27. where A,B and C are optional constants,
  28. S is an optional trig function (three letters optional, the first letter
  29. will work).
  30. X,Y and Z are the variables (X and Y are the only variables understood).
  31. The '+' could be any of the four math functions.
  32. Parenthesis is treated as blank space, but useful for titles--
  33. therefore cos(x)*cos(y) works as well as cx*cy
  34. but cos(x+y) doesn't work.
  35. 4x*cos(x)+tan(x) works as well as 4x*cx+tx
  36. but tan(cos(x*y)) doesn't work.
  37. Hopefully, I can devise a formula translation routine later that will
  38. correctly interpret all possibilities, but this is complicated stuff!
  39. This program is derived from public domain programs, and may not be
  40. published commercially.
  41. (The original programs were copyright 1983 by McGraw-Hill, but there is a
  42. release there to allow them to be typed, stored and executed in any
  43. computer, so that should include derived works too.)
  44.  
  45. Any correspondence about this program should be addressed to
  46.  
  47.          Terry W. Gintz
  48.          4430 Pinecrest Drive
  49.          Eugene, Or 97405
  50.  
  51.