![]() ![]() If only a single curve tuple is to be plotted, it can be inlined.Implicit domains (see below) reduce the number of numpy arrays you need to.Broadcasting (see below) reduces the number of curves you have to explicitly.Anywhere that expects plot options you can pass DEFAULT curve options for all.Options and the DEFAULT curve options for all the children. Anywhere that expects process options, you can pass the DEFAULT subplot.This is verbose, and rarely will you actually specify everything in this much plot( subplot_options0, subplot_options1 ) Subplot1 = ( curve2, curve3, subplot_options1) Subplot0 = ( curve0, curve1, subplot_options0) gnuplotlib( process_options, multiplot =. The object-oriented interface is used like this: Invocation rewrites over the previous gnuplot window. The global functions reuse a single global gnuplotlib instance, so each such Simultaneous plot windows are desired, create a separate class gnuplotlib object Each instance ofĬlass gnuplotlib has a separate gnuplot process and a plot window. Global class-less functions (plot(), plot3d(), plotimage()). Gnuplotlib has an object-oriented interface (via class gnuplotlib) and a few Is described in great detail at its upstream website: Making available the full power and flexibility of the Gnuplot backend. As muchĪs was possible, this module acts as a passive pass-through to Gnuplot, thus This module allows numpy data to be plotted using Gnuplot as a backend. DESCRIPTIONįor an introductory tutorial and some demos, please see the guide: Multiplot = 'title "multiplot histograms" layout 2,1', ( x * x, dict( histogram = 'cumulative')), ( x * x, dict( histogram = 'cumulative', y2 = 1))) gnuplotlib( title = 'Parabola with error bars', Import numpy as np import gnuplotlib as gp x = np.
0 Comments
Leave a Reply. |