<!--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 <marktype> <marksize></i></code> <p> Sets current attributes for drawing shapefiles. <p> <code><i>fillpoly</i> </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> </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> </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>