
Chapter II-12 — Graphs
II-258
You may wish to use the Log Colors option when the zWave spans many decades and you want to show
more detailed changes of the smaller values. With the normal linear colors, this exponential zWave (shown
in black and the log of zWave is shown in red) when applied to the thick yWave trace results in a trace that
is mostly red:
Using ModifyGraph logZColor(yWave)=1 spreads the colors out (the ColorScale has also been set to
use a log axis):
The zMin and zMax settings define the range of values in your Z wave to map onto the color table. Values
outside the range will take on the color at the end of the range. If you choose Auto for zMin or zMax, Igor
will use the smallest or largest value it finds in your Z wave. If any of your Z values are NaN, Igor will treat
those data points in the same way it does if your X or Y data is NaN. This depends on the Gaps setting in
the main dialog.
If you select Color Index Wave mode, the color of data points on the trace will be derived from the Z wave
you choose by mapping its values into the X scaling of the selected 3-column Color Index Wave. This is
similar to the way ModifyImage cindex maps image values (in place of the Z wave values) to a color in a
3-column color index matrix. See Indexed Color Details on page II-364.
If you select Three-column Color Wave mode, data points are colored according to Red, Green and Blue
values in the three columns of the selected wave. Each row of the three-column wave corresponds to a data
point on the trace. This mode gives absolute control over the colors of each data point on a trace.
Create a graph:
make/N=5 Ywave={1,2,3,2,1}
display Ywave
ModifyGraph mode=3,marker=19,msize=5
Komentáře k této Příručce