The LabPlot Handbook

Stefan Gerlach <gerlach@mbi-berlin.de>

Revision 1.5.1 (02/23/2006)

Copyright © 2006 Stefan Gerlach

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU
Free Documentation 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. A
copy of the license is included in the section entitled "GNU Free Documentation License".

LabPlot is a program for two- and three-dimensional function plotting and data analysis.

Table of Contents
1. Introduction
LabPlot Revision History
2. Features
3. Using LabPlot
Command Line Options
Specify a File
Other Command Line Options
The Spreadsheet
The Worksheet
Drag and Drop
Positioning with the Mouse
Status Bar
Side Tool Bar
4. Command Reference
The File Menu
The Edit Menu
The View Menu
The Spreadsheet Menu
The Analysis Menu
The Appearance Menu
The Drawing Menu
The Sheet List Menu
The Graph List Menu
The Scripting Menu
The Settings Menu
The Help Menu
Main Tool Bar
Side Tool Bar
5. The Dialogs
Function
Data
Plot List
Graph List
Add Graph
Import Dialog
Edit
Objects
File Info
Dump
Appearance
Plot Settings
Worksheet Settings
Axes
Title
Legend
Analysis
Arrange
Overlay
QSA Workbench
6. Advanced Topics
Topics
Errorbars
TeX label
Database import/export
multiple plots
using date and time formats
QWT 3D Plots
Importing Origin opj files
XML project format
7. Parser functions
standard function
GSL special function
GSL random number distributions
constants
GSL constants
8. Scripting
QSA
Using Scripts
Specials
9. Examples
10. Known Bugs
Known Bugs
11. Questions and Answers
12. License
A. Installation
How to Obtain LabPlot
Requirements
Compilation and Installation
List of Tables
5.1. Analysis functions of LabPlot
9.1. Example Projects for LabPlot

Chapter 1. Introduction

Table of Contents
LabPlot Revision History
[IMAGE]
LabPlot is a program for two- and three-dimensional graphical presentation of data sets and functions.
LabPlot allows you to work with multiple plots which each can have multiple graphs. The graphs can
be produced from data or from functions.
All settings of a complete set of plots can be saved in a project files. These project files may be opened
by command line parameters, using the File menu, or by drag and drop.
Every object (title, legend, axes, axes label) can be dragged with the mouse. A double click on an
object opens the corresponding dialog to change the options of the object.
The settings of a plot/graph may also be changed using the Appearance menu. With the Edit menu
additional data sets and functions (graphs) can be included which can be displayed in the same as well
as in different plot.
LabPlot Revision History
Version 1.5.1 (March 27, 2006)
new analysis functions : noise, signal filter, auto-/crosscorrelation and capability analysis
"add graph" dialog in graph dialog
improved set-value dialog in spreadsheet
support for panel plots and improved surface and pie plot
much improved explorer dialog with drag and drop
save and restore sheets position/size in project
statistics on columns/rows and fitting in spreadsheets
new axes tic style and fill between curves
support for richtext in legend
save settings and update open dialogs
optional xml project format (will be used later as standard format)
lot of bug fixes
Version 1.5.0 (August 15, 2005)
more weightings+residuals for regression/nonlinear fit
added wavelet and Hankel transform and improved analysis functions
improved surface and qwt 3d plot
improved behaviour with non-linear scales and LaTeX label support
import/export data from/to PostgreSQL, mySQL, etc. via KexiDB
import Origin opj projects (Origin worksheets only)
better scripting support
many bug fixes
Version 1.4.1 (March 28, 2005)
nonlinear fit any user-defined function with up to 9 parameter
configure default value for plot style and symbols
clone graphs and delete/clone plots
improved import/export settings with support for binary data
more analysis functions : compress, peak find, periodical, seasonal
regression/nonlinear fit of data with errorbars
speed mode for large data sets and data mode for inspecting data points
zoomin/zoomout, marker and improved axis grid
mask data points in spreadsheet and plot
Version 1.4.0 (December 15, 2004)
versatile spreadsheet with data import, editing, etc.
new 3d plot with rotation and colormaps (using qwtplot3d library)
double buffered plotting (no flicker)
data set operations
import/export of over 80 image formats (svg, fits,...) and better image handling
direct export to ps, eps, pdf via ghostscript
simple scripting using QSA
Version 1.3.1 (August 30, 2004)
native export to svg, eps and more graphic formats
support for ternary and polar plots
added (de)convolution and interpolation
better zooming, errorbar plotting and annotate values
more plot symbols and brush
reading and writing of netcdf, cdf and audio (wav,au,snd,aiff,...) files
improved graph list dialog
new file info dialog
Version 1.3.0 (June 14, 2004)
multiple plots per worksheet
handling of time and date format
improved axes settings
improved surface (density, contour) plots
improved nonlinear fit
support for pie plots
improved documentation
German handbook
Version 1.2.3 (February 16, 2004)
linear regression and nonlinear fit
improved fourier transform using gsl or fftw
integration, differences and histograms
creating, editing and moving drawing objects with mouse
reading/writing of compressed data (gzip,bzip2)
KDE KPart for LabPlot project files
more bugfixes and improved German translation
Version 1.2.2 (December 17, 2003)
logarithmic scales of axes
support of drawing objects
support for gsl special functions and distributions
fourier transform via gsl
export to pdf, fig, dxf, etc. via pstoedit
export to > 100 different image formats via ImageMagick
more bugfixes
Version 1.2.1 (October 26, 2003)
much improved GUI
better KDE integration
richtext title and axes label
improved 3d plotting
new analysis functions
better data reading
configure and save user settings
examples
Version 1.2.0 (September 08, 2003)
new improved internal plot structure
parser support for functions with more parameters
new surface plot with contour support and legend
support for JPEG2000 and tiff
user guide (this handbook)
more bugfixes
Version 1.1.1 (July 26, 2003)
matrix-data-reading
density plots from function and data
parser completely rewritten
colored and scaled printing
export plot as graphics
more flexible data reading
improved axis tics label (format and position)
more bugfixes
Version 1.1 (June 22, 2003)
more object attributes (title color, grid color, etc.)
support 2d errorbars
drag and drop of the title, the axes with correct rescaling
improved save and open of all plots in a project file
lots of bug fixes
Version 1.0.3 (May 11, 2003)
Plot list in menubar
improved workspace management
drag and drop of the legend
EditDialog for editing data
Version 1.0.2 (April 4, 2003)
shift plot with toolbuttons
scaling of plot with toolbuttons
opening Dialogs via mouse click
improved print preview
Version 1.0.1 (March 18, 2003)
Print Preview implemented
introduced graph label different from name
Version 1.0 (March 3, 2003; renamed to LabPlot)
support for KDE 3.0 and KDE 2.x
automake and autoconf scripts (./configure)
Version 0.9.x (February 26, 2003)
improved DataDialog
save and open of an Plot
started with i18n (de)
started with migration from Qt? to KDE
improved ListDialog
changing of data and function graphs in ListDialog
support for grid in 2d and 3d plots
Version 0.4.0 (October 7, 2002)
support for 3D Plots
using GraphList for storing all graph of a plot
better scaling of the whole plot
new class GraphM for matrix-data support
Version 0.2.1 (June 30, 2001)
Legend in Plot
ListDialog for all graphs in a Plot
Version 0.2 (June 16, 2001)
first PlotWidget with single graph
creating data via FunctionDialog
Version 0.1 (May 20, 2001; first release under the name QPlot)

Chapter 2. Features

This chapter tries to provide a complete list of the features of LabPlot.
2D and 3D data and function plotting
flexible data reading/writing in different formats (including cdf, netcdf, audio, binary, images,
databases)
reading and writing of images and compressed data
extensive parser for creating 2d, 3d functions
support for all GNU Scientific Library (GSL) functions and constants
creating surface, polar, ternary, and pie plots from function and data files
flexible 3d plot with rotation
multiple plots per worksheet
data set operations
speed mode for large data sets and data mode for inspecting data points
Easy editing of plots
clone graphs and delete/clone plots
versatile spreadsheet for data manipulation
double click to open detailed dialogs for all settings
every object can be dragged by mouse
online scaling and shifting of plots
LaTeX and richtext label support
evaluating expressions and direct editing of data
data statistics information
drawing objects editable with mouse
free or pan zooming, masking of data points and marker
"add graph" dialog in graph dialog
support for panel plots
Analysis of data and functions
average, smooth and prune data
compress, periodical and seasonal analysis
peak find
interpolation (splines, etc.)
differences
integration
histogram
regression (up to 10th order)
non-linear fit (also any user defined function with up to 9 parameter)
fourier, Hankel and wavelet transform
(de)convolution
image manipulation
noise, signal filter and auto-/crosscorrelation
capability analysis
LabPlot project files
support for different worksheets and spreadsheets using MDI
save and open all worksheets and spreadsheets in a project file (*.lpl)
editable project information
export worksheets as image, ps, eps, svg, pdf and many more formats (using pstoedit or
ImageMagick)
import/export data from/to PostgreSQL, mySQL, etc. via KexiDB
many example projects files
optional xml project format (will be used later as standard format)
import of Origin opj projects
KDE look and feel
configure default value for plot style and symbols
print and embedded print preview
drag and drop support
KPart for LabPlot projects
KDE handbook (English and German)
complete scriptable using Qt? Script for Applications (QSA)


Chapter 3. Using LabPlot

Table of Contents
Command Line Options
Specify a File
Other Command Line Options
The Spreadsheet
The Worksheet
Drag and Drop
Positioning with the Mouse
Status Bar
Side Tool Bar

Command Line Options

Specify a File
コマンド・プロンプトからLabPlotを始動するとき、あなたはプロジェクトファイルの名前を提供できます:

LabPlot [file.lpl...]

Other Command Line Options
以下のコマンドラインhelpオプションは利用可能です。

LabPlot --help
これはコマンドラインで利用可能な最も基本的なオプションを記載します。

LabPlot --help-qt
これはLabPlotがQtと対話する方法に変化するのに利用可能なオプションを記載します。

LabPlot --help-kde
これはLabPlotがKDEと対話する方法を変えるのに利用可能なオプションを記載します。

LabPlot --help-all
これはコマンドラインオプションのすべてを記載します。

LabPlot --no-splash
スプラッシュスクリーンを見せないでください。

LabPlot --author
端末の窓にLabPlotの作者を記載します。

LabPlot --version
リストのQt、KDE、およびLabPlotのためのバージョン情報。 LabPlot-vでも利用可能です。

.
The Spreadsheet


データを操作する場合、スプレッドシートはLabPlotの主要な部分です。 データを制御したり変換するために、スプレッドシートはカスタマイズ可能なテーブルを含んでいます。 テーブルに関するあらゆるコラムは、あるラベルを持って、形式を割り当てることができます(二重あるいはdatetime形式のように)。

あなたはimport dialogでimportできます。 コンテキストメニュー(右クリック)でどんなスプレッドシート機能も使うことができます。 スプレッドシート間でカット、コピーおよびペースト で、データの埋め込み、規格化、データ変換そして最終的にはデータのプロットが可能です。 また、もちろん、スプレッドシートのデータのexportもできます。

バージョン1.4.1以降、スプレッドシートのとあるデータポイントにマスクをかけ、プロットから除くことができます。 後でグラフリスト対話でデータポイントのマスキングに影響を及ぼすことができます。

The Worksheet



ワークシートはすべてのプロットと描画を含んでいます。 あなたはワークシートダイアログでワークシートをカスタム設計できます。
ワークシートは異なった特性にもった複数のプロットを含むことができます。手配してください。「アレンジ プロット」あるいは「オーバレイ プロット」メニュー項目を用いて、ワークシート内でプロットのアレンジやオーバーレイを行います。

ドラッグ・アンド・ドロップ
LabPlotはKDEとQtのドラッグ・アンド・ドロッププロトコルをサポートします。これはそれらのシンボルを LabPlotの窓にドラッグすることによってプロジェクトを開くことができることを意味します。 プロジェクトファイルは、拡張子.lplでなければなりません。

マウスによるポインティング
軸、タイトル、説明文、および軸のラベルをマウスでドラッギングすることをLabPlotはサポートしています。それ らを動かすためには、マウス左ボタンをクリックします。マウス左ボタンが押されている状態でマウスを動かすと、プロットは新しい位置を表示するために連続 アップデートされます。 マウスボタンを離せば、その位置に固定されます。

