image thumbnail

linebar

version 1.0.0.0 (1.21 KB) by R P
linebar generates BAR plot using PLOT function.

123 Downloads

Updated 30 Mar 2016

View License

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 (2021). linebar (https://www.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 Linux
Tags Add Tags
Acknowledgements

Inspired: superbar

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!