Use `.setLinSpaced` in example.cpp