Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 86de73cd0961932e7aca64f21352ffa6 > files > 163

grads-2.0.2-1.fc18.x86_64.rpm

<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--><style type="text/css">
<!--
body {
	background-color: #e0f0ff;
}
-->
</style>

<h2>set log1d</h2>
<code>set log1d <i>arg</i></code>
<p>Where <code><i>arg</i></code> can be one of the following:

<ul>
  <code>logh &nbsp;&nbsp;&nbsp;&nbsp;</code>make the horizontal axis logarithmic<br />
  <code>logv &nbsp;&nbsp;&nbsp;&nbsp;</code>make the vertical axis logarithmic<br />
  <code>loglog &nbsp;&nbsp;</code>make both axes logarithmic<br />
  <code>off &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>disable for both axes
</ul>
<p><br />

<h3>Usage Notes</h3>
<p>This command is available in GrADS version 2.0 and higher (it is not in the 2.0.a* versions). </p>
<p>This setting is intended for use with 1-D plots of gridded data ONLY. </p>
<p>To override the axis labeling, use the &quot;set xlevs&quot; or &quot;set ylevs&quot; command.</p>
<p>If axis values approach zero, grads will automatically extend the axis to zero.  And then the display command will fail, with an error message.  In this case, it is necessary to use the &quot;set vrange&quot; command to force the axis range to be positive valued.</p>
<h3>Examples</h3>
<pre>'open gfs.ctl'
'set lat 40'
'set lev 500'
'set lon 1 10'
'set vrange 1 1050'
'set ylevs 1 2 5 10 20 50 100 200 500 1000'
'set log1d loglog'
'set mproj off'
'd pow(2,lon)'
</pre>
<p>&nbsp;</p>