ttools: reorder the lines in the Api example for clarity

Now it's easier to see how to do multi-layer plots.
ttools: add a histogram to the API plot example