home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d3xx / d306 / rexxplplot.lha / RexxPlPlot / examples / Example05.plot < prev    next >
Encoding:
Text File  |  1990-01-11  |  430 b   |  19 lines

  1. /* Example05.plot - Test of drawing a histogram        */
  2. /* Modified for RexxPlPlot by Glenn M. Lewis - 9/12/89 */
  3.  
  4. address 'PlPlot'
  5. say 'Please be patient...'
  6.  
  7. /* Fill up data points */
  8.  
  9.       do i=1 to 2049; data.i = sin(0.01*i); end i
  10.  
  11.       'plstar(1,1);'
  12.       'plhist(2049,data,-1.1,1.1,44,0);'
  13.       'pllab("\frValue","\frFrequency","\frPLPLOT Example 5 - Probability function of Oscillator");'
  14.  
  15.       'plend();'
  16.  
  17. exit 0
  18.  
  19.