Difference between revisions of "User Manual"

From LIBISIS
Jump to navigation Jump to search
m
Line 156: Line 156:
  
  
*sdp, set_default_property, sup, set_user_propety, ra, reset_all, rd, reset_default
+
*[[Other Commands#Renaming a Plot|rename]] - rename a plot but keep default properties
  
*gallnt, gallh, check_figure, chkf, get_handle, gh, alias
+
*[[Other Commands#Extracting Information|fromplot]], [[Other Commands#Other Information|get_all_name_tags]], [[Other Commands#Other Information|get_all_handles]], [[Other Commands#Other Information|get_handles]], [[Other Commands#Other Information|check_figure]] - get information from a plot
  
*undop
+
* [[Other Commands#Setting Default Properties|set_user_preferences]], [[Other Commands#Setting Default Properties|set_default_properties]], [[Other Commands#Setting Default Properties|reset_default]], [[Other Commands#Setting Default Properties|reset_all]] - set (or reset) default properties for plot types
  
*color_slider
+
*[[Other Commands#Undo Last Plot|undop]] - undo the last plot
  
*rename
+
*[[Other Commands#Add a Color Slider|color_slider]] - add a color slider to a [[Plot Commands#Two Dimensional Plots|two dimensional plot]]
 
 
*fromplot
 
  
 +
*[[Other Commands#Alias|alias]] - make an alias for a function
  
 
===[[User Reference]]===
 
===[[User Reference]]===

Revision as of 14:09, 31 March 2008

There are many different Matlab commands within Libisis. These include basic commands, such as taking the exponential of a dataset, through to integration and plotting commands. The following is an online user manual for the matlab interface of the Libisis software.

Overview

There are many different object types within Libisis used to store experimental data. Once an object is created, functions exist to manipulate the data contained within. The most common objects for plotting and data manipulation are IXTdataset_1d and IXTdataset_2d objects. IXTrunfile objects contain all raw data from a run.


IXTdataset_1d objects store signal and error information against one dimension (the x axis). Label and titling information is also stored. IXTdataset_2d objects also contain a second dimension (the y axis). All relevant data pertaining to a run can be stored in an IXTrunfile object. The object can be thought of as an array of IXTdataset_2d objects with a lot of additional information.


Data is read into these objects (using methods described below) and can then be manipulated using many different tools and functions described in this documentation.


General Behaviour

Most functions share a general behaviour outlined here

Data Manipulation Functions

Input and Output Functions


Binary Operators

Binary operators such as +, -, *, etc. are used to perform arithmetic operations between datasets and/or numbers


Elementary Functions

Elementary functions act on each signal element identically

  • log, exp - logarithmic functions


Data Manipulation Functions


Rebin Functions

Three different methods exist for rebinning a function. Rebin will rebin the data into user defined bins. Rebunch will bunch together a user defined number of bins. Regroup rebins data using a minimum binwidth given by the user but insures that the new bins are coincident with the existing bins.


regroup_y, regroup_xy


High Level Functions

  • smooth - Smooths out signal data to avoid small, sharp deviations
  • unspike - Removes any large spikes from the data
  • fit - Fitting data to known functions and giving curves of best fit
  • func_eval - Evaluate a function at the given x and y data points


Special Functions

Special functions are used to transform data between different types.


Graphics

Using Default Properties and Name Tags

Default properties and name tags are an integral part of Libisis graphics. They allow greater control of plots and it is particularly important to know about them when building applications on top of the Libisis structure. Names and tags can be used to easily identify and set properties for plots.


Plot Commands

  • ds, da, mp - Two dimensional plotting commands
  • sm - Sliceomatic (three dimensional) plotting


Pre-Emptive Formatting


Retrospective Formatting

  • lx, ly, lz - Changes the limits of the axes
  • aspect - changes the aspect ratio
  • dxyz - returns the co-ordinates of a clicked point on a plot, and/or marks the point with a label


Other Commands

  • rename - rename a plot but keep default properties
  • undop - undo the last plot
  • alias - make an alias for a function

User Reference

Information for reference purposes, such as valid linestyles, marker styles etc.


Redundant

dean's test page