# How to easily make ggplot2 type of time series plot, ezplot - Part 6

## Master R

Time series plot is commonly used and this post will show you how easy it is to make them using the mk_lineplot() function from the ezplot package.

#### Prerequisites

1. Install a set of development tools
• On Mac, install the Xcode command line tools.
• On Linux, install the R development package, usually called r-devel or r-base-dev.
2. Install devtools by running install.packages("devtools") in R.

#### Finally, we can plot two time series and color them differently. For example, we can plot annual total budget and boxoffice over the years on the same plot.

I created ezplot because there are too many detailed commands to remember when customizing a ggplot. If ezplot has improved your productivity, please tell your friends about it. In addition, I’m writing a book called ezplot: How to Easily Make ggplot2 Graphics for Data Analysis, and it is 20% complete. Read the sample chapters for FREE and get notified when the book is published.