myplot_CI: plot data and confidence interval
This function plots multiple sets of confidence interval and data sets. Text and style can be controlled as optional inputs.
Syntax
myplot_CI (points, box_lim)
* points % vector of X values, data point of interest
* box_lim % 2*X data, CI for X sets
myplot_CI (points, box_lim, box_mid, Nt, texts, style)
* box_mid % Optional, vector of X values, median
* Nt= 4 % Optional, approximate number of Y ticks you want, default = 4
* texts % Optional, structure to add text, please see X_myplot_CI.m for detail
* style % Optional, structure to change style, please see X_myplot_CI.m for detail
Example of usage can be found in *[X_myplot_CI.m]*.
(An _html_ documentation can be created by "publishing" *[X_myplot_CI.m]*)
Dependent file: [auto_tick.m]
Cite As
Wei-Ting Lin (2024). myplot_CI: plot data and confidence interval (https://www.mathworks.com/matlabcentral/fileexchange/48170-myplot_ci-plot-data-and-confidence-interval), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.3.0.0 | Fix some problem with text display, rotate y label if it's long, new example file. |
||
1.2.0.0 | Fix some problem with text display, rotate y label if it's long, new example file. |
||
1.1.0.0 | Fix the problem about significant data points. |
||
1.0.0.0 |