From the course: Command Line Data Analysis

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

gnuplot: Box plots

gnuplot: Box plots

- [Instructor] I usually like to start exploring the data with box plot. Box plot are these boxes, which the middle line is the median of the values. The lower one is the 25 percentile and the 75 percentiles. These whiskers are known as the interquartile range. And the dots are usually outliers. So, if you look at data and daily_trips that we have, and let's pipe it through here just to see, we have the date and the number of rides and comma between them. So first thing I need to do is use sed to replace the comma with a space because this is a format that the gnuplot expects. You can also sed that the limiter in gnuplot empty. And now I'm going to pipe it to gnuplot. And then I'm going to tell it -e to execute the script. Now, by default, when you run gnuplot on your own terminal, when it's done creating the chart, it's going to pop up a viewer that you can have a look at the chart, zoom in, and do several other…

Contents