
Chapter II-12 — Graphs
II-295
Next, we drag the left margin to the right, drag the two free axes to the left, change the line styles of the
traces and finally create the axis labels (see Axis Labels on page II-282). In the axis label we use the Wave
Symbol from the Special pop-up menu to include the line style. Drag the axis labels into place to complete
the plot shown above.
Creating Stacked Plots
Igor’s ability to use an unlimited number of axes in a graph combined with the ability to shrink the length of an
axis makes it easy to create stacked plots. You can even create a matrix of plots and can also create inset plots.
Another way to make a stacked graph embedded subwindows. See Layout Mode and Guide Tutorial for
an example. It is also possible to do make stacked graphs in page layouts, using either embedded graph
subwindows or the traditional graph layout objects.
As an example, we will create the following graph:
First we create some data:
Make wave1,wave2,wave3,wave4
SetScale/I x 0,10,wave1,wave2,wave3,wave4
wave1= sin(2*x); wave2= cos(2*x)
wave3=cos(2*x)*exp(-0.2*x)
wave4=sin(2*x)*exp(-0.2*x)
Next, we use the extended form of the New Graph dialog:
1.0
0.5
0.0
-0.5
-1.0
10
86420
1.0
0.5
0.0
-0.5
-1.0
10
86420
Komentáře k této Příručce