|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./plotter chantox.pro
| chantox |
function chantox(chans, [type=integer], [dc=data container]) |
Convert the given channels numbers to the x values appropriate for the currently displayed data container and x-axis settings.
a=chantox(100)
Get the frequency at channel 100 for the current plot
Note that the units of a depend on what the current x-axis is.
If x-axis is frequency, the units (MHz, GHz, Hz) will be the
same as that in the current display. If the x-axis is something
else, then the units of a will be Hz.
a = chantox(100,type=1)
Get the velocity at channel 100 for a data container at
buffer 7.
a = chantox(100,type=2,dc=!g.s[7])
| Parameters | |
|
chans |
The channel numbers to convert. |