Difference between revisions of "Plot solid prob band"
(Shouldn't assign to roleChanges) |
m (Added example image) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
''New to [[Analytica 5.2]]'' | ''New to [[Analytica 5.2]]'' | ||
− | Use this function from [OnGraphDraw]] to plot a filled color band between symmetric percentiles in a probability bands result view. | + | Use this function from [[OnGraphDraw]] to plot a filled color band between symmetric percentiles in a probability bands result view. |
== Plot_solid_prob_band( canv, info, roles ) == | == Plot_solid_prob_band( canv, info, roles ) == | ||
Fills in a solid band behind a probability bands view. To be used from the OnGraphDraw attribute. Usage: | Fills in a solid band behind a probability bands view. To be used from the OnGraphDraw attribute. Usage: | ||
− | + | # Set "Evaluate before drawing" AND "Evaluate after axes, before data" in [[OnGraphDraw]] | |
− | + | # Set the [[OnGraphDraw]] expression to: <code> [[Plot_solid_prob_band]]( canv, info, roles ) </code> | |
− | <code> | + | # Select the bands view for your result. |
− | + | # Make sure you have Key=.Probability for the pivot. | |
− | </code> | ||
− | + | ||
− | + | Below is an example of how this function can be used. One additional step is to [[Customization of Graph Colors|change the colors]] for the Probability index so that the 5th and 95th percentile values and the 25th and 75th values are the same. | |
+ | |||
+ | :[[File:Plot_solid_prob_band_example.png]] | ||
== See Also == | == See Also == |
Latest revision as of 22:02, 8 April 2019
New to Analytica 5.2
Use this function from OnGraphDraw to plot a filled color band between symmetric percentiles in a probability bands result view.
Plot_solid_prob_band( canv, info, roles )
Fills in a solid band behind a probability bands view. To be used from the OnGraphDraw attribute. Usage:
- Set "Evaluate before drawing" AND "Evaluate after axes, before data" in OnGraphDraw
- Set the OnGraphDraw expression to:
Plot_solid_prob_band( canv, info, roles )
- Select the bands view for your result.
- Make sure you have Key=.Probability for the pivot.
Below is an example of how this function can be used. One additional step is to change the colors for the Probability index so that the 5th and 95th percentile values and the 25th and 75th values are the same.
See Also
Comments
Enable comment auto-refresher