Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > dcaf9bd555d1ce386641f56c6523d3ed > files > 186

grads-2.0.2-1.fc18.i686.rpm

<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->

<html>
<head>
<title>GrADS Command: set shpopts</title>
</head>
<body bgcolor="e0f0ff" text="#000000">

<h2><b>set shpopts</b></h2>
<p>
<code>set shpopts <i>fillpoly &lt;marktype&gt; &lt;marksize&gt;</i></code>
<p>
Sets current attributes for drawing shapefiles. 
<p>
<code><i>fillpoly</i>&nbsp;&nbsp;&nbsp;</code>color number to use when drawing filled polygon elements of a shapefile. Default is -1, which draws polygons unfilled.<br>
<code><i>marktype</i>&nbsp;&nbsp; </code>Mark type to use when drawing point elements of a shapefile. Please see the <code><a href="gradcomddrawmark.html">draw mark</a></code> command for the list of options.
<br>
<code><i>marksize</i>&nbsp;&nbsp; </code>Mark size of use when drawing point elements of a shapefile. 
<p>
<h3>Usage Notes</h3>
<p>This command is available with GrADS version 2.0.a8 or later.
<p>When drawing shapefiles that contain points, the default mark type is a closed circle (type 3) and the default size is 0.05.
<p>When drawing shapefiles that contain polygons, the default behavior is to draw only the perimeter of each polygon element. Use  the <code><i>fillpoly</i></code> option with <code><a href="gradomdsetshpopts.html">set shpopts</a></code> to draw filled polygons and set the fill color. The polygon perimeters will also be drawn when the <code><i>fillpoly</i></code> option is used. 
 The color, style, and thickness of the polygon perimeters are controlled by the <code><a href="gradcomdsetline.html">set line</a></code> command. 
<p>Use the <code><a href="gradcomdqshpopts.html">q shpopts</a></code> command

to see the current settings for drawing and writing shapefiles.

<p>Please see the documentation page on <a href="shapefiles.html">shapefiles</a> for more details.

<h3>Examples </h3>
<p><code>set shpopts 15 </code></p>
</body>
</html>