How to Make Better Plots in MATLAB: Plot Wrapper

This is third and final of a series of posts on plotting in MATLAB. This series is focusing on suggestions and considerations to get your plot looking “just right” for your paper or presentation. In the first post, I talked about how to improve the look of curves. In the second post, I talked about fixing up the text, including axis labels and legends. Here, I will talk about using a plot wrapper to automate most of your work. I will also talk about exporting your figure to whatever format you need.

Continue reading “How to Make Better Plots in MATLAB: Plot Wrapper”

How to Make Better Plots in MATLAB: Text

This is the second of a short series of posts on plotting in MATLAB. This series is focusing on suggestions and considerations to get your plot looking “just right” for your paper or presentation. By the end, you will have a plotting function that will do most of the tweaks automatically. In this post, I’m talking about text in figures. These include axis labels, legends, and other annotations.

Continue reading “How to Make Better Plots in MATLAB: Text”

How to Make Better Plots in MATLAB: Curves

This is the first of a few posts on plotting in MATLAB. I’ll be describing more than the mechanics of calling the plotting (and related) functions. This series will present suggestions and considerations to get your plot looking “just right” for your paper or presentation. By the end of the series, you will have your own plotting function that can automate as much as possible. I’m focusing on 2D plots generated by the MATLAB “plot” function, which is the most common in MATLAB, but most of the ideas also apply to the other plotting functions, too (like “histogram”), or even to plotting in general (via MATLAB or elsewhere). In this first post, I’m talking about improving the curves themselves. The next post describes annotations and other text.

Continue reading “How to Make Better Plots in MATLAB: Curves”