Analytic functions with blackbody

See #3077 
@astrofrog , I have't been keeping up with "plot directive" feature. Where can I find an example of its implementation?