Fields are: Name, lat, long, diameter, dnd, erad, cstruct myTemplate = ASCII_TEMPLATE() Read in the data. Navigate to 'VenusCraterData.csv' in the \examples\data directory of your IDL installation.
To generate the plot above, copy and paste the following code at the IDL command line.
'VenusCraterData.csv' contains the following fields: We will use this data to construct a simple SCATTERPLOT and accompanying regression line using LINFIT and PLOT. The \examples\data directory of your IDL installation contains a file named 'VenusCraterData.csv', which, oddly enough, contains basic information about impact craters on Venus. The first plots impact crater data with a regression line and the second creates a plot of pixel values in two different bands of an image. This topic presents two basic examples using the SCATTERPLOT function.