psxy vector head on line
|Target version:||Candidate for next bugfix release|
I would like to plot a vector head on a straight line given x, y coordinates.
The following command (rewritten from an example in the psxy documentation) fails:
gmt psxy -R0/50/-50/50 -JX6i -W0.5p+v0.15i -Baf << EOF > map.ps 10 10 30 -20 EOF
No line is plotted at all.
In the psxy documentation under the -W argument it is stated:
+vvspecs will place a vector head at the ends of the lines. You can use +vb and +ve to specify separate vector specs at each end [shared specs]. See the Vector Attributes for more information.
Using the option -W0.1p+ve gives a warning: Warning: Length unit a not supported - revert to default unit [cm] and only the straight line is plotted.
Am I doing something wrong?
#3 Updated by Paul over 1 year ago
- Status changed from In Progress to Resolved
- Assignee set to Paul
- Target version set to Candidate for next bugfix release
- % Done changed from 0 to 100
Fixed in r16460. Now, even a Cartesian line of just 2 points gets resampled first to make sure lines that are potentially shortened due to vector heads will have 3+ points.