Good afternoon all, I need to plot three histogram in one plot but having difficulty in ploting it. Please can someone help me look through the code to effect corrections. Below is the code and the data
gmt pshistogram -R2.0/20.0/0/50 -JX6.4i/5.4i sub.dat -Gblue -Bxa2f0.5+l"rms (mm)" -Bya20f5+l"percentile of stations"+u" %" -BWSne+t+gwhite -W1p -Z1 -T1 > t.ps
gmt pshistogram -R0.2/4.0/0/50 -JX6.4i/5.4i hhydl.dat -Ggray -BWSne+t+gwhite -W1p -Z1 -T1 > t.ps
gmt pshistogram -R2.0/20.0/0/50 -JX6.4i/5.4i ppp2.dat -Gblack -BWSne+t+gwhite -W1p -Z1 -T1 > t.ps
ppp2.dat hhydl.dat sub.dat
|8.539443751|2.793491197|8.974794353|
|6.963186534|2.251103076|6.925603011|
|6.329450077|2.65408556|6.663304275|
|6.348389517|1.211269582|6.295151696|
|9.899821016|3.06050389|9.76200799|
|6.943500062|1.208766446|7.011984627|
|5.728111584|1.702763465|6.055856898|
|6.624656962|3.436888768|6.620713877|
|7.081870368|2.463785277|6.256174108|
|5.966633756|2.463785277|6.592324245|
|5.879738679|1.393948001|6.029078984|
|5.594848446|1.244776988|5.543047509|
|5.724015326|1.223111383|5.760044351|
|5.601703501|0.874219275|5.509935467|
|10.00455383|2.674275105|10.18516814|
|7.151081796|1.898856026|6.697511834|
|6.348923988|2.6117384|6.592584963|
|11.41134819|3.236566727|10.70061616|
|6.346583128|3.716904718|7.097045056|
|7.642315153|3.250662591|6.9179849|
|7.312678627|1.44968405|6.660744996|
|6.41285599|1.368253977|6.113345765|
|6.075623275|0.689668914|6.08295951|
|5.935107667|0.629668685|5.840904444|
|4.636129544|0.642480889|4.647255587|
|5.780770311|0.542889264|5.703096507|
|5.415100371|0.526189647|5.43758712|
|7.486011791|2.330154086|7.439875838|
|7.27158348|0.591988742|7.141011675|
|8.838521984|0.377146043|8.585294209|
|6.741957305|0.902871325|6.128497516|
|5.318814591|0.83732456|5.271771612|
|6.718553759|3.036256289|7.00692838|
|7.831382033|0.631555611|7.799039185|
|6.503427287|1.227022233|6.38968458|
|6.527301059|1.84765559|6.45108922|
|8.054188386|0.543284078|7.632563382|
|6.473973239|1.471389512|6.386191159|
|5.180842309|0.620617907|5.142657323|
|7.913062831|1.99197118|8.054287876|
|12.23820141|0.996178673|8.339840962|
|5.65666741|0.748292274|5.659651952|
|6.352501197|0.885548554|6.394437744|
|6.26407122|1.44968405|5.874940965|
|6.143891234|1.354324618|5.969557124|
|6.173544369|0.703009218|6.067167766|
|6.987613755|1.44968405|6.92325321|
|6.30893715|1.44968405|6.156582912|
|5.630214048|1.951384856|5.733703194|
|5.931630863|0.890714093|5.756239145|
|7.758702298|0.418843772|7.592430377|
|6.578823826|2.368201412|6.847540786|
|5.675145853|1.152800371|5.739672971|
|5.565953407|1.213942813|5.548108462|
|6.120782872|0.927003699|6.072840506|
|7.106116357|0.418843772|6.9866996|
|6.093882986|1.400230041|6.010175706|
|6.019234394|1.311004567|5.995577773|
|5.428647161|0.650914586|5.353504825|
|7.464362329|2.179897625|7.480493488|
|5.15082945|0.541230251|4.938366887|
|5.891572486|1.190527457|5.784039926|
|6.328059492|1.521232254|6.049084252|
|6.620103774|0.829182498|6.359412511|
|15.98626752|0.367487352|15.83272025|
|5.751721533|0.563328921|5.662134595|
|11.26106282|2.376914376|8.756533216|
|7.982664461|2.619687146|7.977405232|
|6.820328907|3.151513372|7.171610058|
|9.342064082|2.243295549|9.211809103|
|7.76709822|2.483464725|7.446105697|
|6.021280316|1.2520703|5.863314763|
|6.424227494|1.147225351|6.31650464|
|5.983882405|1.418551195|5.857353916|
|7.275279728|2.994367405|7.259275235|
|6.042703435|1.103814867|5.886130217|
|7.301461766|2.585696037|7.397224996|
|7.099639448|1.364925704|7.252265072|
|10.98481344|2.199244296|11.53875431|
|6.400751163|2.178910497|6.094858152|
|8.015662793|2.603128649|8.107444398|
|6.177009233|1.392321017|5.970753979|
|6.524103393|2.973738563|6.627087753|
|6.535437885|1.622726682|6.403453806|
|6.778295657|1.390503771|6.684183141|
|6.150888031|1.52044814|5.951691237|
|6.485932316|0.667112423|6.064759337|
|5.848692446|0.586614677|5.794494336|
|6.221690976|0.956642405|6.038069733|
|7.357343339|1.675418786|7.083882189|
|5.273256266|1.460195383|5.513094965|
|5.202980827|1.460195383|5.298283505|
|5.375688872|1.460195383|5.385566287|
|5.296672412|1.460195383|5.337147035|
|6.672081814|1.460195383|6.033726997|
|5.638181699|0.845101797|5.583303906|
|7.463830405|1.641960101|7.244430716|
|5.09003238|1.602085736|5.265665998|
|8.360214129|0.848633137|7.323497804|
|6.073455616|2.608216782|6.22643723|
|8.197090287|0.574814631|8.107420214|
|4.539810565|0.626347126|4.591900844|
|7.200624256|2.206503575|7.419406926|
|5.536303676|0.569206178|5.42002366|
|6.543567852|0.768053012|6.396789935|
|5.229901754|0.609719661|5.405955064|
|7.853684928|2.538817863|7.815980465|
|12.66955747|0.617994068|12.71445898|
|11.36449614|0.617994068|11.24578927|
|73.40096651|0.617994068|70.39064209|
though they are separate files
it only gives me a plot instead of three in one. Thanks in anticipation