
Chapter II-12 — Graphs
II-303
Graph Preferences
Graph preferences allow you to control what happens when you create a new graph or add new traces to
an existing graph. To set preferences, create a graph and set it up to your taste. We call this your prototype
graph. Then choose Capture Graph Prefs from the Graph menu.
Preferences are normally in effect only for manual operations, not for automatic operations from Igor pro-
cedures. This is discussed in more detail in Chapter III-17, Preferences.
When you initially install Igor, all preferences are set to the factory defaults. The dialog indicates which
preferences you have not changed by displaying “default” next to them.
The Window Position and Size preference affects the creation of new graphs only. New graphs will have
the same size and position as the prototype graph.
The Page Setup preference is somewhat unusual because all graphs share the same page setup settings, as
shown in the Page Setup dialog. The captured page setup is already in use by all other graphs. The utility
of this category is that new experiments will use the captured page setup for graphs.
The “XY Plots:Wave Styles” preference category refers to the various wave-specific settings in the graph,
such as the line type, markers and line size, set with the Modify Trace Appearance dialog. This category
also includes settings for Waveform plots. Each captured wave style is associated with the index of the
wave it was captured from. The index of the first wave displayed or appended to a graph is 0, the second
appended wave has an index of 1, and so on.These indices are the same as are used in style macros. See
Graph Style Macros on page II-305.
If preferences are on when a new graph with waves is created or when a wave is appended to an existing
graph, the wave style assigned to each is based on its index. The wave with an index of 2 is given the cap-
tured style associated with index 2 (the third wave appended to the captured graph).
You might wonder what style is applied to the fifth and sixth waves if only four waves appeared in the
graph from which wave style preferences were captured. You have two choices; either the factory default
style is used, or the styles repeat with the first wave style and then the second style. You make this choice
in the Miscellaneous Settings dialog, with the Repeat Wave Style Prefs in Graphs checkbox. With that box
selected, the fifth and sixth waves would get the first and second captured styles; if deselected, they would
both get the factory default style, as would any other waves subsequently appended to the graph.
The XY Plots:Axes and Axis Labels preferences category captures all of the axis-related settings for axes in
the graph. Only axes used by XY or Waveform plots have their settings captured. Axes used solely for an
category, image, or contour plot are ignored. The settings for each axis are associated with the name of the
axis it was captured from.
Indicates that the current
page setup is the factory
default page setup.
Captures preferences for
the selected items from the
active graph window.
Resets preferences for the selected
items to the factory defaults.
Komentáře k této Příručce