python Programming Glossary: axcolor
plotting results of hierarchical clustering ontop of a matrix of data in python http://stackoverflow.com/questions/2982929/plotting-results-of-hierarchical-clustering-ontop-of-a-matrix-of-data-in-python axmatrix.set_xticks axmatrix.set_yticks # Plot colorbar. axcolor fig.add_axes 0.91 0.1 0.02 0.6 pylab.colorbar im cax axcolor.. fig.add_axes 0.91 0.1 0.02 0.6 pylab.colorbar im cax axcolor fig.show fig.savefig 'dendrogram.png' Good luck Let me know..
Interactive matplotlib plot with two sliders http://stackoverflow.com/questions/6697259/interactive-matplotlib-plot-with-two-sliders sin 2 pi f0 t l plot t s lw 2 color 'red' axis 0 1 10 10 axcolor 'lightgoldenrodyellow' axfreq axes 0.25 0.1 0.65 0.03 axisbg.. axfreq axes 0.25 0.1 0.65 0.03 axisbg axcolor axamp axes 0.25 0.15 0.65 0.03 axisbg axcolor sfreq Slider axfreq.. 0.03 axisbg axcolor axamp axes 0.25 0.15 0.65 0.03 axisbg axcolor sfreq Slider axfreq 'Freq' 0.1 30.0 valinit f0 samp Slider axamp..
|