Axis 282 Manual do Utilizador Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 80
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 28
Chapter II-12 — Graphs
II-261
The last command used the \W escape sequence to specify which marker to use in the legend (08 for the
circle marker in this case) and the marker thickness (6 means 1.0 points).
The \k escape sequence specifies the color to use for stroking the marker specified by \W. You would use
\K to specify the marker fill color. Colors are specified in RGB format where each component falls in the
range 0 to 65535.
This example uses double-backslashes because a single backslash is an escape character in Igor literal
strings. Since we want a backslash in the final text, because that is what Igor requires for \k and \W, we
need to use a double-backslash in the literal strings.
If you were to enter the legend text in the Add Annotation dialog, you would use just a single backslash
and the dialog would generate the requires command, with double-backslashes.
Trace Offsets
You can offset a trace in a graph in the horizontal or vertical direction without changing the data in the associated
wave. This is primarily of use to offset traces so that you can compare their shape even though they have differ-
ent baseline values, to offset traces which have the same baseline value so that you can spread them out, or to
create a “poor man’s waterfall plot” (i.e., a waterfall plot without any hidden line removal). See Waterfall Plots
on page II-298 for more details about using Igor’s built-in capabilities for creating waterfall plots.
Each trace has an X and a Y offset, both of which are initially zero. If you select the Offset checkbox in the
Modify Trace Appearance dialog, you can use the Trace Offset subdialog to enter an X and Y offset for the
trace selected in the main dialog.
You can also set the offsets by clicking and dragging in the graph. To do this, click the trace you want to
offset. Hold the mouse down for about a second. You will see a readout box appear in the lower left of the
graph. The readout shows the X and Y offsets as you drag the trace. If it doesn’t take too long to display the
given trace, you will be able to view the trace as you drag it around on the screen. If the cursor changes to
a four pointed arrow then Igor has calculated that live update will be too slow. Drag the arrow to the spot
on the graph where you want the point that you clicked on to be moved. In either case, when you release
the mouse, Igor will set the wave’s X and Y offsets appropriately.
If you press Shift while offsetting a wave, Igor will constrain the offset to the horizontal or vertical dimension.
You can disable trace dragging by pressing Caps Lock, which may be useful for trackball users.
Offsetting is undoable, so if you accidently drag a trace where you don’t want it, choose Edit Undo.
It is possible to attach a tag to a trace that will show its current offset values. See Dynamic Escape Codes
for Tags on page III-48, for details.
If autoscaling is in effect for the graph, Igor tries to take trace offsets into account. If you want to set a trace’s
offset without affecting axis scaling, use the Set Axis Range item in the Graphs menu to disable autoscaling.
1.0
0.8
0.6
0.4
0.2
0.0
-0.2
-0.4
-0.6
600500400300200
x10
-9
x offset= 7.39837e-08
y offset= -0.487352
Vista de página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 79 80

Comentários a estes Manuais

Sem comentários