I am trying to plot my shear-wave splitting parameters on GMT by using psxy, but I misunderstood something .
if legend is
45.50 54.50 30 1.0
I expected to have a line with an azimuth of 30 degrees from the vertical, but it seems I have more a line with an azimuth of 60 degrees from the vertical. I am not sure what is wrong with my pixy
use -SV (capital V) to get azimuth CW from North instead of angle CCW from East (-Sv), and I also suggest to use -SVB to get the stick/vector balanced on the center point, rather than pointing away from it, because splitting “fast axes” are orientational (0…180 deg) rather than directional (0…360 deg)
Hi!
I’m new to the community and I apologize if this is not the right place to ask this question.
I am trying to do the same (plot azimuth lines from SWS analysis), however, I cannot find a way to plot the lines balanced at the center point using -SVB or -SVb as specified in the documentation. Lines seem to start from the midpoint (event location).
This is the line I am using:
gmt psxy -R -J stationX.dat -SVB0c -Wthinner,limegreen -l"Events"+f15p -B > azimuth0.ps
I’ll have a look at that. I think we check if the header size is > 0 but if no header (+b or +e) are requested one should be able to not give on or give 0.
You are mixing old GMT 4 syntax (B) with GMT 6 syntax (+jc) and the parser sees it as an old-GMT4 syntax and you get this (harmless) warning. I suggest you use GMT 6 syntax going forward, which in your case would be -SV0+s+jc.