ステータスバー
プロットエリア内でのマウス・ポインタの水平および垂直な位置は、LabPlotのWindow下部のステータスバーの左側にデータユニットで表示されます。

サイドツールバー
サイドツールバーから、多くの機能がたやすく利用できます。ここでプロットのズーム、移動、またはスケーリングを選択できます。 また、ここでデータモード(単一のデータポイントを点検する)やデータポイントのマスキングのような高い機能も選択できます。 詳しい情報に関しては、ここを見てください。


Chapter 4. Command Reference

Table of Contents

ファイルメニュー
編集メニュー
表示メニュー
スプレッドシートメニュー
分析メニュー
外観メニュー
描画メニュー
シートリストメニュー
グラフリストメニュー
スクリプトメニュー
セッティングメニュー
ヘルプメニュー
メインツールバー
サイドツールバー

ファイルメニュー

File->New (Ctrl-n)
    新しいLabPlotプロジェクトファイルを作成します。
    プロジェクトファイルでは、すべての設定とすべてのプロットがASCII形式で格納されます。

File->Open (Ctrl-o)
    LabPlotプロジェクトファイルを開きます。

File->Open Recent
    最近のLabPlotプロジェクトファイルを開きます。
    最新の10個のプロジェクトファイルが記載されています。

File->Save (Ctrl-s)
    現在のプロジェクトを保存します。
    以前プロジェクトを保存したことがないなら、プロジェクトはテンポラルなプロジェクトファイル名で保存されます。

File->Save As (Ctrl-a)
    現在のプロジェクトを異なった名前で保存します。

File->OpenXML
    LabPlot XMLファイルからプロジェクトを開きます。

File->SaveXML
    LabPlot XMLファイルへ保存します。

File->Project Infos (Alt-v)
    このダイアログは、著者や作成データのようないくつかのプロジェクト関連オプションを見たり変更したりできます。
    この情報はプロジェクトファイルに保存されており、プロジェクトに関するいくつかの付加的情報を保存することができます。

File->Project Explorer (Ctrl->)
    このダイアログはプロジェクト構造の概観を与えます。
    将来のバージョンでは、グラフ、プロット、ワークシートなどを追加したり消去したりするような付加的機能が追加される予定です。

File->Import (Ctrl-Shift-l)
    アクティブなスプレッドシートにデータをインポートします。
    このアイテムはLabPlotにデータをインポートできます。
    ダイアログセクションでより詳しい情報を見てください。

File->Import OPJ project (Ctrl-Shift-j)
    OPJプロジェクトをインポートします。
    このアイテムは、Origin OPJプロジェクトをLabPlotにインポートします。

File->Export to Image (Ctrl-r)
    アクティブなプロットをグラフとして保存します。
    異なるイメージフォーマットでアクティブなプロットを保存可能です。
    現在、bmp, jpg, jpg2000, pbm, pgm, png, ppm, tiff, xbm xpm.をサポートしています。

File->Export to ... (Ctrl-o)
    アクティブなプロットを特定のフォーマットで保存します。
    現在、Postscript (PS), Encapsulated Postscript (EPS), Portable Document Format (PDF), Scalable Vector Graphics (SVG) および the native QPicture Format (PIC)をサポートしています。

File->Export via pstoedit (Alt-e)
    アクティブなプロットを異なるフォーマットでエクスポートします。
    異なった画像形式でアクティブなプロットをエクスポートできます。
    サポートされているのは、dxf, fig, eps, その他多数です。

File->Export via ImageMagick (Alt-i)
    アクティブなプロットを異なるフォーマットでエクスポートします。.
    異なった画像形式でアクティブなプロットをImageFormatsを経由してエクスポートできます。
    100種類以上のフォーマットがサポートされています。
    ImageMagick のドキュメントを参照してください。

File->Print (Ctrl-p)
    アクティブなプロットを印刷します。
    プリントダイアログを開き、プリンターや用紙サイズなどを選択してください。

File->Print Preview (Alt-p)
    印刷プレビューを開きます。
    このアイテムはアクティブプロットに埋め込まれた印刷プレビューをA5 landscapeで開きます。
    印刷プレビューがアクティブなら、このアイテムで閉じることができます。

File->Quit (Ctrl-q)
    LabPlot.を終了します。


編集メニュー

Edit->New 2D Plot (Ctrl-Shift-n)
    現在のワークシートに新しい空の2Dプロットを開きます。

Edit->New Surface Plot (Alt-z)
    アクティブなワークシートに新しい空のサーフェイスプロットを開きます。

Edit->New 3D Plot (Ctrl-m)
    アクティブなワークシートに新しい空の3Dプロットを開きます。

Edit->New QWT 3D Plot (Ctrl-Shift-q)
    アクティブなワークシートに新しい空のQWT3Dプロットを開きます。

Edit->New Pie Plot (Alt-.)
    アクティブなワークシートに新しい空のπプロットを開きます。

Edit->New Polar Plot (Ctrl-Shift-o)
    アクティブなワークシートに新しい空の極座標プロットを開きます。

Edit->New Ternary Plot (Ctrl-Shift-t)
    アクティブなワークシートに新しい空の三変数プロットを開きます。

Edit->Delete Active Plot (Alt-q)
    現在のワークシートのアクティブなプロットを削除します。

Edit->Clone Active Sheet (Alt->)
    アクティブなスプレッドシート、またはワークシートを複製します。

Edit->New Spreadsheet (Ctrl-Shift-S)
    新しいスプレッドシートを開きます。

Edit->New Worksheet (Alt-x)
    新しいワークシートを開きます。

Plot->Graph List (Ctrl-g)
    グラフリストダイアログを開きます。
    リストダイアログにおいてアクティブなプロットのグラフを操作できます。
    このダイアログはプロットをダブルクリックしても出現します。

Plot->Plot List (Ctrl-Shift-.)
    プロットリストダイアログを開きます。
    このプロットリストダイアログにおいてアクティブなワークシートのプロットを操作できます。

Plot->New Plot from Function
    関数ダイアログを開きます。
    このアイテムはユーザー定義の関数からプロットを作成するために関数ダイアログを開きます。

Plot->New Plot from Function->2DFunction (Ctrl-e)
    二次元の関数ダイアログを開きます。
    このアイテムはユーザー定義の関数から二次元のグラフを作成するために関数ダイアログを開きます。

Plot->New Plot from Function->2D Surface Function (Ctrl-u)
    二次元のサーフェイス関数ダイアログを開きます。
    このアイテムはユーザー定義の関数から二次元のサーフェイスグラフを作成するために関数ダイアログを開きます。

Plot->New Plot from Function->Polar Function (Alt-<)
    極座標関数ダイアログを開きます。
    このアイテムは関数から二次元の極座標グラフを作成するために関数ダイアログを開きます。

Plot->New Plot from Function->3D Function (Ctrl-f)
    三次元の関数ダイアログを開きます。
    このアイテムはユーザー定義の関数から三次元グラフを作成するために関数ダイアログを開きます。

Plot->New Plot from Data
    データダイアログを開きます。
    このアイテムはデータからプロットを作成するためにデータダイアログを開きます。

Plot->New Plot from Data->2D Data (Ctrl-d)
    二次元のデータダイアログを開きます。
    このアイテムはデータファイルから二次元のグラフを作成するためにデータダイアログを開きます。
    データ読み込みの際に様々なオプションを指定できるので、
    ここではどのようなASCIIデータでも読み込むことができます。

Plot->New Plot from Data->2D Surface Data (Alt--)
   二次元のサーフェイスデータダイアログを開きます。
   このアイテムはデータファイルから二次元のサーフェイスグラフを作成するためにデータダイアログを開きます。

Plot->New Plot from Data->Pie Data (Alt-,)
   πデータダイアログを開きます。
    このアイテムはデータファイルから二次元のπグラフを作成するためにデータダイアログを開きます。

Plot->New Plot from Data->Polar Data (Ctrl-,)
    極座標データダイアログを開きます。
    このアイテムはデータファイルから二次元の極座標グラフを作成するためにデータダイアログを開きます。

Plot->New Plot from Data->Ternary Data (Ctrl-Shift-Y)
    三変数データダイアログを開きます。
    このアイテムはデータファイルから二次元の三変数グラフを作成するためにデータダイアログを開きます。

Edit->New Plot from Data->3D Data (Ctrl-i)
    三次元のデータダイアログを開きます。
    このアイテムはデータファイルから三次元グラフを作成するためにデータダイアログを開きます。
    データ読み込みの際に様々なオプションを指定できるので、
    ここではどのようなASCIIデータでも読み込むことができます。

Plot->New Plot from Data->QWT 3D Data (Ctrl-Shift-B)
    QWT三次元データダイアログを開きます。
    このアイテムはデータファイルから三次元QWTプロットを作成するためにデータダイアログを開きます。

Plot->Speed Mode
    スピードモードのセッティングを切り替えます。
    このアイテムはスピードモードをオン/オフに切り替えるために使われます。
    スピードモードは限られた数のデータポイントのみを描画することで大きなデータセットでの描画を速くします。
    データポイントの数はセッティングダイアログで選択できます。


Edit->Clear (Ctrl-c)
     アクティブなプロットを削除します。
     このアイテムを用いてアクティブなプロットの全てのグラフは消去され、
     そして新しい2D/3D/サーフェイス/πプロットから空のプロットを開きます。
     もし、アクティブなシートがスプレッドシートでも同様に消去できます。

Edit->Close (Ctrl-w)
     アクティブなシートを閉じます。このアイテムを用いてプリントプレビューも閉じることができます。

The View Menu
     このメニューはサイドツールバーで見られる全てのアイテムを含んでいます。

The Spreadsheet Menu
     このメニューはスプレッドシートでマウスを右クリックした際に出てくるメニューで見られる全てのアイテムを含んでいます。

The Analysis Menu
      解析関数についての詳細な情報をチェックしてください。

