Hello,
I am trying to use the matplotlib to generate a histogram and display it on PHP / HTML.
The following is the code:
abc.py
#!/usr/bin/python
from pylab import randn, hist
x = randn(10000)
hist(x, 100)
testing_python.php
www/New_HPD
<?php exec('/N/abc.py'); ?>But still am unable to show it on the browser.
Can anyone suggest a solution?
Thanks–
Sudhir Chowbina
Bioinformatics Graduate Student & Research Assistant
Discovery Informatics and Computing Laboratory
Indiana University School of Informatics
Indianapolis, USA
317-847 7721
schowbin@…2532…