Linear gradient with some inferred positions