Use type=l to reduce the need for lines() calls.