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”