Possible Duplicate:
Consistent Plot Styles across multiple MMA files and data sets
So, here's my problem; I have a lot of data that is shown in different plots.
I want all the plots to have the same options (PlotStyle, Axes, BaseStyle, FrameTicks, etc...).
I also want to be able to modify these options (because the size and FontSize change depending on where I want to use the plots, in my thesis or in a presentation) and do that without having to change each Plot function by hand.
I guess what I'm looking for is something like this:
optionPacket = PlotStyle -> {RGBColor[1, 0, 0]}, Frame -> True,
BaseStyle -> {FontSize -> 20};
and then use it like this:
ListPlot[mydata, optionPacket]
ListPlot[mydata2, optionPacket]
Is there any way to accomplish this? (What I just posted obviously doesn't work or I wouldn't be asking).



optionPacket = {RGBColor[1, 0, 0], Frame -> True, BaseStyle -> {FontSize -> 20}};and then doPlot[Sin[x], {x, -1, 1}, PlotStyle -> optionPacket]. Notice your syntax is incorrect. – b.gates.you.know.what Nov 09 '12 at 12:26