Add function for breaking paths plot into multiple plots.