Returns an [[RGB ]] color number or a legacy color value that correspond to the color of the specified plot[[Plot]].
==== Usage ====
<syntaxhighlight>GetPlotColor(PlotNumber)</syntaxhighlight>
Where: [[ :'''PlotNumber]] ''' - a numerical expression specifying the plot number; plot numbers range from 1 to 999 .
==Notes == Example * Use [[SetPlotColor]] to set the color of a specified [[Plot]]. ==Examples ==Assign an [[RGB ]] color number, corresponding to the color of Plot1, to the Value1 variable:
<syntaxhighlight>Value1=GetPlotColor(1);</syntaxhighlight>
Assign a [[LegacyColorValue|legacy color value]], corresponding to the color of Plot1, to the Value1 variable:
<syntaxhighlight>[LegacyColorValue=True];
Value1=GetPlotColor(1);</syntaxhighlight>
[[Category:Plotting]]