matplotlib Plotting CookbookPackt Publishing Ltd, 26 mars 2014 - 222 pages This book follows a cookbook style approach that puts orthogonal and non-redundant recipes in your hands. Rather than rehashing the user manual, the explanations expose the underlying logic behind Matplotlib. If you are an engineer or scientist who wants to create great visualizations with Python, rather than yet another specialized language, this is the book for you. While there are several very competent plotting packages, Matplotlib is just a Python module. Thus, if you know some Python already, you will feel at home from the first steps on. In case you are an application writer, you won't be left out since the integration of Matplolib is covered. |
Autres éditions - Tout afficher
Expressions et termes fréquents
2D array annotations aspect ratio axis bar charts boxplots cmap colormap column coordinates create custom colors dataset default display doit dpi_res edgecolor Enthought following code following figure following graph following script Getting ready graphic grid Howtodoit import numpy asnp input install instance Integrating a plot interpolation LaTeX linestyle Lorenz attractor Mandelbrot set marker matplotlib import pyplot matplotlib.pyplot as plt max_iter module mpath.Path.LINETO np from matplotlib np import matplotlib.pyplot np.linspace(0 np.linspace(ymin np.pi np.sinc(X numpy as np numpy asnp import ofthe optional parameter output package PDF documents pixels plot_surface plt.bar(X plt.figure plt.plot(X plt.show points polar polygon preceding code preceding script previous recipe produce the following Pyglet pyplot as plt pyplot.bar pyplot.imshow pyplot.savefig pyplot.scatter Python render samples scalar field scatter plots script will produce self.m self.n3 shapes shown simple slider There's theta Tkinter transparency user interface values vector field Visualizing widgets wxWidgets xmax ymax