Plot solid band
Revision as of 19:06, 18 March 2019 by Lchrisman (talk | contribs) (Created page with "''New to Analytica 5.2'' Use this function in the OnGraphDraw expression to plot a solid band behind your data, that highlights a range between lower and upper bounds...")
New to Analytica 5.2
Use this function in the OnGraphDraw expression to plot a solid band behind your data, that highlights a range between lower and upper bounds that you explicitly specify.

Plot_solid_band(canv, info, roles, x, lowerY, upperY, color)
Plots a solid band between a «lower» and «upper» curve in the given «color» behind the data from an OnGraphDraw attribute expression. To use, enable both "Evaluate before drawing" and "Evaluate after axes, before data". In your call, you should do an IF on the view mode of interest, for example:
- If info[ OnGraphDrawItem='ViewMode']='Sample' Then
- roleChanges := Plot_solid_band( canv, info, roles, x, lowerY, upperY, x, 'LightGreen' )
See Also
Comments
Enable comment auto-refresher