The QtiPlot Handbook Ion Vasilief, Roger Gadiou, and Knut Franke April 10, 2008 Contents 1 Introduction 1 1.1 What QtiPlot does ....................................................... 1 1.2 Command Line Parameters .................................................. 1 1.2.1 Specify a File ..................................................... 1 1.2.2 Command Line Options ............................................... 2 1.3 General Concepts and Terms ................................................. 2 1.3.1 Tables ......................................................... 3 1.3.2 Matrix ......................................................... 4 1.3.3 Plot Window ..................................................... 5 1.3.4 Note .......................................................... 6 1.3.5 Log Window ..................................................... 6 1.3.6 The Project Explorer ................................................. 6 2 Drawing plots with QtiPlot 8 2.1 2D plots ............................................................ 8 2.1.1 2D plot from data. .................................................. 8 2.1.2 2D plot from function. ................................................ 10 2.1.2.1 Direct plot of a function. ......................................... 10 2.1.2.2 Filling of a table with the values of a function. .............................. 11 2.2 3D plots ............................................................ 12 2.2.1 Direct 3D plot from a function ............................................ 13 2.2.2 3D plot from a matrix ................................................ 14 2.3 Multilayer Plots ........................................................ 15 2.3.1 Building a multilayer plot panel ........................................... 15 2.3.2 Building a multilayer plot step by step ........................................ 16 3 Command Reference 19 3.1 The File Menu ......................................................... 19 3.2 The Edit Menu ........................................................ 23 3.3 The View Menu ........................................................ 23 3.4 The Graph Menu ....................................................... 23 3.5 The Plot Menu ........................................................ 24 3.6 The Plot 3D menu ....................................................... 30 3.7 The Data Menu ........................................................ 33 3.8 The Analysis Menu ...................................................... 34 3.8.1 Commands for the analysis of data in tables ..................................... 34 3.8.2 Commands for the analysis of curves in plots .................................... 35 3.9 The Table Menu ........................................................ 38 3.10 The Matrix Menu ....................................................... 39 3.11 The Format Menu ....................................................... 40 3.12 The Scripting Menu ...................................................... 40 3.13 The Window Menu ...................................................... 40 3.14 Customization of 3D plots .................................................. 41 4 The Toolbars 43 4.1 The Edit Toolbar ....................................................... 43 4.2 The File Toolbar ........................................................ 43 4.3 The Plot Toolbar. ....................................................... 44 4.4 The Table Toolbar ....................................................... 44 4.5 The Column Toolbar ..................................................... 44 1 CONTENTS CONTENTS 4.6 The Plot 3D Toolbar ..................................................... 46 5 The Dialogs 48 5.1 Add Custom Action ...................................................... 48 5.2 Add Error bars ........................................................ 48 5.3 Add Function ......................................................... 49 5.4 Add Layer ........................................................... 51 5.5 Add/Remove curves ...................................................... 51 5.6 Arrange Layers ........................................................ 52 5.7 Add Arrow .......................................................... 54 5.8 Column Options ........................................................ 55 5.9 Contour Curves Options ................................................... 56 5.10 Plot Details .......................................................... 57 5.10.1 Custom curves for lines and scatter plots ...................................... 58 5.10.2 Plot Details for pie plots ............................................... 60 5.10.3 Custom curves for box plots ............................................. 62 5.10.4 Custom curves for pie histogram ........................................... 63 5.11 Define surface plot ...................................................... 64 5.12 Export ASCII ......................................................... 65 5.13 Add/Remove curves ...................................................... 66 5.14 Fast Fourier Transform .................................................... 66 5.15 Integrate dialog ........................................................ 67 5.16 The Fit Wizard ........................................................ 67 5.17 General Plot Options ..................................................... 70 5.18 Plot Wizard .......................................................... 72 5.19 Project Explorer ........................................................ 73 5.20 Preferences Dialog ...................................................... 73 5.21 Printer-setup .......................................................... 80 5.22 Set Column Values ...................................................... 81 5.23 Set Matrix Dimensions .................................................... 82 5.24 Import ASCII files ...................................................... 82 5.25 Matrix Properties ....................................................... 83 5.26 Set Matrix Values ....................................................... 84 5.27 Surface plot options ...................................................... 84 5.28 Text options .......................................................... 87 6 Analysis of data and curves 90 6.1 Fast Fourier Transform .................................................... 90 6.2 Correlation .......................................................... 90 6.3 Convolution .......................................................... 91 6.4 Deconvolution ......................................................... 91 6.5 The Fit Wizard ........................................................ 91 6.6 Fitting to specific curves ................................................... 92 6.6.1 Fitting to a line .................................................... 92 6.6.2 Fitting to a polynome ................................................. 93 6.6.3 Fitting to a Bolzmann function ............................................ 94 6.6.4 Fitting to a Gauss function .............................................. 95 6.6.5 Fitting to a Lorentz function ............................................. 95 6.7 Multi-Peaks fitting ...................................................... 96 6.8 Filtering of data curves .................................................... 96 6.8.1 FFT low pass filter .................................................. 97 6.8.2 FFT high pass filter .................................................. 98 6.8.3 FFT band pass filter ................................................. 99 6.8.4 FFT block band filter ................................................. 100 6.9 Interpolation .......................................................... 101 2 CONTENTS CONTENTS 7 Mathematical Expressions and Scripting 103 7.1 muParser ........................................................... 103 7.2 Python ............................................................. 103 7.2.1 The Initialization File ................................................. 103 7.2.2 Python Basics ..................................................... 105 7.2.3 Defining Functions and Control Flow ........................................ 105 7.2.4 Mathematical Functions ............................................... 106 7.2.5 Accessing QtiPlot’s objects from Python ...................................... 106 7.2.6 Project Folders .................................................... 107 7.2.7 Working with Tables ................................................. 108 7.2.8 Working with Matrices ................................................ 109 7.2.9 2D Plots ........................................................ 111 7.2.9.1 Working with curves ............................................ 112 7.2.9.2 The plot title ................................................ 112 7.2.9.3 Customizing the axes ........................................... 113 7.2.9.4 The canvas ................................................. 114 7.2.9.5 The layer frame .............................................. 114 7.2.9.6 Customizing the grid ........................................... 114 7.2.9.7 The plot legend .............................................. 115 7.2.9.8 Adding arrows/lines to a plot layer .................................... 115 7.2.9.9 Adding images to a layer ......................................... 116 7.2.9.10 Antialiasing ................................................ 116 7.2.9.11 Resize events ..............................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages142 Page
-
File Size-