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 (2026). myplot_CI: plot data and confidence interval (https://in.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
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 |
