Hello, please help me look through this code, I want to plot histogram but I don’t know where is the mistake is, below is the code: gmt pshistogram -R0/60/0/0+r -JX6.4i/5.4i rmsE.dat -Gorange -Bxa2f1+l"rmsEast (mm/yr)" -Bya20f5+l"Frequency"+u" %" -BWSne+t+glightblue -W1p -Z1 -T1 > t.ps the data is like this
8.430263
10.42006
6.435419
9.068575
6.161047
8.058523
6.860681
6.763001
6.007344
7.714333
9.152691
6.499804
12.099011
6.125433
6.136947
7.843449
7.238442
4.283563
6.963904
7.227102
5.233555
6.518832
6.173463
4.648691
12.399062
7.393663
6.500956
0.010026
8.424685
10.007572
9.617462
7.370863
6.934869
6.664279
6.572041
11.581282
7.955082
6.471528
6.617453
6.722783
6.660674
6.583272
6.917049
6.221112
6.035357
6.626396
7.040319
6.384417
6.339256
6.712854
7.841721
10.180902
8.178168
7.552116
14.873969
8.400069
6.467315
6.874266
I got an inverted histogram
Not sure what you get without a figure. However maybe try removing +r at the end of -R.
please sorry for replying late. It work perfectly, I am really grateful. thank you so much