This may be useful for saving EPS or PDF figures keeping vector objects (instead bitmap)
Syntax: linebar(x,y,width,color,lineaxes)
Obs: Inputs 'x' and 'y' are row vectors. If 'y' is a matrix, a 'stack'
barplot will be generated.
Example 1: linebar( 1:5 , 10:10:50 , 10 , [0.5 0 0] )
Example 2: linebar( 1:5 , [10:10:50;1:5] , 10 , [0.5 0 0;0 1 0] )
Cite As
R P (2026). linebar (https://uk.mathworks.com/matlabcentral/fileexchange/56243-linebar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Annotations in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: superbar
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | update in title |
