Code plots as anonymous functions