July 30, 2003
7:09 p.m.
Hello, Can anyone give an example (or fill in below) how to change a value's plot-type from line to bar without manually editing through chaco? I'd like to create a histogram generating function based on wxplt.plot . Thanks in advance, Mike ################################### from scipy import * from chaco import wxplt as plt import RandomArray as ra #data for testing... data = ra.normal(0,3,100) mu = mean(data) sigma = std(data) mhist = stats.histogram(data) xhist = mhist[1] yhist = mhist[0] fig1 = plt.plot(xhist,yhist) ## CHANGE FROM LINE PLOT TO BAR PLOT????? ## # fig1.canvas.???
8322
Age (days ago)
8322
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sajec, Mike TQO