myplot_CI: plot data and confidence interval

Making plot with multiple sets of data and confidence intervals.

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/48170-myplot_ci-plot-data-and-confidence-interval), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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