I am starting to write a thesis for which I want to use MMA for all my plotting needs, mostly because a lot of the basic analysis has been done there. To ensure that I am applying styles consistently (plot colors, image size, label size, etc.), I need a method which I can use across multiple files.
There are several types of plots that I will need:
ListPlot/PlotListDensityPlot/DensityPlotListContourPlot/ContourPlot
I can think of several way of doing this:
- Define my own functions
thPlot,thListPlot, etc which have my default styles applied - Define my own style options into a variable, and use some combination of
FilterRulesandOptionsto make sure that options from that variable are applied to the right type of plot - Set default options using
Defaultfor the different types of plots.
I am assuming that each of my datasets (which may have one or more plots) will be self-contained mathematica files that I can re-run. So, if I decide to change the style in some central location (via one of the methods above) I can re-run the MMA files and get the plots in the new style.
What have people done in the past?


withOptionsthat knows what the head of the expression is. Keep forgetting that the function definition is simply a pattern that can be matched... – tkott Mar 20 '12 at 17:24