
Chapter II-12 — Graphs
II-238
The Target Window
Operations that apply only to graphs (such as ModifyGraph and ShowInfo) affect the top-most graph
window. Operations that apply to any window (such as Modify) affect the target window.
Typing in Graphs (Macintosh)
If you type on the keyboard while a graph is the top window, Igor brings the command window to the front
and your typing goes into the command line. (The only exception to this is when a graph contains a selected
SetVariable control.)
Graph Names
Every graph that you create has a graph name which you can use to manipulate the graph from the
command line or from a macro. When you create a new graph, Igor assigns it a name of the form “Graph0”,
“Graph1” and so on. When you close a graph, Igor offers to create a window recreation macro which you
can invoke later to recreate the graph.
The name of the window recreation macro is the same as the name of the graph. The graph name is not the same
as the graph title which is the text that appears in the graph’s window frame. You can change a graph’s name
and title with the Window Control dialog, accessed by pressing Command-Y (Macintosh) or Ctrl+Y (Windows).
Creating Graphs
You create a graph by choosing New Graph from the Windows menu.
You can also create a graph by choosing New Category Plot, New Contour Plot or New Image Plot from
the New submenu in the Windows menu.
Here is the simple version of the New Graph dialog:
You select the wave(s) to be displayed in the graph from the Y Wave(s) list. The wave is displayed as a trace
in the graph; by default the trace is a segmented line joining the Y values of the wave. Sometimes we refer
to traces as waves, though a trace is actually just a representation of the wave.
Click if you have multiple XY pairs, if you need several
pairs of axes, or if you want to plot a subset of a wave.
When selected, Y values are plotted on the horizontal axis.
Pick waves containing
Y data. Shift-click for
multiple selections.
Pick wave containing
X values or pick
_calculated_ for
waveform data
Kommentare zu diesen Handbüchern