Plot solid band

Revision as of 00:32, 19 March 2019 by Lchrisman (talk | contribs) (library & category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Solid band example.png

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


You are not allowed to post comments.