<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi, Stefan —
<div class="">I think you are confusing the options for drawing and creating shapefiles. The clevs/cint settings are used when writing out the shapefiles with ‘gxout shp’. When drawing the shapefiles you have created, use the shpopts command to set the fill
color, or else use ‘set line’ to control the line characteristics if you are not filling them in. Here is a sample script:</div>
<div class=""><br class="">
</div>
<div class=""><font face="Andale Mono" style="font-size: 12px;" class="">'open model.ctl'<br class="">
'set lat 0 20'<br class="">
'set lon 0 40</font><font face="Andale Mono" class=""><span style="font-size: 12px;" class="">’</span></font></div>
<div class=""><font face="Andale Mono" style="font-size: 12px;" class=""><br class="">
'set gxout shp'<br class="">
'set shp -poly shp20'<br class="">
'set cint 20'<br class="">
'd ps'<br class="">
say result<br class="">
<br class="">
</font></div>
<div class=""><font face="Andale Mono" style="font-size: 12px;" class="">'set shp -poly shp10'<br class="">
'set cint 10'<br class="">
'd ps'<br class="">
say result<br class="">
<br class="">
</font></div>
<div class=""><font face="Andale Mono" class=""><span style="font-size: 12px;" class="">‘clear'</span><br class="">
<span style="font-size: 12px;" class="">'set gxout shaded'</span><br class="">
<span style="font-size: 12px;" class="">'set cint 20'</span><br class="">
<span style="font-size: 12px;" class="">'d ps</span></font><font face="Andale Mono" class=""><span style="font-size: 12px;" class="">’</span></font></div>
<div class=""><font face="Andale Mono" class=""><br class="">
<span style="font-size: 12px;" class="">'set line 0 1 10'</span><br class="">
<span style="font-size: 12px;" class="">'draw shp shp20’</span><br class="">
<br class="">
</font></div>
<div class=""><font face="Andale Mono" style="font-size: 12px;" class="">'set line 0 5 2</font><font face="Andale Mono" class=""><span style="font-size: 12px;" class="">’</span></font></div>
<div class=""><font face="Andale Mono" class=""><span style="font-size: 12px;" class="">'draw shp shp10’</span><br class="">
<br class="">
</font></div>
<div class=""><font face="Andale Mono" style="font-size: 12px;" class="">'q shpopts'<br class="">
say result<br class="">
</font><br class="">
That yields the following output to the terminal: </div>
<div class=""><br class="">
</div>
<div class=""><span style="font-size: 12px;" class=""><font face="Andale Mono" class="">ga-> testshp<br class="">
Contouring: 800 to 1000 interval 20 <br class="">
26 polygons written to shapefile shp20<br class="">
<br class="">
Contouring: 790 to 1010 interval 10 <br class="">
30 polygons written to shapefile shp10<br class="">
<br class="">
Settings for drawing shapefiles:<br class="">
polygon fill color: -1 <br class="">
mark type: 3 <br class="">
mark size: 0.05 <br class="">
Settings for writing shapefiles:<br class="">
output filename root: shp10<br class="">
format string: %12.6f</font><br class="">
<br class="">
</span><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">And here is the display:</div>
<div class=""><br class="">
</div>
<div class=""><img apple-inline="yes" id="78D3E39A-615F-4B81-B3FA-3C293B8DBFCC" src="cid:43038F03-AC07-47C4-84CC-45EDD4B72F01" class=""><br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On Jun 27, 2019, at 7:26 AM, Stefan Gofferje <<a href="mailto:stefan@saakeskus.fi" class="">stefan@saakeskus.fi</a>> wrote:<br class="">
<br class="">
Grads version: 2.2.1<br class="">
Platform: Ubuntu Server 16.04<br class="">
<br class="">
Observed behaviour:<br class="">
When using gxout shp with shpopts -poly to create shapefiles, grads does not honor clevs or cint setting issued before the draw command.<br class="">
With shpopts -line, cint and/or clevs ARE honored<br class="">
<br class="">
Expected behaviour:<br class="">
Grads should honor clevs/cint settings also when creating shape files in -poly mode.<br class="">
<br class="">
_______________________________________________<br class="">
gradsusr mailing list<br class="">
<a href="mailto:gradsusr@gradsusr.org" class="">gradsusr@gradsusr.org</a><br class="">
http://secure-web.cisco.com/1csXQglMUxbB7uGEcAEAqquZTYZbQus_1RgX8mRCTTQ-1G2hk8DITolrVrKfflYDKr8j1wPNSJ_iUmVCp-ELyHrtJLWMjvHkBzaqfORg9Sc8MyzuXMJuBIjNXnT0eQXmhd6ppFKg0OKntQLdkRA1Yjmec10aHkIZKRHOZaW4Yo-fp0vV6aCwWZfhR9WbhEQ5LUHyuqFtL8WBYmrcyHC-OYyDQZmnkadLKB4Kn5JT6kOD3hG4IWwUdSPChRF19RywOv5_Wa4ldPffewT_Qf0AbyNrZ_-gFjZOHbY6Wyb6_xjvZSrbQbyPVYosaBN_ie9ihZOZG4JYF43XWgpjhDNMwHYMEsVUrD4WR-bBTeSIkea71WnbmEx1l1aEl3xSJyJHt_NOYvaHAGzNwts4AgyAXW0VnyWqe8S1IAV4cBbLEhdYA3unBumhzs8hG3QeGEHjQ/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr<br class="">
<br class="">
</blockquote>
<br class="">
<div class="">--<br class="">
Jennifer Miletta Adams<br class="">
Center for Ocean-Land-Atmosphere Studies (COLA)<br class="">
George Mason University<br class="">
<br class="">
<br class="">
</div>
<br class="">
</div>
</body>
</html>