Update examples to use new plotting API

N is different. Typo or intentional change?