Keywords: R-basic cars plot example.svg en A simple graph to illustrate basic plotting routines in R plot abline lines text title own HYanWong 2009-01-13 Created with R using the following commands <pre> svg R-basic_cars_plot_example svg 4 4 8 plot cars abline -17 6 3 9 col red abline adds a straight line to the plot lines lowess cars col blue lines adds a sequence of joined-up lines text 15 34 Smoothed lowess line srt 30 col blue text adds text text 15 45 Straight line slope 3 9 intercept -17 6 srt 32 col red srt rotates title 1920s car stopping distances from the 'cars' dataset dev off </pre> Uncategorized 2015 March 23 |