SciDAVis.pdf

(7388 KB) Pobierz
The SciDAVis Handbook
Ion Vasilief, Roger Gadiou, and Knut Franke
February 9, 2008
Contents
1
Introduction
1
1.1
What is SciDAVis?
. . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1.2
Command Line Parameters . . . . . . . . . . . . . . . . . . . . . . .
2
1.2.1
Specify a File . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1.2.2
Command Line Options
. . . . . . . . . . . . . . . . . . . .
3
1.3
General Concepts and Terms
. . . . . . . . . . . . . . . . . . . . . .
3
1.3.1
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
1.3.2
Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
1.3.3
Plot Window
. . . . . . . . . . . . . . . . . . . . . . . . . .
7
1.3.4
Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
1.3.5
Log Window
. . . . . . . . . . . . . . . . . . . . . . . . . .
9
1.3.6
The Project Explorer
. . . . . . . . . . . . . . . . . . . . . .
9
2
Drawing plots with SciDAVis
11
2.1
2D plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
2.1.1
2D plot from data.
. . . . . . . . . . . . . . . . . . . . . . .
11
2.1.2
2D plot from function.
. . . . . . . . . . . . . . . . . . . . .
14
2.1.2.1
Direct plot of a function.
. . . . . . . . . . . . . .
15
2.1.2.2
Filling of a table with the values of a function.
. . .
15
2.2
3D plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
2.2.1
Direct 3D plot from a function . . . . . . . . . . . . . . . . .
17
2.2.2
3D plot from a matrix
. . . . . . . . . . . . . . . . . . . . .
19
2.3
Multilayer Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20
2.3.1
Building a multilayer plot panel
. . . . . . . . . . . . . . . .
20
2.3.2
Building a multilayer plot step by step . . . . . . . . . . . . .
21
3
Command Reference
24
3.1
The File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24
3.2
The Edit Menu
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
3.3
The View Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
3.4
The Graph Menu
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
3.5
The Plot Menu
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
3.6
The Plot 3D menu . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
3.7
The Data Menu
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
1
3.8
The Analysis Menu . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
3.8.1
Commands for the analysis of data in tables . . . . . . . . . .
42
3.8.2
Commands for the analysis of curves in plots
. . . . . . . . .
44
3.9
The Table Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
3.10 The Matrix Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50
3.11 The Format Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . .
50
3.12 The Window Menu
. . . . . . . . . . . . . . . . . . . . . . . . . . .
51
3.13 Customization of 3D plots
. . . . . . . . . . . . . . . . . . . . . . .
52
4
The Toolbars
55
4.1
The Edit Toolbar
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
4.2
The File Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
4.3
The Plot Toolbar.
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
4.4
The Table Toolbar.
. . . . . . . . . . . . . . . . . . . . . . . . . . .
56
4.5
The Plot 3D Toolbar.
. . . . . . . . . . . . . . . . . . . . . . . . . .
60
5
The Dialogs
62
5.1
Add Error bars
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.2
Add Function
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
5.3
Add Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
5.4
Add/Remove curves.
. . . . . . . . . . . . . . . . . . . . . . . . . .
65
5.5
Add Text
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
5.6
Arrange Layers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67
5.7
Add Arrow
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
5.8
Column Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71
5.9
Contour Curves Options
. . . . . . . . . . . . . . . . . . . . . . . .
72
5.10 Custom Curves
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
5.10.1
Custom curves for lines and scatter plots
. . . . . . . . . . .
74
5.10.2
Custom curves for pie plots
. . . . . . . . . . . . . . . . . .
75
5.10.3
Custom curves for box plots
. . . . . . . . . . . . . . . . . .
76
5.10.4
Custom curves for pie histogram . . . . . . . . . . . . . . . .
78
5.11 Define surface plot
. . . . . . . . . . . . . . . . . . . . . . . . . . .
79
5.12 Export ASCII
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
5.13 Fast Fourier Transform
. . . . . . . . . . . . . . . . . . . . . . . . .
80
5.14 Integrate dialog
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
81
5.15 Non linear curve fit
. . . . . . . . . . . . . . . . . . . . . . . . . . .
82
5.16 General Plot Options
. . . . . . . . . . . . . . . . . . . . . . . . . .
84
5.17 Plot Wizard
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
5.18 Project Explorer . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
88
5.19 Preferences Dialog
. . . . . . . . . . . . . . . . . . . . . . . . . . .
89
5.20 Printer-setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
5.21 Set Column Values
. . . . . . . . . . . . . . . . . . . . . . . . . . .
95
5.22 Set Dimensions... . . . . . . . . . . . . . . . . . . . . . . . . . . . .
96
5.23 ASCII Import options . . . . . . . . . . . . . . . . . . . . . . . . . .
96
5.24 Set Properties...
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5.25 Set Values... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
2
5.26 Surface plot options . . . . . . . . . . . . . . . . . . . . . . . . . . .
98
5.27 Text options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
101
6
Analysis of data and curves
103
6.1
Fast Fourier Transform
. . . . . . . . . . . . . . . . . . . . . . . . .
103
6.2
Correlation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104
6.3
Convolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
105
6.4
Deconvolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
105
6.5
Non Linear Curve Fit . . . . . . . . . . . . . . . . . . . . . . . . . .
105
6.6
Fitting to specific curves
. . . . . . . . . . . . . . . . . . . . . . . .
106
6.6.1
Fitting to a line
. . . . . . . . . . . . . . . . . . . . . . . . .
106
6.6.2
Fitting to a polynome . . . . . . . . . . . . . . . . . . . . . .
107
6.6.3
Fitting to a Bolzmann function . . . . . . . . . . . . . . . . .
108
6.6.4
Fitting to a Gauss function . . . . . . . . . . . . . . . . . . .
109
6.6.5
Fitting to a Lorentz function
. . . . . . . . . . . . . . . . . .
110
6.7
Multi-Peaks fitting
. . . . . . . . . . . . . . . . . . . . . . . . . . .
110
6.8
Filtering of data curves
. . . . . . . . . . . . . . . . . . . . . . . . .
111
6.8.1
FFT low pass filter
. . . . . . . . . . . . . . . . . . . . . . .
112
6.8.2
FFT high pass filter . . . . . . . . . . . . . . . . . . . . . . .
113
6.8.3
FFT band pass filter
. . . . . . . . . . . . . . . . . . . . . .
114
6.8.4
FFT block band filter . . . . . . . . . . . . . . . . . . . . . .
115
6.9
Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
116
7
Mathematical Expressions and Scripting
118
7.1
muParser
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
118
7.2
Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
120
7.2.1
The Initialization File . . . . . . . . . . . . . . . . . . . . . .
120
7.2.2
Python Basics . . . . . . . . . . . . . . . . . . . . . . . . . .
120
7.2.3
Defining Functions and Control Flow
. . . . . . . . . . . . .
121
7.2.4
Mathematical Functions
. . . . . . . . . . . . . . . . . . . .
122
7.2.5
Accessing SciDAVis’s functions from Python . . . . . . . . .
122
7.2.5.1
Establishing contact . . . . . . . . . . . . . . . . .
122
7.2.5.2
Working with Tables . . . . . . . . . . . . . . . . .
124
7.2.5.3
Working with Matrices
. . . . . . . . . . . . . . .
125
7.2.5.4
Plotting and Working with Graphs
. . . . . . . . .
126
7.2.5.5
Fitting
. . . . . . . . . . . . . . . . . . . . . . . .
128
A
Appendix
130
A.1
Credits and License . . . . . . . . . . . . . . . . . . . . . . . . . . .
130
A.1.1
GNU Free Documentation License . . . . . . . . . . . . . . .
130
A.1.1.1
Preamble . . . . . . . . . . . . . . . . . . . . . . .
130
A.1.1.2
Applicability And Definitions . . . . . . . . . . . .
131
A.1.1.3
Verbatim Copying . . . . . . . . . . . . . . . . . .
132
A.1.1.4
Copying In Quantity . . . . . . . . . . . . . . . . .
132
A.1.1.5
Modifications
. . . . . . . . . . . . . . . . . . . .
133
A.1.1.6
Combining Documents
. . . . . . . . . . . . . . .
134
3
A.1.1.7
Collections Of Documents
. . . . . . . . . . . . .
134
A.1.1.8
Aggregation With Independent Works
. . . . . . .
135
A.1.1.9
Translation . . . . . . . . . . . . . . . . . . . . . .
135
A.1.1.10
Termination
. . . . . . . . . . . . . . . . . . . . .
135
A.1.1.11
Future Revisions Of This License . . . . . . . . . .
135
A.2
How to obtain SciDAVis
. . . . . . . . . . . . . . . . . . . . . . . .
136
A.3
Requirements
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
136
A.4
Installation from binary packages . . . . . . . . . . . . . . . . . . . .
137
A.5
Compilation and Installation from sources . . . . . . . . . . . . . . .
137
B
Frequently asked questions
138
4
Zgłoś jeśli naruszono regulamin