Data Plotting and Analysis Software

SigmaGraph is a data plotting and analysis software designed to be lightweight, reliable and easy to use. SigmaGraph runs on Windows XP, Vista and Windows 7/8. SigmaGraph offers almost all the functionality needed by scientists and engineers: editable datasheets (column properties, create series, set column values by using any mathematical expression, show column statistics, import/export from/to ASCII file, mask and unmask cells, printing, etc.); scientific graphing with a complete control of the graph (line/symbol style, colors, fonts, legends, axis properties, grid, tick, labels, scale, auto scale, log/linear scale, zoom in/out, copy format to another graph, export as image, printing, graph templates, etc.); curve fitting (24 models including linear, polynomial, exponential, Gaussian (up to 5 peaks), Lorentzian (up to 5 peaks), Pearson VII, logistic, power, etc.); error bars (percentage, constant or any user defined data); drawing tools (line, rectangle, ellipse); mathematical console; powerful scripting engine; etc.

New in SigmaGraph v2.6: • Enhanced Lua scripting code editor with syntax highlighting, line numbering, markers (bookmarks), code completion, etc. • New data importing options • Help system redesigned (integrated HTML Help and PDF) • New fitting models (multi-peak Lorentz and Gauss) • User interface enhancements • Performance optimization • etc.

Download the SigmaGraph Documentation (PDF).

1. Install

For portable version:Download sigmagraph_portable_windows.zip, unzip in any location (USB key for example) and run SigmaGraph.exe in the bin directory.

For setup version: Download sigmagraph_setup_windows.msi, double-click on the setup file and it will install SigmaGraph.

Softpedia CNET

The SigmaGraph package contains two executables:

· SigmaGraph.exe : main SigmaGraph component.

· SigmaConsole.exe : mathematical console.

MD5 hash.

 

2 Importing and analyzing data

2.1 Importing data

Click the ‘Open’ button (in the main toolbar) and select the file to be imported.

Import Data

The Import ASCII dialog appears, giving you the possibility:

(i) To select the delimiter (TAB, SPACE or ;)

(ii) To set the number of rows to skip at the beginning of the file.

(iii) To set the number of rows to read from the file.

(iv) To select whether or not to read titles into the datasheet. When ready, press ‘OK’ to import the file content into a new datasheet.

2.2 Creating a Line/Scatter Graph

To plot the imported data:

(i) Click the ‘Add Curve’ button (or click the ‘Graph/Add Curve’ menu) and select the X and Y columns to be plotted. You can change the column properties (and modify the column type: X or Y…): right click and choose ‘Properties’.

(ii) Set the line and symbol style and color.

(iii) Click the ‘Add’ button. And close the ‘Add Curve’ dialog. You can choose the curve axes by clicking the X-Y, X-Y2, X2-Y or X2-Y2 button. You can modify all the graph properties (curve style, colors, fonts, axis, scale, etc.) in the ‘Graph Options’ dialog by clicking the ‘Graph Options’ button in the toolbar.

Add Curve

2.3 Fitting

To analyze the curve previously created, you can use the SigmaGraph fitting functionality (in this guide, we are using the Lorentz peak function):

(i) Click the ‘Fit’ button and choose the Lorentzian model (or click the ‘Fitting/Lorentzian’ menu). Set the fitting number of points to 50. Click the ‘Show Fitting Report on Graph’ button (in order to print out the fitting result on the graph window).

Fitting

(ii) The model used in this guide (Lorentz peak function) has four parameters: a, b, c and d. In order to calculate quickly and precisely the best estimation of these parameters values, the fitting algorithm needs an initial guess. This can be done automatically for the Lorentzian model. Simply click the ‘Guess’ button. When done, click the ‘Fit’ button.

Fitting Model

(iii) Press ‘OK’ to finish. The fitting curve will be plotted and the parameters values will be printed out on the graph window. You can view the fitting datasheet by clicking the ‘View/Fit Datasheet’ menu.

2.4 Adding Error Bars

You can add error bars to your data:

Error Bars

(i) Click the ‘Graph/Errors Bars’ menu. In the ‘Error Bar Settings’ dialog, click the ‘Y Err’ and ‘Fixed Value’ buttons. Set the fixed value to 0.4.

(ii) Choose the error bars line style, size and color

(iii) Click ‘Apply’ and close the dialog. The error bars are added to your graph.

2.5 Exporting Graph

You can export graph as a bitmap image: click the ‘File/Export Graph’ menu, choose the file and press ‘OK’.

 

3. Plotting function

To plot a mathematical function:

(i) Create a new document by clicking the ‘New’ button in the main toolbar. A new datasheet will be created, with two blank columns. Right click the first column (A) and choose ‘Create Series’. Set the range from 0 to 1 with 0.1 as increment.

Create Series

(ii) Right click the second column (B) and choose ‘Set Column Values’. Write the formula as shown is the figure, and press ‘Apply’ and then ‘OK’.

