Difference between revisions of "SetPlotWidth"

From MultiCharts
Jump to navigation Jump to search
Line 1: Line 1:
 
Assigns a specified line width to the specified plot for the duration of the current bar.  
 
Assigns a specified line width to the specified plot for the duration of the current bar.  
 
   
 
   
==== Usage ====
+
== Usage ==
<syntaxhighlight>SetPlotWidth(PlotNumber,LineWidth)</syntaxhighlight>  
+
<syntaxhighlight>SetPlotWidth(PlotNumber, LineWidth)</syntaxhighlight>  
  
Where: [[PlotNumber]] - a numerical expression specifying the plot number; plot numbers range from 1 to 999  
+
Where:  
           
+
 
[[LineWidth]] - a numerical expression specifying the plot line width; line width can range from 1 to 14  
+
:'''PlotNumber''' - a numerical expression specifying the plot number; plot numbers range from 1 to 999.
 +
:'''LineWidth''' - a numerical expression specifying the plot line width; line width can range from 1 to 14.
 
   
 
   
==== Example ====
+
== Example ==
 
Assign a plot line width of 10 to plot1 for the duration of the current bar:  
 
Assign a plot line width of 10 to plot1 for the duration of the current bar:  
  
<syntaxhighlight>SetPlotWidth(1,10);</syntaxhighlight>  
+
<syntaxhighlight>SetPlotWidth(1, 10);</syntaxhighlight>  
 
   
 
   
[[Category:Quote Fields]]
+
[[Category:Plotting]]

Revision as of 13:31, 19 February 2012

Assigns a specified line width to the specified plot for the duration of the current bar.

Usage

SetPlotWidth(PlotNumber, LineWidth)

Where:

PlotNumber - a numerical expression specifying the plot number; plot numbers range from 1 to 999.
LineWidth - a numerical expression specifying the plot line width; line width can range from 1 to 14.

Example

Assign a plot line width of 10 to plot1 for the duration of the current bar:

SetPlotWidth(1, 10);