Return to site

Multiple scatter plots in r

broken image
broken image

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.

broken image

To generate the plot above, copy and paste the following code at the IDL command line.

broken image

'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.

broken image