15 |
|
set ndivs=8 |
16 |
|
set picture='-' |
17 |
|
set cpict= |
18 |
+ |
set loff=0 |
19 |
|
set legwidth=100 |
20 |
|
set legheight=200 |
21 |
|
while ($#argv > 0) |
64 |
|
breaksw |
65 |
|
case -cl: |
66 |
|
set docont=a |
67 |
+ |
set loff=12 |
68 |
|
breaksw |
69 |
|
case -cb: |
70 |
|
set docont=b |
71 |
+ |
set loff=13 |
72 |
|
breaksw |
73 |
|
case -e: |
74 |
|
set doextrem |
142 |
|
cat > $td/picture |
143 |
|
set picture=$td/picture |
144 |
|
endif |
145 |
< |
if ($decades > 0) then |
145 |
> |
if ("$decades" != "0") then |
146 |
|
set pc1args=($pc1args -e "map(x)=if(x-10^-$decades,log10(x)/$decades+1,0)") |
147 |
|
set imap="imap(y)=10^((y-1)*$decades)" |
148 |
|
else |
165 |
|
psign -s -.15 -a 2 -h 16 $minval > $td/minv.pic |
166 |
|
psign -s -.15 -a 2 -h 16 $maxval > $td/maxv.pic |
167 |
|
pcomb $pc0args $pc1args $picture $cpict \ |
168 |
< |
| pcompos $td/scol.pic 0 0 -t .2 $td/slab.pic 0 20 \ |
168 |
> |
| pcompos $td/scol.pic 0 0 -t .2 $td/slab.pic 0 $loff \ |
169 |
|
- $legwidth 0 $td/minv.pic $minpos $td/maxv.pic $maxpos |
170 |
|
else |
171 |
|
pcomb $pc0args $pc1args $picture $cpict \ |
172 |
< |
| pcompos $td/scol.pic 0 0 -t .2 $td/slab.pic 0 20 - $legwidth 0 |
172 |
> |
| pcompos $td/scol.pic 0 0 -t .2 $td/slab.pic 0 $loff - $legwidth 0 |
173 |
|
endif |
174 |
|
quit: |
175 |
|
rm -rf $td |