Creating plots that are publication-ready is essential, simply because we must be able to share our knowledge. In this section, we're going to take a look at plotting multiple variables on a single plot, adding a legend to that plot, and then saving our plots to a file. Let's go back to our notebook and check the last plot that we created in the previous section, which was the 200-day moving average of the stock price of Apple since the beginning. I want to point out a few things about our previous plot. First, we have a legend at the top that just says plot1.dat, and, if you've never seen this before, currently that doesn't really mean anything to anyone. Also, there's no way in this mechanism to save to ...
Creating publication-ready plots
Get Getting Started with Haskell Data Analysis now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.