linebar

linebar generates BAR plot using PLOT function.

You are now following this Submission

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 .

Acknowledgements

Inspired: superbar

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

update in title