¡@

Home 

python Programming Glossary: dpi

How do I convert (or scale) axis values and redefine the tick frequency in matplotlib?

http://stackoverflow.com/questions/1143848/how-do-i-convert-or-scale-axis-values-and-redefine-the-tick-frequency-in-matpl

thumb Image.open self.image thumb thumb.rotate 90 dpi plt.rcParams 'figure.dpi' figsize thumb.size 0 dpi thumb.size.. self.image thumb thumb.rotate 90 dpi plt.rcParams 'figure.dpi' figsize thumb.size 0 dpi thumb.size 1 dpi fig plt.figure figsize.. 90 dpi plt.rcParams 'figure.dpi' figsize thumb.size 0 dpi thumb.size 1 dpi fig plt.figure figsize figsize plt.imshow thumb..

How to speed up matplotlib when plotting and saving lots of figures?

http://stackoverflow.com/questions/11688318/how-to-speed-up-matplotlib-when-plotting-and-saving-lots-of-figures

plt.savefig 'test_imag_real' str pp '.png' format 'png' dpi 100 print 'Fig ' str pp ' has been saved' print Excution time.. plt.savefig 'test_imag_real' str pp '.png' format 'png' dpi 100 print 'Fig ' str pp ' has been saved' print Excution time.. plt.savefig 'test_imag_real' str pp '.png' format 'png' dpi 100 print 'Fig ' str pp ' has been saved' print Excution time..

time.sleep() required to keep QThread responsive?

http://stackoverflow.com/questions/14665636/time-sleep-required-to-keep-qthread-responsive

def create_main_frame self self.main_frame QWidget self.dpi 100 self.width 10 self.height 8 self.fig Figure figsize self.width.. 8 self.fig Figure figsize self.width self.height dpi self.dpi self.axes self.fig.add_subplot 111 self.axes.axis.. 8 self.fig Figure figsize self.width self.height dpi self.dpi self.axes self.fig.add_subplot 111 self.axes.axis 0 512 0 120..

Is there easy way in python to extrapolate data points to the future?

http://stackoverflow.com/questions/1599754/is-there-easy-way-in-python-to-extrapolate-data-points-to-the-future

left grid True savefig extrapolate UnivariateSpline.png dpi 50 show Added a Scipy ticket says The behavior of the FITPACK..

Python, Matplotlib, subplot: How to set the axis range?

http://stackoverflow.com/questions/2849286/python-matplotlib-subplot-how-to-set-the-axis-range

pylab.ylim 0 1000 pylab.plot abs fft pylab.savefig SIG.png dpi 200 pylab.show Other improvements are also appreciated python..

What is the difference between 'log' and 'symlog'?

http://stackoverflow.com/questions/3305865/what-is-the-difference-between-log-and-symlog

I've used the following code to save each figure # Default dpi is 80 pyplot.savefig 'matplotlib_xscale_linear.png' dpi 50 bbox_inches.. dpi is 80 pyplot.savefig 'matplotlib_xscale_linear.png' dpi 50 bbox_inches 'tight' Remember you can change the figure size..

How do you change the size of figures drawn with matplotlib?

http://stackoverflow.com/questions/332289/how-do-you-change-the-size-of-figures-drawn-with-matplotlib

tells you the call signature figure num None figsize 8 6 dpi 80 facecolor 'w' edgecolor 'k' So figure figsize 1 1 creates..

Python Tkinter Embed Matplotlib in GUI

http://stackoverflow.com/questions/4073660/python-tkinter-embed-matplotlib-in-gui

Tk master.title Hello World # f Figure figsize 5 4 dpi 100 a f.add_subplot 111 t arange 0.0 3.0 0.01 s sin 2 pi t a.plot..

Generating movie from python without saving individual frames to files

http://stackoverflow.com/questions/4092927/generating-movie-from-python-without-saving-individual-frames-to-files

as animation import numpy as np from pylab import dpi 100 def ani_frame fig plt.figure ax fig.add_subplot 111 ax.set_aspect.. 'ffmpeg' fps 30 ani.save 'demo.mp4' writer writer dpi dpi return ani Documentation for animation share improve this.. 'ffmpeg' fps 30 ani.save 'demo.mp4' writer writer dpi dpi return ani Documentation for animation share improve this answer..

How can I release memory after creating matplotlib figures

http://stackoverflow.com/questions/7101404/how-can-i-release-memory-after-creating-matplotlib-figures

1000000 b np.random.randn 1000000 fig plt.figure num 1 dpi 100 facecolor 'w' edgecolor 'w' fig.set_size_inches 10 7 ax..

matplotlib: limits when using plot and imshow in same axes

http://stackoverflow.com/questions/9120749/matplotlib-limits-when-using-plot-and-imshow-in-same-axes

after calling imshow only. My code looks as follows self.dpi 100 self.fig Figure 6.0 6.0 dpi self.dpi self.canvas FigureCanvas.. code looks as follows self.dpi 100 self.fig Figure 6.0 6.0 dpi self.dpi self.canvas FigureCanvas self.fig self.canvas.setMinimumSize.. as follows self.dpi 100 self.fig Figure 6.0 6.0 dpi self.dpi self.canvas FigureCanvas self.fig self.canvas.setMinimumSize..