Column Values

(iii) To plot the function, right click the second column (B) and choose ‘Add/Remove Curve’. Press ‘Add’ and then ‘OK’.

 

4. Error Bars

To add error bars to your data, click the ‘Graph/Errors Bars’ menu. In the ‘Error Bar Settings’ dialog, click the ‘X Err’ or ‘Y Err’ to add error bars to the X data or the Y data. You can choose to fix the error value by clicking the ‘Fixed Value’ button, or give the error percentage by clicking the ‘% of Value’ button. Then set the fixed or percentage value. You can also select one existing error column by clicking on ‘Column X’ or ‘Column Y’ and selecting the column you want. You can choose the error bars line style, size and color. When ready click ‘Apply’ and close the dialog.

Error Bars

 

5. Exporting Data and Graph

To export datasheet content in ASCII file, select ‘File/Export Data’ menu, choose the file and OK. You can export graph as a bitmap image by clicking the ‘File/Export Graph’ menu.
SigmaGraph include an option to automatically export data in text file and plot in SVG format when the document is saved. To enable or disable this option, click the File/Auto Export menu.

 

6. Printing

To print a datasheet or graph, select ‘File/Print’ menu or click the ‘Print’ toolbar button.

 

7. Saving/Opening document

To save the active document (datasheet, graph, note, and so on), select ‘File/Save’ menu or click the ‘Save’ toolbar button (or CTRL+S). The SigmaGraph file extension is sid. To open a SigmaGraph document, select ‘File/Open’ menu or click the ‘Open’ toolbar button (or CTRL+O).

8. Math Console

SigmaGraph integrates an advanced mathematical console (Menu View / Console Window). It supports the most common and useful functions. It’s easy to use: to evaluate an expression, simply write it, using operators (+ - * / ^), parenthesis and mathematical functions and press ENTER. You can set variables, using fundamental constants, etc.

The following mathematical functions are supported:

Exp(x) ex
Ln(x) natural (neperian) logarithm
Log(x) decimal logarithm
Exp2(x) 2^x
Log2(x) base-2 logarithm
Sin(x) sine
Cos(x) cosine
Tan(x) tangent
Asin(x) arc sine
Acos(x) arc cosine
Asin(x) arc sine
Atan(x) arc tangent
hypot(x,y) hypotenuse, sqrt(x² + y²)
Sinh(x) hyperbolic sine
Cosh(x) hyperbolic cosine
Tanh(x) hyperbolic tangent
Abs(x) absolute value
Sqrt(x) square root
Cbrt(x) cubic root
Ceil(x) ceiling, the smallest integer not less than x
Floor(x) integer part of x
Int(x) integer part of x
Rand(x) generate a random number between 0 and 1
srand() initialize the random generator
Sign(x) sign of x (-1 if x < 0, +1 if x > 0 and 0 if x = 0)
Min(x,y) smallest value of x and y
Max(x,y) largest value of x and y
Erf(x) error function
Fact(x) factorial of x
J0(x) Bessel function of x of the first kind of order 0
J1(x) Bessel function of x of the first kind of order 1
Jn(n,x) Bessel function of x of the first kind of order n
Y0(x) Bessel function of x of the second kind of order 0
Y1(x) Bessel function of x of the second kind of order 1
Yn(n,x) Bessel function of x of the second kind of order n
Bern(x) Bernoulli function: x / (exp(x) – 1)
Time() elapsed time in seconds since January 1, 1970
Erfc(x) complementary error function

The math console supports also the following constants:

e Natural (neperian) logarithm base (2.71828...)
Pi 3.14159...
_q Electron charge (in C)
_m Electron mass (in kg)
_k Boltzmann constant (J/K)
_h Planck constant (Js)
_c Speed of Light in vacuum (m/s)
_e Electric constant (F/m)
_n Avogadro constant (1/mole)

Commands:

unit radian set the angle unit to radian
unit degree set the angle unit to degree
format short set the numerical format to short real
format long set the numerical format to long real

9. Specifications

9.1 System requirements

SigmaGraph runs on PC with Windows™ XP, Vista or Windows 7/8, or Linux 32bit or 64bit, or Android system. The basic hardware requirements for PC are:

· Pentium or better microprocessor.

· 256 MB RAM.

· 10 MB of hard disk space.

· VGA monitor with 800x600 or higher resolution.

9.2 Contact

http://www.hamady.org

sidi@hamady.org

9.3 Copyright

Copyright(C) 1997-2017 Dr. Sidi HAMADY
http://www.hamady.org
sidi@hamady.org
SigmaGraph is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties.
Dr. Sidi HAMADY expressly disclaims any warranty for SigmaGraph. SigmaGraph is provided ‘As Is’ without any express or implied warranty of any kind, including but not limited to any warranties of merchantability, noninfringement, or fitness of a particular purpose.

 Copyright(C) 2010-2017 Dr. Sidi HAMADY