home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / trubasic / rolldemos / demos / sci / aboutsci.tru next >
Encoding:
Text File  |  1994-08-02  |  1.8 KB  |  76 lines

  1. ! description of Scientific Graphics Toolkit and demos
  2.  
  3. call tw_wset_size(0,684,684)
  4. call tw_wset_title(0,"About Scientific Graphics")
  5. set text justify "center","base"
  6.  
  7. call info
  8.  
  9. do
  10.     if refresh(0)=1 then call info
  11.     get mouse x,y,state
  12.     if state<>0 then stop
  13. loop
  14.  
  15. sub info
  16. clear
  17. print
  18. print
  19. print
  20. print
  21. print
  22. set color "magenta"
  23. set text justify "center","bottom"
  24. let r=setfontsize(18)
  25. let a$="The Scientific Graphics Toolkit"
  26. plot text, at .5,.87: a$
  27. set color "blue"
  28. let t=strwidth(a$)
  29. box area .5-t/2,.5+t/2,.84,.85
  30. box area 0,.01,0,1
  31. box area 0,1,.99,1
  32. box area .99,1,0,1
  33. box area 0,1,0,.01
  34. set color "white"
  35.  
  36. print
  37. print
  38. print
  39. print
  40. print
  41.  
  42. print "  The Scientific Graphics Toolkit allows scientists, engineers,"
  43. print "  mathematicians, and programmers to draw complex scientific graphs"
  44. print "  using their own data sets and the routines provided in the toolkit."
  45. print "  Data sets may be of any size, even tens of thousands of entries."
  46. print "  Histograms, scatter plots, box-and-whisker plots, Windsorized means,"
  47. print "  linear and polynomial fits, contingency table analysis, and non-"
  48. print "  parametric tests are all supported."
  49. print
  50. print
  51. print "  The following demo programs include:"
  52. print
  53. print
  54. print "         lsquare         adds a least-squares line to data points."
  55. print
  56. print
  57. print "         meanfit         fits a Bezier curve through means of data"
  58. print "                         samples."
  59. print
  60. print
  61. print "         spline          draws a spline curve through random points."
  62. print
  63. print
  64. print "         vfunc           graphs a vector function."
  65. print
  66. print
  67. print "  Note that these programs do not check for refresh events so that"
  68. print "  if the window is obscured it will not be automatically redrawn."
  69. print
  70. print
  71. print
  72. print "                 <click the left mouse button to continue>"
  73. end sub
  74.  
  75. end
  76.