Error Rates with Sequences

Watching this video:

I saw this error profile below. How was that chart created? If I wanted to reproduced this chart how would I go about it? I assume these are plots of seq error comparisons of MOCK reference to MOCK with shh.trim command used below.

seq.error(fasta=GQY1XT001.shhh.trim.unique.good.filter.unique.precluster.pick.pick.pick.fasta, name=GQY1XT001.shhh.trim.unique.good.filter.unique.precluster.pick.pick.pick.names, reference=HMP_MOCK.v35.filter.fasta, processors=2)

Overall error rate: 6.5627e-05
Errors Sequences
0 5912
1 7
2 3
3 12
4 5
5 3
6 1
7 0
8 0
9 1
It took 1 secs to check 96 sequences.

Here is the paper that figure came from: