Each Axes is comprised of a title, an x-label, and a y-label. It provides a set of recipes to solve common graphics problems. Artist: An artist is the all which we see on the graph like Text objects, Line2D objects, and collection objects. df <- read.table(header=T, text=' def.percent period valence 1 6.4827843 1984 neg 2 5.8232425 1985 neg 3 -2.4003260 1986 pos 4 -3.5994399 1987 pos') Categorical And this is exactly what I’m going to show you next… Example: Assign Fixed Colors to ggplot2 Plot Line library (ggplot2) ggplot (mtcars, aes (x = drat, y = mpg)) + geom_point () Code Explanation. The issue is explained here. Here are some examples using automotive data (car mileage, weight, … data. Here's a modified version of the nycflights13 dataset that comes with R; it shows 2013 domestic flights leaving New York's three airports. 17.1 Facet wrap. line The x and y axes of bar plots specify the category which is included in specific data set. ggplot