Bell Curve Maker Project

Using the following code as an example: http://cs.mvnu.edu/LearnSys/curve.html

Make the following complete library function:

BellCurve (CTX, H, W, X, Y, u, s2, Label, LP) where

  • CTX is a canvas to draw on
  • H is the height of the graph in pixels
  • W is the width of the graph in pixels
  • X,Y is the position of the upper left hand corner of the graph2
  • u - ?
  • s - ?
  • Label is a label to appear below the graph
  • LP is the distance in standard deviations that the two lines are from the center. If zero, don't include line.
  • FILL - 0: no fill, 1: fill.
Add A and B lines separately.

-- JimSkon - 2012-07-17

Topic revision: r3 - 2012-07-23 - JimSkon
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback