User Profile

Collapse

Profile Sidebar

Collapse
asong84
asong84
Last Activity: Dec 13 '11, 05:25 PM
Joined: Oct 7 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • asong84
    replied to histogram in python
    dwblas i have already made that changes already, i am now trying to figure out how to make a histogram of chainlength n.
    Glenton- am still trying out the matplotlib.will get back to you if i have a problem.
    See more | Go to post

    Leave a comment:


  • asong84
    replied to histogram in python
    we want to allow the user to draw histograms for more than one range of numbers during the running of the program, we'll want to close the window after having enough time to view it. You should close the window after 10 seconds. You'll need to use sleep() to do this.
    All handling of the graphics window should be done within the drawHistogram() function. In fact, since the window is opened in this function, it is local to this function. Trying...
    See more | Go to post

    Leave a comment:


  • asong84
    started a topic histogram in python

    histogram in python

    I want to draw a histogram of 2-11 and each bar of the number would reach up to the chain length of that number.
    I have a hailstone sequence as given below

    Code:
    import string
    # from graphics import *
    from graphics import *
     
    #Constant
    MAX = 10000
     
    # printing functions
     
    # this function prints a brief description of the program to the user
    # Inputs: none
    # Outputs :
    ...
    See more | Go to post
    Last edited by bvdet; Nov 2 '11, 01:51 AM. Reason: Add code tags
No activity results to display
Show More
Working...