Axis 282 Uživatelský manuál Strana 66

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 80
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 65
Chapter II-12 — Graphs
II-298
Function AddPlotFrame()
SetDrawLayer UserBack
SetDrawEnv xcoord=prel,ycoord=prel,fillpat=0
DrawPoly 0,0,1,1,{0,0,0,1,1,1,1,0,0,0}
SetDrawLayer UserFront
End
To use this function, include the WaveMetrics-supplied “AddPlotFrame” file. See Including a Procedure
File on page III-348 for instructions on including a procedure file.
In case you need to change its color or thickness, you should note that it is in the UserBack draw layer. That
is so the axes will be drawn on top of the frame. You might find that decreasing the thickness of the plot
frame to, say, 0.25 points will highlight the axes nicely.
Waterfall Plots
You can create a graph displaying a sequence of traces in a perspective view. We refer to these types of
graphs as waterfall plots, which can be created and modified using, respectively, the NewWaterfall oper-
ation on page V-456 and ModifyWaterfall operation on page V-435. At present, there is no dialog interface
that you can use to create waterfall plots, so you must either execute these commands on the Command
Line or in an Igor Procedure.
To display a waterfall plot, you must first create or load a matrix wave. (If your data is in 1D waveform or
XY pair format, you may find it easier to create a Fake Waterfall Plots as described on page Fake Waterfall
Plots on page II-300.) In this 2D matrix, each of the individual matrix columns is displayed as a separate
trace in the waterfall plot. Each column from the matrix wave is plotted in, and clipped by, a rectangle
defined by the X and Z axes with the plot rectangle displaced along the angled Y axis, which is the right-
hand axis, as a function of the Y value.
You can display only one matrix wave per plot.
The traces can be plotted evenly-spaced, in which case their X and Y positions are determined by the X and
Y dimension scaling of the matrix. Alternatively they can be plotted unevenly-spaced as determined by sep-
arate 1D X and Y waves.
To modify certain properties of a waterfall plot, you must use the ModifyWaterfall operation. For other
properties, you will need to use the usual axis and trace dialogs.
Because the traces in the waterfall plot are from a single wave, any changes to the appearance of the water-
fall plot using the Modify Trace Appearance dialog or ModifyGraph operation will globally affect all of the
waterfall traces. For example, if you change the color in the dialog, then all of the waterfall traces will
change to the same color. If you want each of the traces to have a different color, then you will need to use
a separate wave to specify (as f(z)) the colors of the traces. See the example in the next section for an illus-
tration of how this can be done.
The X and Z axes of a waterfall are always at the bottom and left while the Y axis runs at a default 45 degrees
on the right-hand side. The angle and length of the Y axis can be changed using ModifyWaterfall. Except
when hidden lines are active, the traces are drawn in back to front order. Note that hidden lines are active
only when the trace mode is lines between points.
Marquee expansion is based only on the bottom and right (waterfall) axes. The marquee is drawn as a box
with the bottom face in the ZY plane at zmin and the top face is drawn in the ZY plane at zmax.
Cursors may be used and the readout panel provides X, Y and Z axis information. The hcsr and xcsr functions
are unchanged; the vcsr function returns the Y data value (waterfall) and the zcsr returns the data (Z axis) value.
Zobrazit stránku 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 79 80

Komentáře k této Příručce

Žádné komentáře