Difference between revisions of "Plot solid band"
(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...") |
(library & category) |
||
Line 1: | Line 1: | ||
+ | [[category:OnGraphDraw annotations library functions]] | ||
''New to [[Analytica 5.2]]'' | ''New to [[Analytica 5.2]]'' | ||
Line 11: | Line 12: | ||
::roleChanges := [[Plot_solid_band]]( canv, info, roles, x, lowerY, upperY, x, 'LightGreen' ) | ::roleChanges := [[Plot_solid_band]]( canv, info, roles, x, lowerY, upperY, x, 'LightGreen' ) | ||
</code> | </code> | ||
+ | |||
+ | == Library == | ||
+ | |||
+ | To use this function ,you must add the '''''OnGraphDraw annotations.ana''''' library to your model. | ||
+ | |||
+ | :Use '''File → Add Library...''' to add this library. | ||
== See Also == | == See Also == |
Latest revision as of 00:32, 19 March 2019
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' )
Library
To use this function ,you must add the OnGraphDraw annotations.ana library to your model.
- Use File → Add Library... to add this library.
See Also
Comments
Enable comment auto-refresher