There is an easier way, however.
> That's what I like in matplotlib: no matter how hard you try,
> there's always a simpler solution you're not yet aware of...
hmm... if you try hard, you should be led to the easy way! while
subsx and subsy are documented in semilogx and semilogy, I added some
detail to make this more obvious.