Difference between revisions of "SetPlotBGColor"
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
|||
Line 2: | Line 2: | ||
Use of SetBGPlotColor is effective only for the Scanner. | Use of SetBGPlotColor is effective only for the Scanner. | ||
− | + | ==== Usage ==== | |
+ | <syntaxhighlight>SetPlotBGColor(PlotNumber,PlotColor)</syntaxhighlight> | ||
− | + | ==== Parameters ==== | |
+ | [[PlotNumber]] - a numerical expression specifying the plot number; plot numbers range from 1 to 999 | ||
+ | [[PlotColor]] - an expression specifying the cell background color for the indicated plot. Cell background color for the indicated plot can be specified by a numerical expression representing an RGB color number, a legacy color value, or by one of 17 base color words. | ||
+ | |||
==== Example ==== | ==== Example ==== | ||
Assign the color of blue to the indicated cell of the plot1 for the duration of the current bar: | Assign the color of blue to the indicated cell of the plot1 for the duration of the current bar: |
Revision as of 12:39, 13 February 2012
Assigns a specified color to the cell background for the indicated study plot for the duration of the current bar. Use of SetBGPlotColor is effective only for the Scanner.
Usage
SetPlotBGColor(PlotNumber,PlotColor)
Parameters
PlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999
PlotColor - an expression specifying the cell background color for the indicated plot. Cell background color for the indicated plot can be specified by a numerical expression representing an RGB color number, a legacy color value, or by one of 17 base color words.
Example
Assign the color of blue to the indicated cell of the plot1 for the duration of the current bar:
SetPlotBGColor(1,Blue);
Assign RGB color 2138336 (Orange) to the indicated cell of the plot1 for the duration of the current bar:
SetPlotColor(1,2138336);
Assign legacy color 4 (Green) to the indicated cell of the plot1 for the duration of the current bar:
[LegacyColorValue=True];
SetPlotBGColor(1,4);