Introduction to PyXPlot Introduction What is Pyxplot? Compatibility with gnuplot The structure of this manual An introductory tour License Spelling conventions Acknowledgments Installation Installation within Linux distributions System requirements Dependencies in Debian and Ubuntu Dependencies in MacOS Installation from source archive System-wide installation First steps with Pyxplot Getting started First plots Comments Splitting long commands Printing text Axis labels and titles Removing labels and titles Querying the values of settings Plotting data files Plotting many data files at once Horizontally arranged data files Choosing which data to plot The replot command Directing where output goes Setting the size of output Plotting styles Setting axis ranges Interactive help Performing calculations Variables Physical constants Functions Spliced functions Handling numerical errors Working with complex numbers Working with physical units Treatment of angles in Pyxplot Converting between different temperature scales Configuring how numbers are displayed Display of physical units Changing the accuracy to which numbers are displayed Creating pastable text Numerical integration and differentiation Solving systems of equations Searching for minima and maxima of functions Working with time-series data Calendars Time intervals Working with data Input filters Reading data from a pipe Including data within command scripts Special comment lines in data files Tabulating functions and slicing data files Function fitting Datafile interpolation Two-dimensional interpolation Fourier transforms Window functions Histograms Random data generation Programming: Pyxplot’s data types Instantiating objects Strings The string substitution operator Converting strings to numbers Slicing strings String methods Regular expressions Lists Using lists as stacks Using lists as buffers Sorting lists Iterating over lists Calling functions with lists of arguments List mapping and filtering Vectors versus lists Dictionaries Vectors and matrices Dot and cross products Matrix algebra Plotting data from vectors Colors Color representations of the electromagnetic spectrum Dates Modules and classes File handles Storing data structures in text files
Plotting and Vector Graphics Plotting: a complete guide The with modifier The palette Default settings Pyxplot’s plot styles Lines and points Error bars Shaded regions Barcharts and histograms Steps Arrows Color maps, contour maps and surface plots Labelling datapoints The style keyword Plotting functions in exotic styles Plotting parametric functions Two-dimensional parametric surfaces Graph legends Configuring axes Adding additional axes Selecting which axes to plot against Plotting quantities with physical units Specifying the positioning of axes Configuring the appearance of axes Setting the color of axes Specifying where ticks should appear along axes Configuring how tick marks are labelled Linked axes Gridlines Clipping behaviour Labelling graphs Arrows Text labels Color maps Custom color mappings Color scale bars Contour maps Three-dimensional plotting Surface plotting Producing image files The set terminal command Previewing graphs on the screen Producing images on disk The complete syntax of the set terminal command The default terminal PostScript output Paper sizes Backing up over-written files Changing font Producing vector graphics Adding other vector graphics objects Multiplot mode The text command The arrow and line commands Editing items on the canvas Settings associated with multiplot items Reordering multiplot items The construction of large multiplots Linked axes and galleries of plots The replot command revisited The polygon command The image command The eps command The box and circle commands The arc command The point command The ellipse command The piechart command LaTeX and Pyxplot
Reference Manual Command reference ? ! arc arrow assert box break call cd circle clear continue delete do ellipse else eps exec exit fft fit for foreach foreach datum global help histogram history if ifft image interpolate jpeg let list load local maximize minimize move piechart plot axes label title with point print pwd quit rectangle refresh replot reset save set arrow autoscale axescolor axis axisunitstyle backup bar binorigin binwidth boxfrom boxwidth c1format c1label calendar clip colorkey colormap contours c<n>range data style display filter fontsize function style grid gridmajcolor gridmincolor key keycolumns label linewidth logscale multiplot mxtics mytics mztics noarrow noaxis nobackup noclip nocolorkey nodisplay nogrid nokey nolabel nologscale nomultiplot nostyle notitle noxtics noytics noztics numerics origin output palette papersize pointlinewidth pointsize preamble samples seed size style style data | style function terminal textcolor texthalign textvalign timezone title trange unit urange view viewer vrange width xformat xlabel xrange xtics yformat ylabel yrange ytics zformat zlabel zrange ztics show solve spline swap tabulate text undelete unset while List of in-built functions The ast module The colors module The exceptions module The fractals module The os module The os.path module The phy module The random module The stats module The time module The types module List of physical constants List of physical units List of paper sizes Line and point types Configuring Pyxplot Configuration files An example configuration file Setting definitions The filters section The settings section The styling section The terminal section The units section Recognised color names
Appendices Other applications of Pyxplot Conversion of jpeg images to PostScript Inserting equations in Powerpoint presentations Delivering talks in Pyxplot Setting up the infrastructure Writing a short example talk Delivering your talk Summary of differences between Pyxplot and gnuplot The typesetting of text Complex numbers The multiplot environment Plots with multiple axes Plotting parametric functions The fit command: mathematical details Notation The probability density function Estimating the error in u0 The covariance matrix The correlation matrix Finding σi ChangeLog 2012 Sep 19: Pyxplot 0.9.2 2012 Aug 29: Pyxplot 0.9.1 2012 Aug 1: Pyxplot 0.9.0 2011 Jan 7: Pyxplot 0.8.4 2010 Sep 15: Pyxplot 0.8.3 2010 Aug 4: Pyxplot 0.8.2 2010 Jun 1: Pyxplot 0.8.1 2010 May 19: Pyxplot 0.8.0 2009 Nov 17: Pyxplot 0.7.1 2008 Oct 14: Pyxplot 0.7.0 2007 Feb 26: Pyxplot 0.6.3 2006 Sep 09: Pyxplot 0.5.8 Index