Skip to content
Snippets Groups Projects
Commit c01a7635 authored by Christoph.Knote's avatar Christoph.Knote
Browse files

Updates to plotting of fluxes.

parent 79d840a9
Branches
Tags
No related merge requests found
......@@ -47,7 +47,8 @@ class ExperimentPlotter:
def fluxes(self, spec, fig=None, ax=None, plot_legend=True, plot_netflux=True,
scale_factor=3600.0 * 1000.0,
xlabel='Time in h', ylabel=r'Flux in ppbv h$^{-1}$', plabel=None):
xlabel='Time in h', ylabel=r'Flux in ppbv h$^{-1}$', plabel=None,
xaxis=True, yaxis=True):
'''
Plot time series of fluxes through a species.
'''
......@@ -82,7 +83,7 @@ class ExperimentPlotter:
horizontalalignment='center', verticalalignment='center')
if plot_legend:
ax.legend(loc='upper center', fontsize="xx-small")
ax.legend(loc='best', fontsize="xx-small", fancybox=True, framealpha=0.5)
return fig
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment