<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--><title>GrADS Command: clear</title> <style type="text/css"> <!-- .style1 {color: #990000} --> </style> <body bgcolor="e0f0ff" text="#000000"> <H2><B>clear</B></H2><P> <code>clear</code> (or just <code>c</code>)<p> Issued without parameters, the <code>clear</code> command does pretty heavy duty clearing of many of the GrADS internal settings. Parameters can be added to limit what is cleared when using more advanced features.<p> <H3>Usage Notes</H3><P> <b>WARNING</b>: If you make any error in the syntax of <code>clear</code> then GrADS does the full <code>clear</code><p> <H3>Examples</H3> <P> <code>clear norset </code>clears without resetting user options<br> <code>clear events </code>flushes the events buffer (e.g., mouse clicks)<br> <code>clear graphics </code>clears the graphics, but <b>not</b> the widgets<br> <code>clear hbuff </code>clears the buffered display and turns off double buffer mode<br> <code>clear button <i>num</i> </code>clears button <code><i>num</i></code> <br> <code>clear rband <i>num</i> </code>clears rband <code><i>num</i></code> <br> <code>clear dropmenu <i>num</i> </code>clears dropmenu <code><i>num</i></code> <br> <code>clear sdfwrite </code>clears sdfwrite file name and attributes without resetting other user options (<span class="style1">2.0.a3+</span>)<br> <code>clear mask </code>clears contour label mask, which is enabled with the command <code>'<a href="gradcomdsetclab.html">set clab</a> masked'</code>(<span class="style1">2.0.a7+</span>)<br> <code>clear shp </code>clears shapefile output file name and attributes without resetting other user options (<span class="style1">2.0.a9+</span>)<br>