|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./guide replace.pro
replace |
Replace spectral channels by interpolation, or with zero values or blanks. If neither zero or blank are set, the data between bchan and echan are replaced with a straight line connecting the two end points. If neither bchan or echan are given the user is prompted select the region to be replaced on the plotter.
getrec,1 chan ; set the X-axis to channels replace,1023,1025 ; replace the channel range 1023-1025 freq ; set the X-axis to GHz replace ; prompt user for ranges and replace the values replace,15,/zero ; set the data value at channel 15 to 0.0 replace,2014,/blank; set the data value at channel 2014 to NaN