Analysis->Evaluate Equation (Ctrl-#)
      全ての関数の値を求めます。

Analysis->Data set operations (Ctrl-Shift-d)
      オペレーションダイアログを開きます。
      ここではデータ上で異なるグラフの値を足したり掛けたりを操作できます。

Analysis->Periodic->Periodic Function (Ctrl-Shift-k)
      周期ダイアログを開きます。
      周期データの詳細を調べます。


Analysis->Periodic->Seasonal (Ctrl-Shift-u)
      シーズンダイアログを開きます。
      周期データを圧縮します。


Analysis->Peak find (Ctrl-Shift-x)
     ピーク発見ダイアログを開きます。
     ここではデータセットのピークを発見できます。

Analysis->Histogram (Alt-h)
     ヒストグラムダイアログを開きます。
     ここではどのグラフのヒストグラムでも作成することができます。
     このダイアログにおいてヒストグラムのために幅と倍率を選択します。
     これを使用するためにはgslがインストールされている必要があります。


Analysis->Interpolation (Alt-i)
     補間ダイアログを開きます。
      ここではどのグラフでも補間することができます。ダイアログにおいて幅と結果の関数の点の数を選べます。
      これを使うためにはgslがインストールされている必要があります。

Analysis->Differences (Alt-d)
     微分ダイアログを開きます。
     ここでは選ばれたデータにおいて数値の差分のグラフを作成することができます。(関数の微分)

Analysis->Integration (Alt-n)
     積分ダイアログを開きます。
     ここでは選ばれたデータの数値を積分することができます。必要な領域を決定するかアクティブな領域(現在のメニュー下で決定されたもの)        を使用します。
     これを使うためにはgslがインストールされている必要があります。

Analysis->Filter->Average (Alt-a)
     平均ダイアログを開きます。
     ここでは全てのグラフの平均されたデータから新しいグラフを作ることができます。

Analysis->Filter->Smooth (Alt-s)
     スムースダイアログを開きます。
     ここでは全てのグラフのスムージングされたデータから新しいグラフを作ることができます。

Analysis->Filter->Compress (Ctrl-Shift-h)
     圧縮ダイアログを開きます。
     データセットを圧縮します。

Analysis->Filter->Prune (Alt-r)
     プルーンダイアログを開きます。
     ここでは全てのグラフの取り除かれたデータから新しいグラフを作ることができます。


Analysis->Filter->Noise (Alt-r)
     ノイズダイアログを開きます。
     データに特定のノイズを足します。

Analysis->Filter->Signal Filter (Alt-r)
      信号フィルターダイアログを開きます。
      データにフィルターを適用します。

Analysis->Transform->FFT (Alt-f)
     ここでは選択されたグラフの高速フーリエ変換を行うことができます。もしプラットホーム上でサポートされているなら
     フーリエ変換のために使うものを選ぶことができます。 (GNU scientific library
     (gsl) or the Fastest Fourier Transform in the West (fftw))
     フーリエ変換の前後で、X軸インデックス(振動数や領域)、Y軸(強度、実数、虚数、位相)を作成できます。


Analysis->Transform->Convolution/Deconvolution (Alt-C)
    畳み込みダイアログを開きます。
    このダイアログではあなたは一つのグラフとほかのもう一つのグラフの畳み込み、非畳み込みを作成することができます。
    使用されるXの値は選択できます。


Analysis->Transform->Auto-/Crosscorrelation (Ctrl-+)
     相関ダイアログを開きます。
     このダイアログでは一つ、もしくは二つのグラフの自己相関、もしくは相互相関を作成することができます。
     これを使用するためにはgslがインストールされている必要があります。

Analysis->Transform->Wavelet Transform (Ctrl-Shift-<)
     ウェーブレットダイアログを開きます。
     これを使用するためにはgslがインストールされている必要があります。

Analysis->Transform->Hankel Transform (Ctrl-Shift->)
     ハンケルダイアログを開きます。
     これを使用するためにはgsl1.6以上がインストールされている必要があります。

Analysis->Statistics->Capability Analyis (Alt-;)
     機能ダイアログを開きます。
     これを使用するためにはgslがインストールされている必要があります。

Analysis->Regression (Alt-l)
     回帰ダイアログを開きます。
     このダイアログでは異なるモデルとウェイトを用いてデータの回帰を作成することができます。
     領域はここで決定されたものです。
     これを使用するためにはgslがインストールされている必要があります。

Analysis->Nonlinear Fit (Alt-t)
     非線形フィッティングダイアログを開きます。
     このダイアログを用いてデータの非線形フィッティングダイアログを作成することができます。
     現在12個の異なるモデルとユーザーが定義した9個のパラメーターが選択可能です。
     gslを使用した非線形、最小二乗フィッティングのために、初期値、方法、許容誤差をセットします。
     これを使用するためにはgslがインストールされている必要があります。

Analysis->Image Manipulation (Ctrl-Shift-g)
      映像操作ダイアログを開きます。
      このダイアログを用いて、行列データや映像データをイメージとして操作できます。
      ここでは回転、縮尺、映像をシャープにする、もしくは明るくするといった操作を行うことができます。
      解析関数の概説参照。


外観メニュー

Appearance->Arrange Plots (Alt-y)
     アレンジダイアログを開きます。
     ここではワークシート上のプロットのアレンジの仕方を指定できます。

Appearance->Overlay Plots (Ctrl--)
     オーバーレイダイアログを開きます。
     ここではプロットを他のもう一つへと正確に重ねます。

Appearance->Plot Settings (Ctrl-j)
     プロットダイアログを開きます。
     ここではアクティブなプロットのセッティングを変更できます。

Appearance->Worksheet Settings (Alt-w)
     ワークシートダイアログを開きます。
     ここではアクティブなワークシートのセッティングができます。

Appearance->Axes Settings (Ctrl-b)
     軸ダイアログを開きます。
     ここではプロットの軸のセッティングを変更できます。

Appearance->Title Dialog (Ctrl-t)
     タイトルダイアログを開きます。
     ここではプロットのタイトルのセッティングを変更できます。

Appearance->Legend Dialog (Ctrl-l)
     凡例ダイアログを開きます。
     ここではプロットの凡例のセッティングを変更できます。

Appearance->Drawing objects (Alt-o)
     オブジェクトダイアログを開きます。
     ここでは新しい描画オブジェクトを追加し、そしてそれらのセッティングを変更することができます。

描画メニュー
このメニューではプロットのベースラインと領域を指定できます。ここでは5つの異なるタイプの描画オブジェクトを簡単に作成することができます。
"Create Baseline"を用いて、グラフの補充、積分のためにベースラインを作成することができます。
"Create Region"を用いて領域を指定できます。領域は非線形フィッティング、積分などに使われます。
5つの異なるアイテムを用いて異なる描画オブジェクトをマウスで簡単に作成できます。
ステータスバーにヒントに従ってみてください。

シートリストメニュー
このメニューはプロジェクトに全てのワークシートとスプレッドシートのリストを作成します。
ここではアクティブ(そして表示された)シートを選択できます。

グラフリストメニュー
このメニューではワークシートの全てのグラフのリストを作成します。
ここでは対応するアイテムを選択することでグラフのセッティングを直接変更することができます。


スクリプトメニュー
このメニューではLabPlotの関数を自動操作するためにスクリプトを操作するのに使用できるアイテムを収集します。
LabPlotのスクリプティングインターフェイスを使用するためにはスクリプトチャプターを調べてください。

Script->Load Script (Ctrl-Shift-c)
      アプリケーション (QSA) スクリプト(*.qs)のためのQt?スクリプトを読み込んで実行します。

Script->Open QSA Workbench (Ctrl-Shift-w)
      QSAスクリプト(*.qs)を作成するためにQSAワークベンチを開きます。


セッティングメニュー
このメニューはユーザーセッティングを変更することを可能にします。

Settings->Fullscreen (Ctrl-Shift-f)
      フルスクリーンモードでワークベンチを表示します。

Settings->Show Menubar (Ctrl-m)
      メニューバーを切り替えます。


Settings->Configure LabPlot
     LabPlotのユーザーセッティングを作成します。
     2Dもしくはサーフェイスプロットのためのデフォルトスタイルとシンボルもここでセットできます。


Settings->Save settings
     LabPlotの全てのユーザーセッティングを保存します。

ヘルプメニュー

Help->Contents (F1)
      ここではLabPlot.のヘルプの内容のページが利用できます。

Help->Examples
      ここでは多数のLabPlotのプロジェクトの例を見つけることができます。

Help->About LabPlot
LabPlotの基本情報を表示します。

メインツールバー
メインツールバーは異なるメニューで見つけることができる主なアイテムを含んでいます。
Settings->Configure Toolbars ... ダイアログで表示されたアイテムを追加できます。

サイドツールバー
LabPlotのサイドツールバーは以下のボタンを含んでいます。

Button   Action
Lens magnify lens
Hand pan zoom
data mode inspect single data points
mask data select data points to mask
Autoscale X
Y Autoscale Y
Z Autoscale Z
+ zoom in
- zoom out
Left Shift all graphs to the left
Right Shift all graphs to the right
Up Shift all graphs up
Down Shift all graphs to the down
X+ Increases magnification in X
X- Decreases magnification in X
Y+ Increases magnification in Y
Y- Decreases magnification in Y
Z+ Increases magnification in Z
Z- Decreases magnification in Z




Chapter 5. The Dialogs

Table of Contents
Function
Data
Plot List
Graph List
Add Graph
Import Dialog
Edit
Objects
File Info
Dump
Appearance
Plot Settings
Worksheet Settings
Axes
Title
Legend
Analysis
Arrange
Overlay
QSA Workbench

Function
ダイアログファンクションは、ファンクションプロットのための設定を作成し、実行するの に使用されます。 それは2D、Surface、パイ、および3Dプロットに対し同様です。ほんのいくつかの特定のものだけが異なります。 特にSurfaceプロットにおいて、特にスタイルが異なっています。

最初のラインエディットはプロット機能のための表現を含んでいます。 入力された表現は強力なパーサを通し
て評価されます。 支持された機能の全リストに関しては、パーサ部を見てください。

2番目のラインエディットは、作成されたグラフのラベルを設定するものです。 これはあなたが legendで見るラベ
ルです。

"範囲"と"ポイントの数"セクションでは、あなたは作成された機能のために範囲とポイント                                                              
の数を選択できます。

残っているスタイル項目で、機能の外観に影響を及ぼすことができます。 新たな機能を作成する場合、最初にラインスタイル(Lines, NoCurve, Steps, Boxes, Impulses, YBoxes)を選択します、そして色を選択します、さらに異なる色で埋めることも可能です。さらに、プロットポイントのシンボル色・サイズとともに選択 します、またその色で埋めることもできます。Surfaceプロットを作成する場合、密度あるいは輪郭ぷとっろのいずれか、または両方を示すかどうかを選 択できます。そして、輪郭プロットのためのレベルの数と密度プロットのためのcolorscaleを選択できます。

機能の設定を変えるためには、リストダイアログでchangeボタンを選択しなければなりません。 ま
た、Surfaceプロットのスタイルを変えるために、"Plot Settings"ダイアログを使用できます。

Since version 1.4.0 LabPlot uses the new QWT 3D Plot which should be preferred to the simple 3d
plot.
バージョン1.4.0以降、LabPlotは簡単な3Dプロットより好ましい新しいQWT 3D Plotを使用します。

Data
データダイアログは、データファイルからグラフを作成するために使われます。

この対話は機能ダイアログとよく似ています。 しかし、いくつかの違いがあります。 最初のlineeditでファイルを開くためにデータファイルを選択しなければなりません。  このために"New"ボタンを使用できます。"Read from column"セクションで、読み込むコラムを選択することができます。 不確かであるならチェックボタンを使用して、データファイルを見てください。 ここで、データを読むどの列とどんな区切り文字が使用されるかから選択できます。"auto"背ぱレーションはすべての数と組み合わせた空白を検出しま す。
"read as"セレクションで "y1 | y2 | y3 | ..."が使われるとき、y-values はデータファイルの一行から読み込まれます。

LabPlotはイメージ(Qtがサポートする形式の全て)と圧縮されたデータ(gzip、bzip2)の読み込みをサポートします。イメージに関して、イメージのデータを読みこむために"matrix"を選択するべきです。

バー ジョン1.3.1以降、LabPlotはnetcdf、cdf、およびオーディオデータ(*.wav、*.au、*.aiff、*.snd)を読むことが できます。 netcdfとcdfデータに関して、x、yなどのラインエディットにおける変数のみが選択され、"check data"ダイアログをチェックされます。 正しい変数を見つけるために、あなたはnetcdf/cdfファイルの中身をチェックするファイルインフォメーション対話を使用できます。  オーディオデータを読み込むとき、1行目は時間、2行目は第1代チャンネル、3行目は第2チャンネルです。 0は もちろん、他のデータファイルと同様インデックスです。。

"Read As"セクションはデータファイルにおけるデータの種類を選択します。 "Graph Type"は作成するグラフのタイプを選びます。 x-yデータから、2次元プロットしか作ることができません。 x-y-zデータから、エラーバーとSurfaceプロット(2Dデータダイアログ)か、密度、輪郭あるいは3Dプロット(3Dデータダイアログ)を作成 できます。 マトリクスデータから、あなたは密度、輪郭プロット(2Dデータダイアログ)または3Dプロット(3Dデータダイアログ)を作成できます。

バージョン1.4.0以降、LabPlotは簡単な3Dプロットより好ましい新しいQWT 3D Plotを使用します。

Plot List

プロットダイアログでは、ワークシートにおけるプロットを操作することができます。 ここでプロットの複製を作るか、またはプロットの削除ができます。

Graph List

リ ストダイアログはプロットの異なるグラフに対応する主要なものです。ここで、すべてのグラフの概観を得、そして、それらを操ることができます。Plot- >GraphListメニューまたはプロット内をダブルクリックすることにより、リストダイアログを表示できます。マウスの右クリックによるリスト ダイアログで、機能を使えます。

"Show/Hide"により、全ての選択されたグラフの状態を切り替えることができます。"Shown"によってのみ、グラフは可視化可能です。オートスケーリングは可視化されたグラフに対してのみ、利用可能です。

"Add Datafile" と "Add Function" ボタンで、データあるいは関数からプロットへグラフを追加できます。 (機能ダイアログやデータダイアログを参照)  "Delete" により、選択されたグラフを削除可能です。 "Change" により、選択されたグラフのセッティングを変更できます。 グラフのコピーを行うのは、 "clone graph" によりできます。

"Export" ボタンはグラフをファイルにエクスポートするためのダンプダイアログを開き、 "Edit" ボタンはエディットダイアログを開きます。

 "Toggle Masking" と "Unmask All" で、データポイントのマスキングを変更できます。

 "Statistics" ボタンは、選択されたグラフのいくつかの統計情報を表示します。

全ての操作は、マウスの右クリックにより可能です。また、複数選択が可能です。

Add Graph
別のワークシートを含むあらゆるスプレッドシートからグラフを加えることができます。

Import Dialog
インポートダイアログで、データをLabPlotにインポートできます。

ラ インエディットでは、複数のデータファイルを指定できます。  "File Info" ボタンは、選択されたファイルのいくつかの情報をあなたに示します。 区切り文字(例えば",")、そして注釈行キャラクタを指定できます。 また、ここで読み始めと読み終わりの列をカスタマイズできます。

バージョン1.4のLabPlot以降、すべての必要な設定を選択する異なった標準データ形式のために事前に定義
されたフィルタを選択できます。 また、バイナリデータインポートのサポートはこのリリースで加えられました。


Edit
編集ダイアログで、容易にグラフに関するデータを編集できます。 リストダイアログでこのダイアログに達することができます。

Top サイドの表はすべてのデータを示しています。 ここで、どの列と行を編集したいかを選択できます。表のボタンにより、選択された列を削除あるいは降順/昇順でソートできます。また、選択された列と行の 表現を評価できます。 ここで、機能ダイアログなどのような同じ強力なパーサを使用できます。 利用可能な機能のリストに関しては、パーサセクションを見てください。

Objects
オブジェクトダイアログで、すべての描画オブジェクトの設定を変えることができます。 外観メニューにオブジェクトダイアログがあります。

オ ブジェクトダイアログの各タイプあたりLine, Label, Rect, Ellipse and Imageの5つのタブがあります。すべてのオブジェクト・タイプで、最大10個の異なったオブジェクトを定義できます。 このダイアログですべての設定を変えることができます。 オブジェクトを削除したいなら、オブジェクトのリストでオブジェクトを選択してください、そして、 "delete object" というボタンを押してください。

オブジェクトを作成したいなら、描画メニューの項目を使用できます。 そして、オブジェクトをマウスで動かすことができます。 オブジェクトをダブルクリックすると、オブジェクトダイアログの対応するタブを開けます。

File Info
ファ イルインフォメーションダイアログにデータダイアログから達することができます。 ここで、データファイルの多くの情報を見つけることができます。 特にnetcdf、cdf、およびオーディオファイルに関しては、あなたはデータファイルの内部の構造を見ることができます。

Dump
ダンプダイアログにグラフリストダイアログから達することができます。 ここで、あなたはASCII、netcdf、cdf、オーディオ、バイナリーまたはイメージ・ファイルにグラフをエクスポートできます。 すべてのファイル形式には、特別なオプションがあります。 また、エクスポートするためにデータの範囲を指定できます。
ASCIIデータに関しては、.gzか.bz2をファイル名に追加するとき、ファイルは自動的に圧縮されます。

Appearance
4つのアピアランスダイアログで、アクティブなプロットの設定に影響を及ぼすことができます。  "Appearance" メニューあるいはプロットのオブジェクト上でダブルクリックすることによって、このダイアログに達することができます。

Plot Settings
グ ラフダイアログで、背景色、グラフ背景色(プロット内)、および異なった軸の範囲を選択できます。 また、ここでマーカーか基線設定を変えることができます。 また、オートレンジ機能にサイドツールバーから達することができます。 また、Surfaceプロットがあったら、ここでスタイル設定を変えることができます。

アクティブプロットがQWT 3Dプロットであるなら、ここでいくつかの特別な設定を選択できます。 プロットスタイルは3dメ
ッ シュのSurfaceを変えます。 軸のスタイルは座標軸を変えます。 Floorスタイルは、ユーザが指定した等高線の数で輪郭か密度プロットを可能にします。 最終的に特別なカラーマップを選択できます(LabPlotによって、139の異なったカラーマップが1デフォルトあたりの提供されます)。

Worksheet Settings
ワークシートダイアログで、ワークシートとタイムスタンプのタイトルを変えることができます。 タイトルとタイムスタンプを可能あるいは不可能にすることができます。

Axes
軸ダイアログで、異なった軸のための設定を変えることができます。 軸の1つをクリックすると開きます。

上部にすべての軸のリストがあります。 ここで、軸を変更できます。 軸を可能にするか、または不可能にするには、ダイアログのトップでチェックボタンを使用してください。 軸リストの下に、多くの軸の設定(色、チック、格子など)を変える異なるタブがあります。

Title
タイトルダイアログでは、タイトル(ラベル、サイズ、およびフォント)のパラメタを変えることができます。 タイトルをダブルクリックするとダイアログが開きます。

Legend
レジェンドダイアログでは、レジェンドのパラメタを変えることができる、(箱、サイズとフォント) レジェンド上をダブ
ルクリックするとダイアログが開きます。

Analysis
分析ダイアログで、異なった方法でグラフを分析できます。 方法を適用することによって、アクティブなプロットに挿入される新しいグラフを作成します。

すべての分析機能で、結果として起こるデータのために目的を選択できます。 全ての既存のワークシート/スプレッドシート、または、新しいワークシート/スプレッドシートに結果を追加できます。

また、分析機能の大部分をスプレッドシートに適用できます。 スプレッドシートの選択された列から、結果として起こる値に従った新しい列が作成されます。


Table 5.1. Analysis functions of LabPlot

Name Description Parameter Applies to
Data set operations アクティブロットに少なくとも二つのグラフr場合、ダイアログでこのデータセットを操作できます。データセットの加算、減算、掛け算、割り算ができます。 二つのデータセット
Average この関数を用いて、グラフ中のn点の平均がとれます。ポイントの数は1/nに減ります。 平均するポイント数 everything
Compress この関数は、大きなデータセットを少ないポイント数に圧縮できます。合計か平均かにかかわらず、ある数のポイントに関して選択できます。 合計、あるいは平均するポイント数 everything
Smooth この関数は平均に似ていますが、全てのデータポイントに対して機能します。つまり、元のデータの数と同じデータ数をもつ滑らかなグラフが得られます。 ポイント数 SPREADSHEET, X-Y, X-Y-DY, X-Y-DX-DY, X-Y-DY-DY, X-Y-Z
Prune この機能はn番目のポイントを使用することで、ポイントデータ数を減少させます。 結果として起こる数は1/nに減少させられます。 連続したポイントの数 SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Periodical Functions この関数は、関数の一つの区間でデータセットを減少させます。合計か平均にかかわらず選択できます。 合計/平均; 区間内のポイント数 SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Seasonal この関数は、ある区間と次の区間の差(あるいは合計)を計算します。区間は、その中のポイント数で指定されます。 合計/差; 区間内のポイント数 SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Peak find この関数は、データセット内のピーク(負のピークも含む)を検出します。 閾値と精度のパラメーターでピーク検出感度を決定できます。 正/負のピーク ; 閾値
(Y-Range); 精度 (X-range)
X-Y, X-Y-DY,
X-Y-DX-DY, X-Y-DY-DY
Histogram この関数で、グラフのヒストグラムを作れます。これは、y-軸の範囲をn個に分け、全てのデータポイントをそれらのいずれかに割り当てることを意味します。 使われるY-range; binsの数 SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY, MATRIX
Interpolation 補間法は与えられたセットのデータポイントを通して滑らかなカーブを見つけようとします。
それをするのに異なったタイプの補間法を使用できます: linear, polynomial, cspline, akima。 すべてのアクティブ領域内のデータポイントが補間に使用されます。
補間のtype; 補間関数の範囲/ポイントの数 SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Differences このダイアログはグラフの一次導関数の近似を作成します。 None SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Integration "Show Info" チェックボックスで、積分グラフを加えるかどうか選択できます。この関数は、グラフの数値積分に使われます。 "Add Graph"チェックボックスが選択されていると、、累積合計が別窓に表示されます。
ベースライン/積分範囲; 合計あるいは面積 (absolute values)
SPREADSHEET, X-Y,
X-Y-DY, X-Y-DX-DY,
X-Y-DY-DY
Regression 回帰関数は10次までの多項式でグラフのフィットが行えます。 重み/モデル; ポイントの数/回帰関数の範囲 X-Y,X-Y-DY,X-Y-DX-DY
Fourier Tansform この関数で、グラフの
フーリエ変換が計算できます。LabPlotはfftwかgslライブラリを使用できます。 前方変換か後方変換を選択できます。
X-values:index/frequency/period; Y-values:magnitude/phase/real part/imaginary part X-Y, X-Y-DY,
X-Y-DX-DY, X-Y-DY-DY

Convolution/Deconvolution
この関数で、一つのグラフの他のグラフへのコンボリューションを計算できます。 LabPlot はgslの FFTを使用します。また、セットのデコンボリューションも可能です。 X-values:index/same as signal X-Y, X-Y-DY,
X-Y-DY-DY + X-Y,
X-Y-DY, X-Y-DY-DY
Nonlinear Fit この関数でグラフを非線形フィットできます。12の異なったモデル、あるいは最大9パラメータのユーザー定義関数が選択できます。指数関数モデルは特に初期値に敏感であることに注意してください。フィットの結果のパラ
メータはボトムフィールドに示され、さらなるフィットのため初期
値と自動的に取り替
えられます。 結果はラベルとしてプロットに追加されます。
fit function;initial values;baseline/region for fitting; range/number of points for fit function X-Y, X-Y-DY,
X-Y-DX-DY, X-Y-DY-DY
Image Manipulation この関数で、行列やアクティブプロットのイメージデータ(例えばSurfaceプロット)を操作できます。LabPlotは、およそ50の異なった方法でイメージを変換するためにImageMagickのAPIを使用します。 size (height/width) of resulting image MATRIX,IMAGE



Arrange
アレンジダイアログでワークシート上のプロットを配置する方法を指定できます。 2×2で、プロットはそ
れらのギャップの距離とワークシートの境界で2×2格子に配置されます。

Overlay
オーバレイダイアログでは、単純にとあるプロットを他のものに重ねるできます。もちろん、これを使用するためにワー
クシートにおける少なくとも2つのプロットを必要とします。

QSA Workbench
LabPlot はQtの拡張であるQt Script for Applications(QSA)をスクリプティングために使用します。スクリプトを作成して編集するために、QSAはLabPlotでも使用できる QSAワークベンチを含んでいます。 LabPlotが、pixmapsを見つけることができないとエラーをだしたら、環境変数QSA_IMAGE_PATHに必要なpixmapsへの経路を 設定できます。 例えば、"export QSA_IMAGE_PATH=/sw/qsa-x11-free-1.1.2/src/ide/images/"を使用します。

さらなる情報はScripting Chapterを見てください。


Chapter 6. Advanced Topics

Table of Contents
Topics
Errorbars
TeX label
Database import/export
multiple plots
using date and time formats
QWT 3D Plots
Importing Origin opj files
XML project format

Here you will find some explanations of advanced topics.
I hope this will help to understand how to use some more advanced things in LabPlot.

Topics

Errorbars
エラーバーをプロットに含めたい場合、エラーバーデータをスプレッドシートにインポー トダイアログでインポートしてください。X列,Y列とエラーバーに使用したいDX列,DY列を選択してください。 対応するプロットを選択しなければなりません。(Y エラーバーのためのXYDY、XとYエラーバーのためのXYDXDY、2Y エ ラーバーのためのXYDYDY(up and down))。

データダイアログを用いて、プロットセクションへの直接データをインポートするなら、 "read as" ラインエディットにおいて正しいタイプ(x|y, x|y|dy, x|y|dx|dy or x|y|dy1|dy2)を選んで下さい。

TeX label
バージョン1.5.0のLabPlotは、texvcを使用することでTexラベルの表現をサポートします。

LabPlotを自身でコンパイルするなら、ocamlコンパイラを必要とするだけです。 LabPlotのバイナリーバージョンを使用するとき、$PATHで見つけられる texvcが自動的に使用されます。

TeX ラベルを使用するためには、ラベルダイアログ中の "TeX label" チェックボックスをアクティベートするだけです。 それによって、テキストボックスに入れるあらゆるテキストが、texvcによって表されて、それに従ってプロットされます。この変換にある程度時間がかる ので、プロットを描き直すとき遅れます。

どのように見えるかという手がかりを得るための"texlabel"の例を調べてください。

Database import/export
LabPlot は、KexiDBライブラリを使用することでデータベースからのデータを読み書きするのをサポートします。KexiDBで、LabPlotは PostgreSQL、mySQL、SQListe2+3からのデータを読み書きできます。データをインポートするには、インポートダイアログにおける  "PostgreSQL, mySQL, etc." を選択してください、そしてデータベース構造(テーブルとフィールド)をブラウズしてください。 データをエクスポートするには、エクスポートダイアログおける "DATABASE" を選択してください、そして、必要なパラメタを選択してください。

multiple plots
バー ジョン1.3.0以降、LabPlotはワークシート上での複数のプロットをサポートします。 "New 2D Plot", "New 3D Plot"などを選ぶことによって、容易に新しいプロットをワークシートに加えることができます。 異なったタイプのプロットのために関数かデータダイアログを開くとき、新しいプロットは自動的に開かれます。 アクティブな2dプロットがある 状態で "New 3D Function" が選択されるとき、新たな3Dプロットが自動的に加えられます。

Appearance Menu 中の "Arrange Plots" という項目がで、ワークシート上のプロットを容易にアレンジできます。 数字(2×2のような)でプロッ トをアレンジするためのグリッドを選択できます、そして、ギャップによってプロット間とワークシート境界を設定できます。

また、ワークシートに手動でプロットを配置できます。 プロットの境界をドラッグし、必要に応じてプロットスケーリングできます。 マウスをプロットの境界上に動かすとき、対応する矢が現れるでしょう。

プロットの中心をクリックすることにより、ドラッグアンドドロップでプロット全体を動かすことができます。プロットのセンターに達するとき、交差している矢が現れます。

using date and time formats
データダイアログにおいてデータを読み込む際に、列を読むためのフォーマットを二倍(デフォルト)だけでなく日付と時間に対しても指定できます。
LabPlotは列を有効な日付や時間にコンバートするQt?’s fromString() functionを使っています。
なので、それは確かに日付と時間のフォーマットが有効な関数に依存します。
"date"を選択するとき、列はYYYY-MM-DD.となっている必要があるようです。

軸ダイアログにおいてチックラベルに3つの異なるフォーマットを選択することができます。date、time そしてdatetimeフォーマットです。
"date"が選択されると値は1970年1月1日からの日付として判断されます。
"time"が選択されると値は秒として判断されます。
最後に"datetime"では値は1970の1月1日からの秒として判断されます。
format line editにおいてある文字列を指定することでチックラベルの示されたフォーマットを指定できます。

バージョン1.4.0からLabPlotではdatetimeフォーマットにおいてもデータをインポートできます。
二つの異なるフォーマットを選択できます。
テキストフォーマットは"date"のようなアウトプットです。(現場固有の変化は問題ありません)
そしてISOフォーマットでは"YYYY-MM-DDTHH:MM:SS".のようなフォーマットになります。

QWT 3D Plots
バージョン1.4.0からLabPlotではより洗練された三次元プロットを実現するためのよいqwtplot3dライブラリーを使います。
互換性の問題のため、シンプル3Dプロットはまだ存在しており、そしてQWTの3Dプロットより優れた利点がある。
しかし、可能な限りQWT3Dプロットを使うことをお勧めします。

QWT3Dプロットはを使っているので、マウスで簡単にプロットを回転、縮小拡大、移動を行うことができます。
プロットセッティングダイアログ(外観メニュー)ではこの三次元プロットの更なるセッティングを決定することができます。

Importing Origin opj files
多くの人々がよく知られているOriginLab Originプログラムを使用しているので、LabPlotはバージョン4.0から7.5のOrigin opjプロジェクトをインポートする機能を持っています。

opj ファイルフォーマットが独占ファイル形式であるので、インポートフィルタはリバースエンジニアリングテクニックを使用することによって開発されなければな りませんでした。 これはOriginプロジェクトを理解して、変換するのに多くの仕事を要する理由です。 LabPlot1.5.0は現在、Originワークシートをサポートするのみです。

だれかが、何らかのフィードバック、そして/または、助けを与えても構わないと思っているなら、私は、このインポートフィルタの特徴を拡張し続けるつもりです。

XML project format
LabPlot1.5.1ではXMLに基づいた新しいプロジェクトフォーマットが導入されました。
いくつかの追加要素とともにOASIS規格に後々従うべきです。

新しいXMLフォーマットは前後の互換性をサポートしており、そして古いLPLフォーマットよりもさらにきれいです。
LabPlotが制限なしに全ての古いフォーマットを読み込むことができても、
このフォーマットは将来リリースにおいてデフォルトのプロジェクトフォーマットとして使われ、古いLPLフォーマットに取って代わるでしょう。


Chapter 7. Parser functions

Table of Contents
standard function
GSL special function
GSL random number distributions
constants
GSL constants
The LabPlot parser allows you to use following functions:

standard function

FunctionDescription
acos(x)Arc cosine
acosh(x)Arc hyperbolic cosine
asin(x)Arcsine
asinh(x)Arc hyperbolic sine
atan(x)Arctangent
atan2(y,x)arc tangent function of two variables
atanh(x)Arc hyperbolic tangent
beta(a,b)Beta
cbrt(x)Cube root
ceil(x)Truncate upward to integer
chbevl(x, coef, N)Evaluate Chebyshev series
chdtrc(df,x)Complemented Chi square
chdtr(df,x)Chi square distribution
chdtri(df,y)Inverse Chi square
cos(x) Cosine
cosh(x)Hyperbolic cosine
cosm1(x)cos(x)-1
dawsn(x)Dawson’s integral
drand()Random value between 0..1
ellie(phi,m) Incomplete elliptic integral (E)
ellik(phi,m)Incomplete elliptic integral (E)
ellpe(x)Complete elliptic integral (E)
ellpk(x)Complete elliptic integral (K)
exp(x)Exponential, base e
expm1(x)exp(x)-1
expn(n,x)Exponential integral
fabs(x)Absolute value
fac(i)Factorial
fdtrc(ia,ib,x)Complemented F
fdtr(ia,ib,x)F distribution
fdtri(ia,ib,y)Inverse F distribution
gdtr(a,b,x)Gamma distribution
gdtrc(a,b,x)Complemented gamma
hyp2f1(a,b,c,x)Gauss hypergeometric function
hyperg(a,b,x)Confluent hypergeometric 1F1
i0(x)Modified Bessel, order 0
i0e(x)Exponentially scaled i0
i1(x)Modified Bessel, order 1
1e(x) i Exponentially scaled i1
igamc(a,x)Complemented gamma integral
igam(a,x)Incomplete gamma integral
igami(a,y0)Inverse gamma integral
ncbet(aa,bb,xx) i Incomplete beta integral
incbi(aa,bb,yy0)Inverse beta integral
FunctionDescription
iv(v,x)Modified Bessel, nonint. order
j0(x)Bessel, order 0
j1(x)Bessel, order 1
jn(n,x)Bessel, order n
jv(n,x)Bessel, noninteger order
k0(x)Mod. Bessel, 3rd kind, order 0
k0e(x)Exponentially scaled k0
k1(x)Mod. Bessel, 3rd kind, order 1
k1e(x)Exponentially scaled k1
kn(nn,x)Mod. Bessel, 3rd kind, order n
lbeta(a,b)Natural log of |beta|
ldexp(x,exp)multiply floating-point number by integral power of 2
log(x)Logarithm, base e
log10(x)Logarithm, base 10
logb(x)radix-independant exponent
log1p(x)log(1+x)
ndtr(x) Normal distribution
ndtri(x)Inverse normal distribution
pdtrc(k,m)Complemented Poisson
pdtr(k,m)Poisson distribution
pdtri(k,y)Inverse Poisson distribution
pow(x,y)power function
psi(x)Psi (digamma) function
rand()Random value between 0..RAND_MAX
random()Random value between 0..RAND_MAX
rgamma(x)Reciprocal Gamma
rint(x)round to nearest integer
sin(x)Sine
sinh(x)Hyperbolic sine
spence(x) Dilogarithm
sqrt(x)Square root
stdtr(k,t)Student’s t distribution
stdtri(k,p)Inverse student’s t distribution
struve(v,x)Struve function
tan(x)Tangent
tanh(x)Hyperbolic tangent
true_gamma(x) true gamma
y0(x)Bessel, second kind, order 0
y1(x)Bessel, second kind, order 1
yn(n,x) Bessel, second kind, order n
yv(v,x)Bessel, noninteger order
zeta(x,y)Riemann Zeta function
zetac(x)Two argument zeta function
 
 
GSL special function
For more information about the functions see the documentation of GSL.
Function Description
FunctionDescription
gsl_log1p(x)log(1+x)
gsl_expm1(x)exp(x)-1
gsl_hypot(x,y)sqrt{x^2 + y^2}
gsl_acosh(x)arccosh(x)
gsl_asinh(x)arcsinh(x)
gsl_atanh(x)arctanh(x)
airy_Ai(x)Airy function Ai(x)
airy_Bi(x)Airy function Bi(x)
airy_Ais(x)scaled version of the Airy function S_A(x) Ai(x)
airy_Bis(x)scaled version of the Airy function S_B(x) Bi(x)
airy_Aid(x)Airy function derivative Ai’(x)
airy_Bid(x)Airy function derivative Bi’(x)
airy_Aids(x)derivative of the scaled Airy function S_A(x) Ai(x)
airy_Bids(x) airy_Bids(x) derivative of the scaled Airy function S_B(x) Bi(x)
airy_Bids(x) airy_Bids(x) derivative of the scaled Airy function S_B(x) Bi(x)
airy_Bids(x)derivative of the scaled Airy function S_B(x) Bi(x)
airy_0_Ai(s)s-th zero of the Airy function Ai(x)
airy_0_Bi(s)s-th zero of the Airy function Bi(x)
airy_0_Aid(s)s-th zero of the Airy function derivative Ai’(x)
airy_0_Bid(s)s-th zero of the Airy function derivative Bi’(x)
bessel_JJ0(x)regular cylindrical Bessel function of zeroth order, J_0(x)
bessel_JJ1(x)regular cylindrical Bessel function of first order, J_1(x)
bessel_Jn(n,x)regular cylindrical Bessel function of order n, J_n(x)
bessel_YY0(x)irregular cylindrical Bessel function of zeroth order, Y_0(x)
bessel_YY1(x)irregular cylindrical Bessel function of first order, Y_1(x)
bessel_Yn(n,x)irregular cylindrical Bessel function of order n, Y_n(x)
bessel_I0(x)regular modified cylindrical Bessel function of zeroth order, I_0(x)
bessel_I1(x)regular modified cylindrical Bessel function of first order, I_1(x)
bessel_In(n,x)regular modified cylindrical Bessel function of order n, I_n(x)
bessel_II0s(x) scaled regular modified cylindrical Bessel function of zeroth order,
exp (-|x|) I_0(x)   bessel_II1s(x) scaled regular modified cylindrical Bessel function of first order,
exp(-|x|) I_1(x)    bessel_Ins(n,x) scaled regular modified cylindrical Bessel function of order n,
exp(-|x|) I_n(x)    bessel_K0(x) irregular modified cylindrical Bessel function of zeroth order, K_0(x)
bessel_K1(x)irregular modified cylindrical Bessel function of first order, K_1(x)
bessel_Kn(n,x)irregular modified cylindrical Bessel function of order n, K_n(x)
bessel_KK0s(x) scaled irregular modified cylindrical Bessel function of zeroth order,
exp (x) K_0(x)     bessel_KK1s(x) scaled irregular modified cylindrical Bessel function of first order,
exp(x) K_1(x)      bessel_Kns(n,x) scaled irregular modified cylindrical Bessel function of order n,
exp(x) K_n(x) bessel_j0(x) regular spherical Bessel function of zeroth order, j_0(x)
bessel_j1(x)regular spherical Bessel function of first order, j_1(x)
bessel_j2(x)regular spherical Bessel function of second order, j_2(x)
bessel_jl(l,x)regular spherical Bessel function of order l, j_l(x)
bessel_y0(x)irregular spherical Bessel function of zeroth order, y_0(x)
bessel_y1(x)irregular spherical Bessel function of first order, y_1(x)
bessel_y2(x)irregular spherical Bessel function of second order, y_2(x)
bessel_yl(l,x)irregular spherical Bessel function of order l, y_l(x)
bessel_i0s(x) scaled regular modified spherical Bessel function of zeroth order,
exp(-|x|) i_0(x)     bessel_i1s(x) scaled regular modified spherical Bessel function of first order,
exp(-|x|) i_1(x)     bessel_i2s(x) scaled regular modified spherical Bessel function of second order,
exp(-|x|) i_2(x)     bessel_ils(l,x) scaled regular modified spherical Bessel function of order l, exp(-|x|)
i_l(x)     bessel_k0s(x) scaled irregular modified spherical Bessel function of zeroth order,
exp(x) k_0(x)       bessel_k1s(x) scaled irregular modified spherical Bessel function of first order,
exp(x) k_1(x)       bessel_k2s(x) scaled irregular modified spherical Bessel function of second order,
exp(x) k_2(x)       bessel_kls(l,x) scaled irregular modified spherical Bessel function of order l, exp(x)
k_l(x)      bessel_Jnu(nu,x)regular cylindrical Bessel function of fractional order nu, J_\nu(x)
bessel_Ynu(nu,x)irregular cylindrical Bessel function of fractional order nu, Y_\nu(x)
bessel_Inu(nu,x)regular modified Bessel function of fractional order nu, I_\nu(x)
bessel_Inus(nu,x) scaled regular modified Bessel function of fractional order nu,
exp(-|x|) I_\nu(x)     bessel_Knu(nu,x)irregular modified Bessel function of fractional order nu, K_\nu(x)
bessel_lnKnu(nu,x) logarithm of the irregular modified Bessel function of fractional order
nu,ln(K_\nu(x))      bessel_Knus(nu,x) scaled irregular modified Bessel function of fractional order nu,
exp(|x|) K_\nu(x)     bessel_0_J0(s)s-th positive zero of the Bessel function J_0(x)
bessel_0_J1(s)s-th positive zero of the Bessel function J_1(x)
bessel_0_Jnu(nu,s)s-th positive zero of the Bessel function J_nu(x)
clausen(x)Clausen integral Cl_2(x)
hydrogenicR_1(Z,R) lowest-order normalized hydrogenic bound state radial wavefunction
R_1 := 2Z \sqrt{Z} \exp(-Z r) hydrogenicR(n,l,Z,R) n-th normalized hydrogenic bound state radial wavefunction
dawson(x)Dawson’s integral
debye_1(x)first-order Debye function D_1(x) = (1/x) \int_0^x dt (t/(e^t - 1))
debye_2(x) second-order Debye function D_2(x) = (2/x^2) \int_0^x dt (t^2/(e^t -1))
debye_3(x)third-order Debye function D_3(x) = (3/x^3) \int_0^x dt (t^3/(e^t - 1))
debye_4(x) fourth-order Debye function D_4(x) = (4/x^4) \int_0^x dt (t^4/(e^t -1))
dilog(x)dilogarithm
ellint_Kc(k)complete elliptic integral K(k)
ellint_Ec(k)complete elliptic integral E(k)
ellint_F(phi,k)incomplete elliptic integral F(phi,k)
ellint_E(phi,k)incomplete elliptic integral E(phi,k)
ellint_P(phi,k,n)incomplete elliptic integral P(phi,k,n)
ellint_D(phi,k,n)incomplete elliptic integral D(phi,k,n)
ellint_RC(x,y)incomplete elliptic integral RC(x,y)
ellint_RD(x,y,z)incomplete elliptic integral RD(x,y,z)
ellint_RF(x,y,z)incomplete elliptic integral RF(x,y,z)
ellint_RJ(x,y,z)incomplete elliptic integral RJ(x,y,z,p)
gsl_erf(x)error function erf(x) = (2/\sqrt(\pi)) \int_0^x dt \exp(-t^2)
gsl_erfc(x) complementary error function erfc(x) = 1 - erf(x) = (2/\sqrt(\pi)) \int_x^\infty \exp(-t^2)
log_erfc(x)logarithm of the complementary error function \log(\erfc(x))
erf_Z(x)Gaussian probability function Z(x) = (1/(2\pi)) \exp(-x^2/2)
erf_Q(x) upper tail of the Gaussian probability function Q(x) = (1/(2\pi)) \int_x^\infty dt \exp(-t^2/2)
gsl_exp(x)exponential function
exprel(x)(exp(x)-1)/x using an algorithm that is accurate for small x
exprel_2(x)2(exp(x)-1-x)/x^2 using an algorithm that is accurate for small x
exprel_n(n,x) n-relative exponential, which is the n-th generalization of the functions ‘gsl_sf_exprel’
exp_int_E1(x)exponential integral E_1(x), E_1(x) := Re \int_1^\infty dt \exp(-xt)/t
exp_int_E2(x) second-order exponential integral E_2(x), E_2(x) := \Re \int_1^\infty dt \exp(-xt)/t^2
exp_int_Ei(x)exponential integral E_i(x), Ei(x) := PV(\int_{-x}^\infty dt \exp(-t)/t)
shi(x)Shi(x) = \int_0^x dt sinh(t)/t
chi(x)integral Chi(x) := Re[ gamma_E + log(x) + \int_0^x dt (cosh[t]-1)/t]
expint_3(x)exponential integral Ei_3(x) = \int_0^x dt exp(-t^3) for x >= 0
si(x)Sine integral Si(x) = \int_0^x dt sin(t)/t
ci(x)Cosine integral Ci(x) = -\int_x^\infty dt cos(t)/t for x > 0
atanint(x)Arctangent integral AtanInt(x) = \int_0^x dt arctan(t)/t
fermi_dirac_m1(x) complete Fermi-Dirac integral with an index of -1, F_{-1}(x) = e^x / (1 + e^x)
fermi_dirac_0(x) complete Fermi-Dirac integral with an index of 0, F_0(x) = \ln(1 + e^x)
fermi_dirac_1(x) complete Fermi-Dirac integral with an index of 1, F_1(x) =
\int_0^\infty dt (t /(\exp(t-x)+1))
fermi_dirac_2(x) complete Fermi-Dirac integral with an index of 2, F_2(x) =
(1/2) \int_0^\infty dt (t^2 /(\exp(t-x)+1))
fermi_dirac_int(j,x) complete Fermi-Dirac integral with an index of j, F_j(x) =
(1/Gamma(j+1)) \int_0^\infty dt (t^j /(exp(t-x)+1))
fermi_dirac_mhalf(x)complete Fermi-Dirac integral F_{-1/2}(x)
fermi_dirac_half(x)complete Fermi-Dirac integral F_{1/2}(x)
fermi_dirac_3half(x)complete Fermi-Dirac integral F_{3/2}(x)
fermi_dirac_inc_0(x,b) incomplete Fermi-Dirac integral with an index of zero, F_0(x,b) =
\ln(1 + e^{b-x}) - (b-x)
gamma(x)Gamma function
lngamma(x)logarithm of the Gamma function
gammastar(x)regulated Gamma Function \Gamma^*(x) for x > 0
gammainv(x) reciprocal of the gamma function, 1/Gamma(x) using the real
Lanczos method.
taylorcoeff(n,x)Taylor coefficient x^n / n! for x >= 0
fact(n)factorial n!
doublefact(n)double factorial n!! = n(n-2)(n-4)...
lnfact(n)logarithm of the factorial of n, log(n!)
lndoublefact(n)logarithm of the double factorial log(n!!)
choose(n,m)combinatorial factor ‘n choose m’ = n!/(m!(n-m)!)
lnchoose(n,m)logarithm of ‘n choose m’
poch(a,x)Pochhammer symbol (a)_x := \Gamma(a + x)/\Gamma(x)
lnpoch(a,x) logarithm of the Pochhammer symbol (a)_x := \Gamma(a + x)/\Gamma(x)
pochrel(a,x) relative Pochhammer symbol ((a,x) - 1)/x where (a,x) = (a)_x :=
\Gamma(a + x)/\Gamma(a)
gamma_inc_Q(a,x) normalized incomplete Gamma Function P(a,x) = 1/Gamma(a)
\int_x\infty dt t^{a-1} exp(-t) for a > 0, x >= 0
gamma_inc_P(a,x) complementary normalized incomplete Gamma Function P(a,x) =
1/Gamma(a) \int_0^x dt t^{a-1} exp(-t) for a > 0, x >= 0
gsl_beta(a,b) Beta Function, B(a,b) = Gamma(a) Gamma(b)/Gamma(a+b) for a >
0, b > 0
lnbeta(a,b)logarithm of the Beta Function, log(B(a,b)) for a > 0, b > 0
betainc(a,b,x)normalize incomplete Beta function B_x(a,b)/B(a,b) for a > 0, b > 0
gegenpoly_1(lambda,x)Gegenbauer polynomial C^{lambda}_1(x)
gegenpoly_2(lambda,x)Gegenbauer polynomial C^{lambda}_2(x)
gegenpoly_3(lambda,x)Gegenbauer polynomial C^{lambda}_3(x)
gegenpoly_n(n,lambda,x)Gegenbauer polynomial C^{lambda}_n(x)
hyperg_0F1(c,x)hypergeometric function 0F1(c,x)
hyperg_1F1i(m,n,x) confluent hypergeometric function 1F1(m,n,x) = M(m,n,x) for integer
parameters m, n
hyperg_1F1(a,b,x) confluent hypergeometric function 1F1(m,n,x) = M(m,n,x) for
general parameters a,b
hyperg_Ui(m,n,x) confluent hypergeometric function U(m,n,x) for integer parameters
m,n
hyperg_U(a,b,x)confluent hypergeometric function U(a,b,x)
hyperg_2F1(a,b,c,x)Gauss hypergeometric function 2F1(a,b,c,x)
hyperg_2F1c(ar,ai,c,x) Gauss hypergeometric function 2F1(a_R + i a_I, a_R - i a_I, c, x)
with complex parameters
hyperg_2F1r(ar,ai,c,x) renormalized Gauss hypergeometric function 2F1(a,b,c,x) /
Gamma(c)
hyperg_2F1cr(ar,ai,c,x) renormalized Gauss hypergeometric function 2F1(a_R + i a_I, a_R - i
a_I, c, x) / Gamma(c)
hyperg_2F0(a,b,x) hypergeometric function 2F0(a,b,x)
laguerre_1(a,x)generalized Laguerre polynomials L^a_1(x)
laguerre_2(a,x)generalized Laguerre polynomials L^a_2(x)
laguerre_3(a,x)generalized Laguerre polynomials L^a_3(x)
lambert_W0(x)principal branch of the Lambert W function, W_0(x)
lambert_Wm1(x)secondary real-valued branch of the Lambert W function, W_{-1}(x)
legendre_P1(x)Legendre polynomials P_1(x)
legendre_P2(x)Legendre polynomials P_2(x)
legendre_P3(x)Legendre polynomials P_3(x)
legendre_Pl(l,x)Legendre polynomials P_l(x)
legendre_Q0(x)Legendre polynomials Q_0(x)
legendre_Q1(x)Legendre polynomials Q_1(x)
legendre_Ql(l,x)Legendre polynomials Q_l(x)
legendre_Plm(l,m,x) associated Legendre polynomial P_l^m(x)
legendre_sphPlm(l,m,x) normalized associated Legendre polynomial $\sqrt{(2l+1)/(4\pi)}
\sqrt{(l-m)!/(l+m)!} P_l^m(x)$ suitable for use in spherical
harmonics
conicalP_half(lambda,x) irregular Spherical Conical Function P^{1/2}_{-1/2 + i \lambda}(x)
for x > -1
conicalP_mhalf(lambda,x) regular Spherical Conical Function P^{-1/2}_{-1/2 + i \lambda}(x)
for x > -1
conicalP_0(lambda,x)conical function P^0_{-1/2 + i \lambda}(x) for x > -1
conicalP_1(lambda,x)conical function P^1_{-1/2 + i \lambda}(x) for x > -1
conicalP_sphreg(l,lambda,x) Regular Spherical Conical Function P^{-1/2-l}_{-1/2 + i \lambda}(x)
for x > -1, l >= -1
conicalP_cylreg(l,lambda,x) Regular Cylindrical Conical Function P^{-m}_{-1/2 + i \lambda}(x)
for x > -1, m >= -1
legendre_H3d_0(lambda,eta) zeroth radial eigenfunction of the Laplacian on the 3-dimensional
hyperbolic space, L^{H3d}_0(lambda,eta) := sin(lambda
eta)/(lambda sinh(eta)) for eta >= 0
legendre_H3d_1(lambda,eta) zeroth radial eigenfunction of the Laplacian on the 3-dimensional
hyperbolic space, L^{H3d}_1(lambda,eta) := 1/sqrt{lambda^2 + 1}
sin(lambda eta)/(lambda sinh(eta)) (coth(eta) - lambda cot(lambda
eta)) for eta >= 0
legendre_H3d(l,lambda,eta) L’th radial eigenfunction of the Laplacian on the 3-dimensional
hyperbolic space eta >= 0, l >= 0
gsl_log(x)logarithm of X
loga(x)logarithm of the magnitude of X, log(|x|)
logp(x)log(1 + x) for x > -1 using an algorithm that is accurate for small x
logm(x)log(1 + x) - x for x > -1 using an algorithm that is accurate for small x
gsl_pow(x,n)power x^n for integer n
psii(n) digamma function psi(n) for positive integer n
psi(x)digamma function psi(n) for general x
psiy(y)real part of the digamma function on the line 1+i y, Re[psi(1 + i y)]
ps1i(n)Trigamma function psi’(n) for positive integer n
ps_n(m,x)polygamma function psi^{(m)}(x) for m >= 0, x > 0
synchrotron_1(x)first synchrotron function x \int_x^\infty dt K_{5/3}(t) for x >= 0
synchrotron_2(x)second synchrotron function x K_{2/3}(x) for x >= 0
transport_2(x)transport function J(2,x)
transport_3(x)transport function J(3,x)
transport_4(x)transport function J(4,x)
transport_5(x)transport function J(5,x)
hypot(x,y)hypotenuse function \sqrt{x^2 + y^2}
sinc(x)sinc(x) = sin(pi x) / (pi x)
lnsinh(x)log(sinh(x)) for x > 0
lncosh(x)log(cosh(x))
zetai(n)Riemann zeta function zeta(n) for integer N
gsl_zeta(s)Riemann zeta function zeta(s) for arbitrary s
hzeta(s,q)Hurwitz zeta function zeta(s,q) for s > 1, q > 0
etai(n)eta function eta(n) for integer n
eta(s)eta function eta(s) for arbitrary s


 
GSL random number distributions
For more information about the functions see the documentation of GSL.
Function Description
FunctionDescription
gaussian(x,sigma) probability density p(x) at X for a Gaussian distribution with standard deviation SIGMA
ugaussian(x) unit Gaussian distribution. They are equivalent to the
functions above with a standard deviation of one,
SIGMA = 1
gaussian_tail(x,a,sigma) probability density p(x) at X for a Gaussian tail
distribution with standard deviation SIGMA and
lower limit A
ugaussian_tail(x,a) tail of a unit Gaussian distribution. They are
equivalent to the functions above with a standard
deviation of one, SIGMA = 1
bivariate_gaussian(x,y,sigma_x,sigma_y,rho) probability density p(x,y) at (X,Y) for a bivariate
gaussian distribution with standard deviations
SIGMA_X, SIGMA_Y and correlation coefficient
RHO
exponential(x,mu) probability density p(x) at X for an exponential
distribution with mean MU
laplace(x,a) probability density p(x) at X for a Laplace
distribution with mean A
exppow(x,a,b) probability density p(x) at X for an exponential
power distribution with scale parameter A and
exponent B
cauchy(x,a) probability density p(x) at X for a Cauchy
distribution with scale parameter A
rayleigh(x,sigma) probability density p(x) at X for a Rayleigh
distribution with scale parameter SIGMA
rayleigh_tail(x,a,sigma) probability density p(x) at X for a Rayleigh tail
distribution with scale parameter SIGMA and lower
limit A
landau(x) probability density p(x) at X for the Landau
distribution
gamma_pdf(x,a,b) probability density p(x) at X for a gamma distribution
with parameters A and B
flat(x,a,b) probability density p(x) at X for a uniform
distribution from A to B
lognormal(x,zeta,sigma) probability density p(x) at X for a lognormal
distribution with parameters ZETA and SIGMA
chisq(x,nu) probability density p(x) at X for a chi-squared
distribution with NU degrees of freedom
fdist(x,nu1,nu2) probability density p(x) at X for an F-distribution
with NU1 and NU2 degrees of freedom
tdist(x,nu) probability density p(x) at X for a t-distribution with
NU degrees of freedom
beta_pdf(x,a,b) probability density p(x) at X for a beta distribution
with parameters A and B
logistic(x,a) probability density p(x) at X for a logistic distribution
with scale parameter A
pareto(x,a,b) probability density p(x) at X for a Pareto distribution
with exponent A and scale B
weibull(x,a,b) probability density p(x) at X for a Weibull
distribution with scale A and exponent B
gumbel1(x,a,b) probability density p(x) at X for a Type-1 Gumbel
distribution with parameters A and B
gumbel2(x,a,b) probability density p(x) at X for a Type-2 Gumbel
distribution with parameters A and B
poisson(k,mu) probability p(k) of obtaining K from a Poisson
distribution with mean mu
bernoulli(k,p) probability p(k) of obtaining K from a Bernoulli
distribution with probability parameter P
binomial(k,p,n) probability p(k) of obtaining K from a binomial
distribution with parameters P and N
negative_binomial(k,p,n) probability p(k) of obtaining K from a negative
binomial distribution with parameters P and N
pascal(k,p,n) probability p(k) of obtaining K from a Pascal
distribution with parameters P and N
geometric(k,p) probability p(k) of obtaining K from a geometric
distribution with probability parameter P
hypergeometric(k,n1,n2,t) probability p(k) of obtaining K from a
hypergeometric distribution with parameters N1, N2,
N3
logarithmic(k,p) probability p(k) of obtaining K from a logarithmic distribution with probability parameter P
constants



Constants
PI1 1/pi
PI2 2/pi
PISQRT2 2/sqrt(pi)
Ee
LN2 log_e 2
LN10 log_e 10
LOG2E log_2 e
LOG10Elog_10 e
PI pi
PI_2 pi/2
PI_4 pi/4
SQRT2 sqrt(2)
SQRT1_2 1/sqrt(2)


GSL constants
For more information about this constants see the documentation of
GSL. Constant Description
constantsdescription
cThe speed of light in vacuum
mu0The permeability of free space
e0The permittivity of free space
Na Avogadro’s number
FThe molar charge of 1 Faraday
kThe Boltzmann constant
R0The molar gas constant
V0 The standard gas volume
GaussThe magnetic field of 1 Gauss
muThe length of 1 micron
haThe area of 1 hectare
mphThe speed of 1 mile per hour
kmhThe speed of 1 kilometer per hour
auThe length of 1 astronomical unit (mean earth-sun distance)
GThe gravitational constant
lyThe distance of 1 light-year
pcThe distance of 1 parsec
gThe standard gravitational acceleration on Earth
msThe mass of the Sun
eThe charge of the electron
eVThe energy of 1 electron volt
amuThe unified atomic mass
meThe mass of the electron
mmuThe mass of the muon
mpThe mass of the proton
mnThe mass of the neutron
alphaThe electromagnetic fine structure constant
RyThe Rydberg constant
a0The Bohr radius
AThe length of 1 angstrom
barnThe area of 1 barn
muBThe Bohr Magneton
muN The Nuclear Magneton
mueThe magnetic moment of the electron
mupThe magnetic moment of the proton
minThe number of seconds in 1 minute
hThe number of seconds in 1 hour
dThe number of seconds in 1 day
weekThe number of seconds in 1 week
inThe length of 1 inch
ft The length of 1 foot
yardThe length of 1 yard
mileThe length of 1 mile
milThe length of 1 mil (1/1000th of an inch)
nmileThe length of 1 nautical mile
fathomThe length of 1 fathom
knotThe speed of 1 knot
ptThe length of 1 printer’s point (1/72 inch)
texptThe length of 1 TeX point (1/72.27 inch)
acreThe area of 1 acre
ltrThe volume of 1 liter
us_gallonThe volume of 1 US gallon
can_gallonThe volume of 1 Canadian gallon
uk_gallonThe volume of 1 UK gallon
quartThe volume of 1 quart
pintThe volume of 1 pint
poundThe mass of 1 pound
ounceThe mass of 1 ounce
tonThe mass of 1 ton
mtonThe mass of 1 metric ton (1000 kg)
uk_tonThe mass of 1 UK ton
troy_ounceThe mass of 1 troy ounce
caratThe mass of 1 carat
gram_forceThe force of 1 gram weight
pound_forceThe force of 1 pound weight
kilepound_forceThe force of 1 kilopound weight
poundalThe force of 1 poundal
calThe energy of 1 calorie
btuThe energy of 1 British Thermal Unit
thermThe energy of 1 Therm
hpThe power of 1 horsepower
barThe pressure of 1 bar
atmThe pressure of 1 standard atmosphere
torrThe pressure of 1 torr
mhgThe pressure of 1 meter of mercury
inhgThe pressure of 1 inch of mercury
inh2oThe pressure of 1 inch of water
psiThe pressure of 1 pound per square inch
poiseThe dynamic viscosity of 1 poise
stokesThe kinematic viscosity of 1 stokes
stilbThe luminance of 1 stilb
lumenThe luminous flux of 1 lumen
luxThe illuminance of 1 lux
photThe illuminance of 1 phot
ftcandleThe illuminance of 1 footcandle
lambertThe luminance of 1 lambert
ftlambertThe luminance of 1 footlambert
curieThe activity of 1 curie
roentgenThe exposure of 1 roentgen
radThe absorbed dose of 1 rad

 
The following constants are the same constants in cgs system :
Constant Description
c_cgs
G_cgs
h_cgs
hbar_cgs
mu0_cgs
au_cgs
ly_cgs
pc_cgs
g_cgs
eV_cgs
me_cgs
mmu_cgs
mp_cgs
mn_cgs
Ry_cgs
k_cgs
muB_cgs
muN_cgs
mue_cgs
mup_cgs
R0_cgs
V0_cgs
in_cgs
ft_cgs
yard_cgs
mile_cgs
Constant Description
nile_cgs
fathom_cgs
mil_cgs
pt_cgs
texpt_cgs
mu_cgs
A_cgs
ha_cgs
acre_cgs
barn_cgs
ltr_cgs
us_gallon-cgs
quart_cgs
pint_cgs
cup_cgs
fluid_ouncs_cgs
tablespoon_cgs
teaspoon_cgs
can_gallon_cgs
uk_gallon_cgs
mph_cgs
kmh_cgs
knot_cgs
pound_cgs
ouncs_cgs
ton_cgs
mton_cgs
uk_ton_cgs
troy_ounce_cgs
Constant Description
carat_cgs
amu_cgs
gram_cgs
pound_force_cgs
kilopound_force_cgs
poundal_cgs
cal_cgs
btu_cgs
therm_cgs
hp_cgs
bar_cgs
atm_cgs
torr_cgs
mhg_cgs
inhg_cgs
inh2o_cgs
psi_cgs
poise_cgs
stokes_cgs
F_cgs
e_cgs
G_cgs
stilb_cgs
lumen_cgs
lux_cgs
phot_cgs
ftcandle_cgs
lambert_cgs
ftlambert_cgs
Constant Description
curie_cgs
roentgen_cgs
rad_cgs
sm_cgs
a0_cgs
e0_cgs

Chapter 8. Scripting

Table of Contents
QSA
Using Scripts
Specials
この章ではあなたの仕事を自動化することができるLabPlotのスクリプトインターフェイスを説明します。
スクリプトインターフェイスの使用によって同じことを何度もするときにあなたの仕事をより生産的で簡単にできます。
この章の知識を用いればLabPlotの遠隔操作を完全にコントロールできます。

QSA
LabPlotはTrolltech, Inc.によって発達されたアプリケーション(QSA)のためQt?スクリプトを使用しています。
それは二つの異なるライセンス下でリリースされています。
一つは商業用(法外な金額がかかる)そして他のGPL(ダウンロード自由)です。
GPLバージョンは商業用に発達したアプリケーションの場合のみ適用できるいくつかの制限があります。

もちろん、LabPlotはQSAのサポートで確立される必要があります。
KDE3(Qt?3に基づいている)場合、バージョン1.1.X のQSAが必要です。

Using Scripts
スクリプトは実行される指示を含む小さなファイルです。
LabPlotはそのようなスクリプトを解読できるので、これを自動で使うことができます。
スクリプトはあなたの好みのテキストエディタもしくはQSAワークベンチ(LabPlot メニューの "Script->QSA Workbench..."で見つけることができる)を使用することで
作成し編集することができます。
もしワークベンチのアイコンが見つからなかったら、ワークベンチの章を見てみてください。

スクリプトを実行するためにコマンドラインからLabPlotスクリプトqsを呼び出す、
もしくはデスクトップ上のスクリプトをLabPlotにドラッグアンドドロップすることができます。
また、スクリプトを実行するにはダイアログの"Script->Open Script"を使うこともできます。

LabPlotは集合の束に分けられます。ほとんどのスクリプトにとって必要なように、あなたはそれらを少し知る必要があります。
どの命令にとってもLabPlotクラス上に一致する関数のみを呼び出します。
すべての利用可能な関数は↓のホームぺージのクラスリファレンスから見つけることができます。
http://cvs.sourceforge.net/viewcvs.py/*checkout*/labplot/doc/html/hierarchy.html.


全てのMainWin関数は直接呼び出せます。
↓から始めてください。

importData("sample.dat");

これはデータファイル"sample.dat"をLabPlotのスプレッドシートへと簡単にインポートします。スクリーンショットで見ることができます。

import


もし、スプレッドシートを使用して仕事をしたいなら、一致するスプレッドシートを呼び出す必要があります。
2Dプロットを作りたいと言ってみましょう。

importData("sample.dat");
s = activeSpreadsheet();
s.plot2DSimple();


The result is

plot


プロット上で仕事をしたいなら、私たちはワークシートとそのアクティブなプロットが必要になります。
そのスクリプトは:

importData("sample.dat");
s = activeSpreadsheet();
s.plot2DSimple();
w = activeWorksheet();
p = w.get2DPlot(w.API());
p.setBackground("green");
w.redraw();


結果はグリーンのバックグラウンドで表示されます。

green

結果をEPSとしてセーブする前にデータをインポートし、いくつかのセッティングを変更する完璧なスクリプトは以下の通りです。

importData("sample-data/sin.dat");

s = activeSpreadsheet();
s.plot2DSimple();

w = activeWorksheet();
p = w.get2DPlot(w.API());

p.setBackground("green");
p.setGraphBackground("lightblue");

r = p.ActRange(0);
r.setRange(250,750);
r = p.ActRange(1);
r.setRange(-2,2);

l = p.getLegend();
l.setPosition(.5,.4);

t = p.Title();
t.setTitle("example title");
t.setRotation(10);

a = p.getAxis(0);
a.enableMajorGrid();
ll = a.getLabel();
ll.setTitle("different x axis");
font = new Font("SanSerif");
a.setTickLabelFont(font);

p.setMarksEnabled();
mark = p.markX();
mark.setRange(450,550);

p.setRegionEnabled();
p.setRegion(350,650);

// w.redraw();

exportEPS("export.eps");
exit();


使用されているファンクションは見ればすぐわかります。
結果のEPSは以下のようになります。



これはスクリプトを書くことについてあなたが知る必要のある基本事項です。
更なる例はソースディストリビューションのディレクトリexamples/scripts/
もしくはLabPlotのデータディレクトリで見つけることができます。

Specials
QSAの詳細にわたる構文チェックはQSAの説明書を見てください。
LabPlotにおいて使用可能なすべての一覧表がスクリプトで使用できます。
グローバルスクリプトlabplot.qsをチェックしてみてください。

QSAを用いて、ファイルの名前などを入力するためにダイアログを使うこともできます。
以下の例はデータファイルの名前を入力するためにダイアログを使います。

d = new ImportDialog();

var filename = FileDialog.getOpenFileName( "*.dat" );
if (filename) {
d.setFilename(filename);
d.Apply();
}


Chapter 9. Examples

この章ではLabPlotのサンプルプロジェクトの例を見つけることができます。
Help->Examples except specifiedから全ての例を見ることができます。

Table 9.1. Example Projects for LabPlot
Screenshot Name Description
axes label this example shows how to use different axes label. The shown function is filled to the baseline.
rydberg  spectra this example shows a Rydberg spectra measured by photoexcitation of metastable helium in a magneto optical trap.
log axis scale this example uses logarithmic axis scales with custom tic label
[IMAGE] audio data this example shows data read from an audio file
[IMAGE] marker this example shows a usage of marker
TeX label this example uses a TeX label
analysis this example shows the difference between the three analysis functions prune, average and smooth. Here you can see different stylesand symbols for showing data.
simple fft this example shows how a simple fourier transform might look like.
histogram this example shows a sample histogram of a periodic function.
nonlinear fitting this example shows a nonlinear lorentzian fit of a sample data set in a specified region.
exponential fit this example shows how an exponential fit of sample data should look like.
[IMAGE] log fit this example shows an exponential fit inside a logarithmic plot.
[IMAGE] surface this example shows a simple surface plot with density and contour plot of a used defined function. The color palette is chosen to nicelyshow the function values.
[IMAGE] surface style this example shows the same data set as surface plot in different styles.
3d this example shows a simple 3 dimensional plot created from a function.
drawing
objects
this example shows how to use drawing objects in LabPlot.
[IMAGE] images this example shows a surface plot created from an image file (utm.xpm).
pie plot this example shows a simple pie plot created from two dimensional data
[IMAGE] bar plot this example shows the usage of the bar style for x and y ranges.
[IMAGE] multiple plots this example shows the usage of multiple plots per worksheet. Here you can s see four different types of plot arranged 2x2 with gap=0.05.
[IMAGE] qwt 3d plot this example shows the usage of a qwt 3 dimensional plot. This example uses a customized colormap and the "flooriso" style to make the contour lines on the floor.
[IMAGE] another surface plot this is another example for a surface plot. This example shows how logarithmic axis scales can be used her too.
[IMAGE] polar plot this example shows a simple polar plot created from functions
[IMAGE] ternary plot this example shows a ternary plot created with some data
sfi (only on download site) this example introduces overlayed plots by showing a selective field ionization spectra overlayed with the field ramp.




Chapter 10. Known Bugs

Table of Contents
Known Bugs

Known Bugs
Here you find a list of known bugs. For a more detailed list please take a look at the TODO file in the
LabPlot package.
1. pstoedit sometimes doesn’t work correct.
2. LabPlot crashes on SuSE 9.0 on startup.
3. ImageMagick can’t be used on FreeBSD 4-stable.
4. When using the KPart object of LabPlot the window can’t be resized.

1. pstoedit sometimes doesn’t work correct.
pstoedit has sometimes problems when converting postscript files created by Qt?. Especially
with truetype fonts Qt? seems to create corrupted postscript files. These postscript files may
look good when using ghostscript but fail when converting them with pstoedit.
I haven’t found a solution for this problem and finally changed the standard fonts of LabPlot
to use fonts that produces no problems with pstoedit. I hope this get fixed in a future release
of Qt?.

2. LabPlot crashes on SuSE 9.0 on startup.
The original Qt? package of SuSE 9.0 has a bug when rotating text. So all applications using
this library to rotate text are crashing. SuSE provides an updated Qt? package for SuSE 9.0
on their website. So please update the Qt? package.
Unfortunately the text rotation of Qt? on SuSE 9.0 still has a bug so that the single letters of a
string are not rotated. To fix this you should update to SuSE 9.1 on which Qt? text rotation
works perfectly.

3. ImageMagick can’t be used on FreeBSD 4-stable.
When compiling LabPlot on FreeBSD 4-stable and you have ImageMagick there seems to be
a problem that only appears on FreeBSD 4 :
/usr/include/sys/cdefs.h:273: warning: ‘_POSIX_C_SOURCE’ is not defined
I have no idea what the problem is. If someone can fix this please send me a note. By now the
only thing to do is to deactivate ImageMagick (--disable-ImageMagick) when compiling.

4. When using the KPart object of LabPlot the window can’t be resized.
When resizing the window to the desired size please reload the page with the KPart. That
should fix this bug.

Chapter 11. Questions and Answers

11.1. For which platforms is LabPlot available?
11.2. After compiling and starting LabPlot i only see a "File" and a "Help" menu. The toolbars are
completely empty. Whats wrong?
11.3. How do i export the active worksheet as image?
11.4. Some analysis functions are not working. What can i do?
11.5. How do i use greek letters for title, axes label, etc.?
11.6. How do i use LabPlot objects,plots,etc. in my own application?
11.7. I miss an important feature. What can i do?
11.8. I want to help. How can i contribute to LabPlot?
11.1. For which platforms is LabPlot available?
LabPlot is developed for Unix platforms and uses the Qt? toolkit and KDE. Normally you
can expect LabPlot to build and run on every platform KDE (>=3) supports. A recent list
of supported platforms and tips for compiling and running LabPlot can be found on
http://labplot.sf.net/wiki?Download.
I personally have access and can support the following platforms :
SuSE 10.0 (main development platform)
SuSE 9.3
SuSE 9.1
Fedora Core 4
Fedora Core 3
RedHat 9
Mandriva 2006
Mandrake 10.1
Mandrake 10.0
Slackware 10
With the help from some volunteers the following platforms are also known to work :
Debian 3.0
FreeBSD 4,5
PLD 2.0
CentOS 4
If you like to test and compile LabPlot on any other platform (like Solaris, Xantos,
Windows, etc.), please let me know. If you encounter any problem during compilation i
may be able to help.
11.2. After compiling and starting LabPlot i only see a "File" and a "Help" menu. The toolbars
are completely empty. Whats wrong?
LabPlot uses the standard way for creating the graphical user interface (GUI) of KDE
applications. The GUI of LabPlot is described in the file "LabPlotui.rc" which needs to be
installed in the correct KDE path so that KDE can build the menu, the toolbars, etc. On
normal KDE installation "./configure --prefix=$KDEDIR ; make ; make install" should
put all files in the correct directories. (e.g. $KDEDIR/share/apps/LabPlot/ for
"LabPlotui.rc"). Please have a look at your distribution on where to install the needed
files.
It is also possible to use a user defined directory for shared files used by KDE. This extra
directories can be specified in the environment variable KDEDIRS. So when installing
LabPlot under /usr/local you just need to add "/usr/local" to the KDEDIRS environment
variable before starting KDE.
11.3. How do i export the active worksheet as image?
There are three ways to export the active worksheet as image. The standard way is to use
"File->Export To Image". All Qt? supported image formats are allowed. Just select the
desired format and the active worksheet is exported. The second way to export as an
image is to use "File->Export via pstoedit". Here the active worksheet is exported to
Postscript and then internally converted to the selected format via pstoedit. A lot of
non-image formats (like PDF or DXF) is supported too. You can select the image size,
scale and rotation in this dialog. The third way to export to an image is to use
"File->Export via ImageMagick". LabPlot uses the ImageMagick library to convert to all
possible image formats (over 200 image formats are supported by ImageMagick). Like in
"Export via pstoedit" you can select size, scale and rotation of the image.
11.4. Some analysis functions are not working. What can i do?
LabPlot uses the GNU Scientific Library (gsl) for regression, histograms, fourier
transform and nonlinear fitting. You can use LabPlot even if you don’t have the gsl
installed, but you wont be able to use the above mentioned functions. So please install the
gsl if you want to use this features.
11.5. How do i use greek letters for title, axes label, etc.?
LabPlot uses the font "greek times" which was available on SuSE until version 9.0. You
just have to install the package xfntgreek-1.0-560.noarch.rpm to make this font available.
If everything works you should be able to see the greek letters (lower and upper case) in
the Label Dialog and you can use them for the label.
11.6. How do i use LabPlot objects,plots,etc. in my own application?
Since the 1.2.3 release of LabPlot all classes of LabPlot are collected in the library
libLabPlot. At the moment you should have a look at the source packages for the
documentation of all classes. After testing how the library can be used i will improve the
documentation application programming interface (API) for the library by using doxygen.
Please mail me if you have any questions. Additionally I created a KPart object for
LabPlot projects so you can display and edit a LabPlot *.lpl file in your application. Please
have a look at the KDE documentation on how to use KDE KParts objects.
11.7. I miss an important feature. What can i do?
Please take a look at the TODO file in the documentation of LabPlot. Here all planed
features are listed in more or less sorted order which i will implement in future releases of
LabPlot. If you like to have additional features or like to have a listed feature soon, mail
me your wishes and, if possible, send me example data or a short description of what you
like to do. It is not unlikely that your feature will appear in the next stable release of
LabPlot :-)
11.8. I want to help. How can i contribute to LabPlot?
Yes, of course. There are a lot things to do. Even if you don’t know anything about
programming i always need people to find bugs, test things and make suggestions. Also
the translation and documentation always needs a lot of work. Just mail me if you need
any help.
Chapter 12. License
LabPlot
Program copyright 2006 Stefan Gerlach <gerlach@mbi-berlin.de>
Remember : LabPlot is still under development. There is a long list of missing features that will be
implemented in later versions of LabPlot.
Because there are a lot things to do, I need every help i can get. Any contribution like wishes,
corrections, patches, bug reports or screen shots is welcome.
Documentation copyright 2006 Stefan Gerlach <gerlach@mbi-berlin.de>
This documentation is licensed under the terms of the GNU Free Documentation License.
This program is licensed under the terms of the GNU General Public License.