I have some GPS position data and I need to plot them coloring the line in-between with a different color guided by speed value.
Then I need to create a color map to give a legend to the user.
I can't find any tutorial or example using line plot, only with ImageView or scatterPlot, for the line color I manage with a RGB tuple list with color scale. I don't know how to create the legend, to me it can even be a 'static' image only show color and value.