Added ability to plot gradients in trackPlotter