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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<HTML>
<HEAD>
<TITLE>COLOR</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<P><A NAME="setccolor"></A>
<font size="+3" color="green"><B>COLOR</B></font></P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="20%" valign="top"><B>Syntax</B>:</TD>
<TD width="80%" valign="top"><CODE>
SET COLOR c</CODE>
</TD></TR>
</TABLE>
<p>
<CODE><font color="blue">SET COLOR</font></CODE> is a shorthand way to set
<a href="../TextRelated/textcolor.htm"><CODE>TEXTCOLOR</CODE></a>,
<a href="../Xaxis/axiscolor.htm"><CODE>XAXISCOLOR</CODE></a>,
<a href="../Yaxis/axiscolor.htm"><CODE>YAXISCOLOR</CODE></a>,
<a href="../PlottingSymbol/plotsymbolcolor.htm"><CODE>PLOTSYMBOLCOLOR</CODE></a>,
<a href="../PlottingSymbol/linecolor.htm"><CODE>CURVECOLOR</CODE></a>,
<a href="../Xaxis/xlabelcolor.htm"><CODE>XLABELCOLOR</CODE></a>,
<a href="../Yaxis/ylabelcolor.htm"><CODE>YLABELCOLOR</CODE></a>,
<a href="../Xaxis/xnumberscolor.htm"><CODE>XNUMBERSCOLOR</CODE></a>,
<a href="../Yaxis/ynumberscolor.htm"><CODE>YNUMBERSCOLOR</CODE></a>, and
<a href="../GraphLegend/legendtitlecolor.htm"><CODE>LEGENDTITLECOLOR</CODE></a>,
all to the same color. The parameter <CODE>c</CODE> can be
either a string or a numeric scalar. A positive numeric value represents
the index of the color in the currently loaded colormap. A negative number
represents the index of the fixed color. A string value should be one of the
fixed color names. See <a href="../../Introduction/colors.htm">Colors</a></p>
<p>
For example:</p>
<p>
<table><tr>
<td><CODE><font color="blue">SET COLOR 2</font></CODE></td>
<td>uses the colormap index 2</td>
</tr><tr>
<td><CODE><font color="blue">SET COLOR -2</font></CODE></td>
<td>uses the fixed color index 2</td>
</tr><tr>
<td><CODE><font color="blue">SET COLOR RED</font></CODE></td>
<td>uses the fixed color name "<font color="red">RED"</font></td>
</tr></table>
</p>
<P>
<a href="autoscale.htm"><img border="0" src="../../shadow_left.gif">
<font size="+1" color="olive">AUTOSCALE</font></a><br />
<a href="colormap.htm"><img border="0" src="../../shadow_right.gif">
<font size="+1" color="olive">COLORMAP</font></a>
</P>
</body>
</html>
|