I'm looking for a way to create a variable that I can use to hold all of the graphics directives for, say, a plot command. For example, I have 8 plots with variations on the following:
Plot[{Im[eppar[400*10^12, t, 0.1]],
Im[eppar[400*10^12, t, 0.2]],
Im[eppar[400*10^12, t, 0.5]],
Im[eppar[400*10^12, t, 0.8]]
}, {t, tlow, thigh}, (**directives**)]
There's a fairly long list of directives I'm using for the plots, and I'd like to avoid having to modify 8 long, complicated expressions every time I want to change anything. Does anybody know of a solution to this? It would make my code much cleaner.
With
like in here. $\endgroup$ – Kuba♦ Jul 30 '13 at 17:33eppar
so we can work with your code. $\endgroup$ – m_goldberg Jul 30 '13 at 17:59Directive
. $\endgroup$ – C. E. Jul 30 '13 at 18:22setSpec
in my second answer is directly applicable.) $\endgroup$ – Mr.Wizard Jul 30 '13 at 20:12HoldAll
functions, but the question asked here is not about that technicality. It is much closer (may be a dupe) to this one. I hope I won't have to repeat this comment a third time (i.e this one won't get deleted). $\endgroup$ – Leonid Shifrin Jul 30 '13 at 21:35