​Sorry if this ultimately goes through more than once. I am having some
issues with submitting it
I need to teach coordinate systems and transformations to a college
robotics class. I have used Tikz in the past to generate some graphics,
but I want to switch to doing everything in matplotlib
You didn't label any of the series that you put on the graph, so the legend
has no idea what to call anything thing.
Like the warning (not error) says, use the label parameter on your calls to
plot, e.g., ax1.plot(..., label='Concentration') or whatever.
Note though, that you're mixing up interfa
In gnuplot it is quite easy to create two axes, but I can't figure out
how to do it in matplotlib. I'm trying this:
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
for key1 in keys1:
ax1.plot(x, y, style, label=label, color=color, linewidth=3)
ax1.set_xlabel(xlabel