-l automatic legend symbol

Hello there,

I wanted to update one of my script to take advantage of the newly -l feature for grdvector … However I can’t seem to figure how to change the vector head.

It is said in the doc that the symbol is automatically chosen, but could be change by appending the +S option. But I fail.
(I also tried stick-vectors, but the legend stays an arrow)

Any help ?


Well, I seem to figure out the solution using legend -T, then modifying it … but still, if there’s a more direct approach I’m all ears.

Please look at the examples in test/grdvector.

only veclegendg.sh is using -l option, but nothing about the +S modifier.

Please make a simple example that shows a problem and post as issue on GitHub.