Re: psscale annotation precision
Peter Schmidt <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
To my knowledge this cannot be solved (in GMT4 not sure about GMT5). A workaround (albeit tedious) is to plot as many colorscales as you want annotations and use the -B option to plot a single annotation at the time, e.g. psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4000.01-40000 -L -S -K --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4000.07-40000 -L -S -K -O --D_FORMAT=%.2f> scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4000.38-40000 -L -S -K -O --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4001.97-40000 -L -S -K -O --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4010.25-40000 -L -S -K -O --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4053.28-40000 -L -S -K -O --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B4276.93-40000 -L -S -K -O --D_FORMAT=%.2f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B5439-40000 -L -S -K -O --D_FORMAT=%.0f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B11482-40000 -L -S -K -O --D_FORMAT=%.0f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B38800 -L -S -K -O --D_FORMAT=%.0f > scale.ps psscale -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt -B40000:max=69.017075:/:gal: -L -S -O > scale.ps should do the trick \p On 11/20/2013 10:07 AM, WSC wrote: > Hi, > I used the following following command to plot a scale that i attached. > > psscale -V -D3.3i/1.5i/6.6i/0.25ih -Cseis_eng.cpt > -B:max=69.017075:/:gal: -L -S -N >scale.ps > > and what I want is the annotation can be marked like the color_cpt > file attached ,which is:the float number can be marked with 2 or 3 > numbers after the dot, and the Integer numer are just marked what it is ! > Simply, 0.014 is annotated "0.014",But "3899" is "3899", Not "3899.000"! > > Please Help! > Thanks! > > WSC > > > > -- ******************************************************************************** Peter Schmidt Tel: +46-18-4717104 Swedish National Seismological Network (SNSN) Mobile: +46-73-3190975 Dept. of Earth Sciences:geophysics e-mail: [email protected] Uppsala University Villavagen 16 SE-75236 Uppsala ******************************************************************************** To unsubscribe, send the message "signoff gmt-help" to [email protected]