File: gradcomdsetlwid.html

package info (click to toggle)
grads 3%3A2.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 17,336 kB
  • sloc: ansic: 61,642; sh: 10,612; makefile: 201; python: 3
file content (27 lines) | stat: -rw-r--r-- 1,972 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->
<style type="text/css">
.red {
	color: #900;
}
body {
	background-color: #e0f0ff;
}
</style>


<H2><B>set lwid</B></H2>
<P>This command, which is available in <span class="red">GrADS version 2.1+</span>, allows the user to define a new line thickness setting with a specified  width.
<H3>Syntax </H3>
<p><code>set lwid <i>thickness width</i></code>
<p>The <code><i>thickness</i></code> argument must be an integer in the range of<code> 13 to 256. </code> Line thickness settings between 1 and 12 are pre-defined  and cannot be changed. The <code><i>width</i></code> argument must be a real number &gt; 0, but line widths greater than 3.0 are not recommended.</H3>
<H3>Usage Notes</H3>
<P>The default line widths for <code><i>thickness</i></code> settings between 1 and 12 are:<code> 0.6, 0.8, 1.0, 1.25, 1.5, 1.75, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0. </code> The default line width for <code><i>thickness</i></code> settings greater than 12 is 1.0. 
The units  (pixels or points) will depend on the surface being drawn to.
<P>Once a new thickness setting has been defined, it can be used with any command that controls thickness:<code> <a href="gradcomdsetannot.html">set annot</a>, <a href="gradcomdsetclopts.html">set clopts</a>, <a href="gradcomdsetcthick.html">set cthick</a>, <a href="gradcomdsetgrid.html">set grid</a>, <a href="gradcomdsetline.html">set line</a>, <a href="gradcomdsetmap.html">set map</a>, <a href="gradcomdsetmpt.html">set mpt</a>, <a href="gradcomdsetstring.html">set string</a>, <a href="gradcomdsetxlopts.html">set xlopts</a>,  <a href="gradcomdsetylopts.html">set ylopts</a>.</code> The thickness contols when applied to strings (contour labels, axis labels, etc.) will only take effect when Hershey fonts are in use. 
<h3>Example</h3>
<pre><p>set lwid 13 1.6<br />set cthick 13
</p>
</pre>
<P>
<P>
<H3>&nbsp;</H3><P>