pshistogram GMT4.5.11: strange results
Sigward Funke <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Organization | Institut für Geophysik |
| Message-ID | <[email protected]> |
Hi, first my questions related to pshistogram: * Could there some influence of rounding and margins of the bins? * Can I force 0.1 binning centered at 0.5, 0.6, 0,7 ... 1.5, 1.6, 1.7? * Or more general: Can I define one margin of the first (or last) bin? Background: Struggeling with pshistogram I created following script: ------- start test_pshistogram.sh ---------- pshistogram -Io -W0.1 -V <<END 1.7 1.4 0.9 0.8 0.8 0.7 0.7 0.6 0.5 0.5 0.5 0.5 END ------- end test_pshistogram.sh ---------- Calling this script I get: $ $ ./test_pshistogram.sh pshistogram: 12 points read pshistogram: WARNING: 12 multiple modes found pshistogram: Extreme values of the data : 0.5 1.7 pshistogram: Locations: L2, L1, LMS; Scales: L2, L1, LMS 0.8 0.7 0.6 0.381385035698 0.29652 0.14826 pshistogram: min/max values are : 0.5 1.7 0 5 0.5 5 0.6 2 0.8 2 0.9 1 1.3 1 1.6 1 $ The lines beginning with "pshistogram" fit my expections, but in the table of the last lines I would expect: 0.5 4 0.6 1 0.7 2 0.8 2 0.9 1 1.4 1 1.7 1 Playing with the Option -F the confusion increases. Adding "-F" I get 0.45 4 0.55 1 0.65 2 0.75 2 0.85 1 1.35 1 1.65 1 Despite of the offset of 0.05 this result looks better, but it isn't what I want. Should I add 0.05 to the first column? Any hint is welcome! Best Regards Sigward Funke To unsubscribe, send the message "signoff gmt-help" to [email protected]