2. Create a pdf plot (you might want to use a function) to display all of the point characters (i.e., pch=1 to pch=25). Label each of them with their number. The way I would do this is by using plot() to set up my axes (set the type to be a blank plot, and use xlim and ylim to set the axis limits), then I would use points() to put the different pch’s on the plot, and then text() to label them.
3. Read in the data set “hw7.dat”. In a pdf file, using a full page, plot a histogram of each variable, i.e, the top third of the page will be a histogram of x1, the middle third, a histogram of x2, and the bottom third, a histogram of x3. Use the same axis limits for all three plots. Label all of the y axes but only the x-axis of the bottom plot. Title each plot. Use a different color of diagonal lines to color in the bars of each histogram. Adjust the number of bins in the histogram, so that it reveals the shape of the data.
4. In a win.metafile, plot x1 versus x2, x1 versus x3, x2 versus x3, and (x1+x2) versus x3, arranged in 2 rows and 2 columns. Label everything and make it aesthetically pleasing.