Igor Quick Reference

From Jimenez Group Wiki
Revision as of 16:26, 30 July 2009 by Sesamest (talk | contribs) (Graphs)
Jump to: navigation, search

This page is intended to be a resource for the beginning and intermediate Igor user to quickly find help and tips about common tasks in Igor. Much of the information on this page is taken from the Igor "Getting Started" Introduction and Guided Tour, but is organized by topic so that the information is easy to find. Users of this page should also search (ctrl+f) for terms in case what they're looking for isn't found in the topic they expect.

This page was started by Ingrid Ulbrich.

Waves

Waves are vectors (arrays) in which data is stored. Point number counts from 0 (i.e., MyWave[0] is the first element of the wave).

Waves have inherent x values that are by default equal to the point number. If you display a wave, it is automatically plotted versus the x value (0, 1, 2, etc.). It is possible to change the inherent wave scaling (see setScale), or you can plot a y-wave versus an x-wave.

Helpful Wave Functions

  • make /O /N=
  • duplicate /O
  • setScale

Putting Data in Waves

In a table line

As a list of values, in the command line

Equations

Graphs

Helpful Graph Functions

  • display
  • appendToGraph
  • legend

Modifying Traces

Modifying Axes

Adding Text

Adding Lines

Using Cursors

Strings

Helpful String Functions

Variables

Helpful Variable Functions

  • NVAR
  • NVAR_exists

Functions

The Local Procedure File

Igor Procedure Files (.ipf)

Local vs. Global Objects