Re: Arbitrary rotation of symbols?
Paul Wessel <[email protected]> Thu, 17 Jul 2014 11:00:59 -1000
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
I've added more protection against any NaNs present in the non-x/y arguments given to various symbols in psxy and psxyz. Such points are skipped with a warning. In r13362. Paul On Jul 17, 2014, at 10:37 AM, Paul Wessel <[email protected]> wrote: > Crashes for me in trunk because you are passing NaN as the angle. I guess we should skip those records with a warning. > -p > > On Jul 17, 2014, at 10:14 AM, Joaquim Luis <[email protected]> wrote: > >> It doesn't crash here (but I'm using 5.2dev version) and needed to use the -S=...+n modifier, otherwise no heads on your (short) vectors. >> >> psxy Onshore_Lineations.gmt -JX14d -R-118/-102/68/74 -Ba -S=1c+je+e+n -P -Gred --MAP_VECTOR_SHAPE=1 > lixo.ps >> >> >> note also that the +s says one can ... >> >> +s means the input angle, length is instead the x, y coordinates of the vector end point. >> >>> Thanks for the hint about mapproject; I've genrated a file with >>> x,y,azimuth,distance (in metres). >>> >>> Here's the command I used in psxy: >>> >>> psxy Onshore_Lineations.gmt -J -R -B -O -K -S=7+e+golivedrab3 -W >> map.ps >>> >>> I ran into a malloc error, though: >>> >>> ERROR: Caught signal number 11 (Segmentation fault) at >>> /usr/local/gmt-5.1.1/bin/../lib/x86_64-linux-gnu/libgmt.so.5(gmt_circle_pen_poly+0x239)[0x7f7831e59de9] >>> [0x0] >>> *** Error in `psxy': malloc(): memory corruption: 0x0000000000e05a60 *** >>> >>> I've attached the goevectors file that caused the crash. Should I file a bug report? >>> >>> ~ Eric. >>> >>> Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first. >>> To formally report bugs or request features, please register and add New Issue on >>> gmt.soest.hawaii.edu >>> >>> To unsubscribe, send the message "signoff gmt-help" to >>> [email protected] >>> >>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on >>> gmt.soest.hawaii.edu >>> instead. >>> >> >> Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first. To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" to [email protected] Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.eduinstead. > Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first. To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" to [email protected] Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.