EXT_SUBSET extracts a subset (in x and y) of a data cube and creates a new data and index array (data_out and index_out) by typing: IDL> ext_subset,index_in,data_in,index_out,data_out It is a mouse driven program.