added example for plotting from theta file