LWplot_prof
changeset 20 d6dc9c9da138
parent 14 fea65697bc7b
child 26 b89d4b01fcc5
equal deleted inserted replaced
19:1d49806c9f75 20:d6dc9c9da138
     1 #!/bin/ksh
     1 #!/bin/ksh
     2 #======================================================================
     2 #======================================================================
     3 #					 L W P L O T _ P R O F 
     3 #					 L W P L O T _ P R O F 
     4 #                    doc: Fri Oct 14 09:42:36 2011
     4 #                    doc: Fri Oct 14 09:42:36 2011
     5 #                    dlm: Thu Nov 21 10:21:24 2013
     5 #                    dlm: Sun Apr  5 22:10:31 2015
     6 #                    (c) 2011 A.M. Thurnherr
     6 #                    (c) 2011 A.M. Thurnherr
     7 #                    uE-Info: 87 0 NIL 0 0 72 2 2 4 NIL ofnI
     7 #                    uE-Info: 124 26 NIL 0 0 72 2 2 4 NIL ofnI
     8 #======================================================================
     8 #======================================================================
     9 
     9 
    10 # HISTORY:
    10 # HISTORY:
    11 #	Oct 14, 2011: - created
    11 #	Oct 14, 2011: - created
    12 #	Oct 15, 2011: - added nsamp
    12 #	Oct 15, 2011: - added nsamp
    16 #	Nov 14, 2011: - added file layout check
    16 #	Nov 14, 2011: - added file layout check
    17 #	Mar 12, 2012: - sh -> ksh as this does not work with /bin/sh on MacOSX 10.6.4
    17 #	Mar 12, 2012: - sh -> ksh as this does not work with /bin/sh on MacOSX 10.6.4
    18 #   Apr 12, 2012: - made re-entrant
    18 #   Apr 12, 2012: - made re-entrant
    19 #	May 15, 2013: - BUG: plot separation lines/shading did not work any more
    19 #	May 15, 2013: - BUG: plot separation lines/shading did not work any more
    20 #   Oct 30, 2103: - got rid of non-portable echo -e
    20 #   Oct 30, 2103: - got rid of non-portable echo -e
       
    21 #	Apr  5, 2015: - made fixbb optional
    21 
    22 
    22 #--------------------------------------------------
    23 #--------------------------------------------------
    23 # Usage
    24 # Usage
    24 #--------------------------------------------------
    25 #--------------------------------------------------
    25 
    26 
   118 psbasemap -O -K $R2 $X -Bf10a1000-950:"                                     # of Samples":N >> "$eps_file"
   119 psbasemap -O -K $R2 $X -Bf10a1000-950:"                                     # of Samples":N >> "$eps_file"
   119 psbasemap -O -K $R2 $X -Ba1000-900N >> "$eps_file"
   120 psbasemap -O -K $R2 $X -Ba1000-900N >> "$eps_file"
   120 psbasemap -O $R2 $X -Ba1000-850N >> "$eps_file"
   121 psbasemap -O $R2 $X -Ba1000-850N >> "$eps_file"
   121 		 
   122 		 
   122 rm $TMPFILE
   123 rm $TMPFILE
   123 fixbb "$eps_file"
   124 [ -n "`which fixbb`" ] && fixbb "$eps_file"
   124 
   125 
   125 cd "$PWD"
   126 cd "$PWD"
   126 rm -rf /tmp/$$
   127 rm -rf /tmp/$$
   127 
   128