The Qtiplot Handbook I
Total Page:16
File Type:pdf, Size:1020Kb
The QtiPlot Handbook i The QtiPlot Handbook The QtiPlot Handbook ii Copyright © 2004 - 2011 Ion Vasilief Copyright © 2010 Stephen Besch Copyright © 2006 - june 2007 Roger Gadiou and Knut Franke Legal notice: Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documen- tation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. The QtiPlot Handbook iii COLLABORATORS TITLE : The QtiPlot Handbook ACTION NAME DATE SIGNATURE WRITTEN BY Ion Vasilief and 22 February 2011 Stephen Besch REVISION HISTORY NUMBER DATE DESCRIPTION NAME The QtiPlot Handbook iv 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.....................................................4 1.3.2 Matrix.....................................................5 1.3.3 Plot Window.................................................6 1.3.4 Note......................................................7 1.3.5 Log Window.................................................8 1.3.6 The Project Explorer.............................................9 2 Drawing plots with QtiPlot 10 2.1 2D plots........................................................ 10 2.1.1 2D plot from data............................................... 10 2.1.2 2D plot from function............................................. 13 2.1.2.1 Direct plot of a function...................................... 13 2.1.2.2 Filling of a table with the values of a function........................... 14 2.2 3D plots........................................................ 15 2.2.1 Direct 3D plot from a function........................................ 16 2.2.2 3D plot from a matrix............................................ 18 2.3 Multilayer Plots.................................................... 19 2.3.1 Building a multilayer plot panel....................................... 19 2.3.2 Building a multilayer plot step by step.................................... 20 3 Command Reference 23 3.1 The File Menu..................................................... 23 3.1.1 File-> New ->................................................. 23 3.1.1.1 New -> New Project (Ctrl-N)................................... 23 3.1.1.2 New -> New Folder (F7)..................................... 23 The QtiPlot Handbook v 3.1.1.3 New -> New Table (Ctrl-T).................................... 23 3.1.1.4 New -> New Matrix (Ctrl-M)................................... 24 3.1.1.5 New -> New Note ......................................... 24 3.1.1.6 New -> New Graph (Ctrl-G)................................... 24 3.1.1.7 New -> New Function Plot (Ctrl-F)............................... 25 3.1.1.8 New -> New Surface 3D Plot (Ctrl-Alt-Z)............................ 25 3.1.2 File -> Open (Ctrl-O)............................................ 25 3.1.3 File -> Open Excel .............................................. 25 3.1.4 File -> Open ODF Spreadsheet ....................................... 25 3.1.5 File-> Open Image File (Ctrl-I)....................................... 25 3.1.6 File -> Append Project... (Ctrl-Alt-A)................................... 26 3.1.7 File-> Recent Projects ............................................ 26 3.1.8 File -> Close ................................................. 26 3.1.9 File-> Save Project (Ctrl-S)......................................... 26 3.1.10 File-> Save Project as... (Ctrl-Shift-S)................................... 26 3.1.11 File-> Save Window as... .......................................... 26 3.1.12 File -> Open Template ........................................... 26 3.1.13 File -> Save as Template .......................................... 27 3.1.14 File-> Print (Ctrl-P)............................................. 27 3.1.15 File-> Print Preview ............................................. 27 3.1.16 File-> Print All Plots ............................................ 27 3.1.17 File -> Export Graph ............................................ 28 3.1.17.1 Export Graph -> Current (Alt-G)................................ 30 3.1.17.2 Export Graph -> All (Alt-X).................................. 30 3.1.17.3 File -> Create Open Document Presentation... ........................ 30 3.1.18 File -> Export ................................................ 30 3.1.18.1 Export ASCII ........................................... 30 3.1.18.2 Export Excel ........................................... 30 3.1.18.3 Export to PDF (Ctrl-Alt-P)................................... 31 3.1.19 File -> Import................................................. 31 3.1.19.1 File -> Import -> Import ASCII... (Ctrl-K)........................... 31 3.1.19.2 File -> Import -> Sound (WAV)... ................................ 31 3.1.19.3 File-> Import Image... ...................................... 31 3.1.20 File -> Quit (Ctrl-Q)............................................. 31 3.2 The Edit Menu.................................................... 31 3.2.1 Edit -> Undo (Ctrl-Z)............................................ 31 3.2.2 Edit -> Redo (Ctrl-Shift-Z).......................................... 32 3.2.3 Edit -> Cut Selection (Ctrl-X)........................................ 32 3.2.4 Edit -> Copy Selection (Ctrl-C)....................................... 32 The QtiPlot Handbook vi 3.2.5 Edit -> Paste Selection (Ctrl-V)....................................... 32 3.2.6 Edit -> Delete Selection (Del)........................................ 32 3.2.7 Edit -> Delete Fit Tables ........................................... 32 3.2.8 Edit -> Clear Log Information ....................................... 32 3.2.9 Edit -> Preferences... ............................................ 32 3.3 The View Menu.................................................... 32 3.3.1 View -> Toolbars... (Ctrl-Shift-T)...................................... 32 3.3.2 View -> Plot Wizard (Ctrl-Alt-W)..................................... 32 3.3.3 View -> Project Explorer (Ctrl-E)..................................... 33 3.3.4 View -> Results log ............................................. 33 3.3.5 View -> Undo/Redo Stack... ......................................... 33 3.3.6 View -> Show/Hide Scripting Console ................................... 33 3.4 The Scripting Menu.................................................. 33 3.4.1 General Scripting Commands........................................ 33 3.4.1.1 Scripting -> Scripting language ................................. 33 3.4.1.2 Scripting -> Restart scripting .................................. 33 3.4.1.3 Scripting -> Add Custom Script Action... ............................ 33 3.4.2 Notes Specific Scripting Commands..................................... 33 3.4.2.1 Scripting -> Execute (Ctrl+J)................................... 34 3.4.2.2 Scripting -> Preferences... (Ctrl+Shift+J)............................ 34 3.4.2.3 Scripting -> Evaluate (Ctrl+Return)............................... 34 3.4.2.4 Rename Tab.............................................. 34 3.4.2.5 Add Tab.............................................. 34 3.4.2.6 Close Tab............................................. 34 3.5 The Graph Menu................................................... 34 3.5.1 Graph -> Add/Remove Curves... (Alt-C).................................. 34 3.5.2 Graph -> Add Function... (Ctrl-Alt-F)................................... 34 3.5.3 Graph -> Add Error Bars... (Ctrl-B).................................... 34 3.5.4 Graph -> New Legend (Ctrl-L)....................................... 34 3.5.5 Graph -> Add Equation (Alt-Q)....................................... 35 3.5.6 Graph -> Add Text (Alt-T).......................................... 35 3.5.7 Graph -> Draw Arrow (Ctrl-Alt-A)..................................... 35 3.5.8 Graph -> Draw Line (Ctrl-Alt-L)...................................... 35 3.5.9 Graph -> Add Rectangle (Ctrl-Alt-R).................................... 35 3.5.10 Graph -> Add Ellipse (Ctrl-Alt-E)...................................... 35 3.5.11 Graph -> Add Time Stamp (Ctrl-Alt-T)................................... 35 3.5.12 Graph -> Add Image (Alt-I)......................................... 35 3.5.13 Z-Order Commands............................................... 36 3.5.13.1 Move to Top ............................................ 36 The QtiPlot Handbook vii 3.5.13.2 Move to Bottom .......................................... 36 3.5.14 Graph -> Add Layer (Alt-L)......................................... 36 3.5.15 Graph -> Add Empty Inset Layer ..................................... 36 3.5.16 Graph -> Add Inset Layer With Curves .................................. 36 3.5.17 Graph -> Arrange Layers (Shift-A)..................................... 36 3.5.18 Graph -> Automatic Layout command................................... 36 3.5.19 Graph -> Extract to Graphs command................................... 37 3.5.20 Graph -> Extract to Layers command................................... 37 3.5.21 Graph -> Remove Layer (Alt-R)...................................... 37 3.6 The Plot Menu.................................................... 37 3.6.1 Line .....................................................