hfill and vfill

Simply create horizontal or vertical shaded sections of a plot.

Download
Download

You are now following this Submission

Cite As

Chad Greene (2026). hfill and vfill (https://www.mathworks.com/matlabcentral/fileexchange/43090-hfill-and-vfill), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: hline and vline, Improved 'vline'

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added live scripts

Download
1.2.0

Simplified syntax for plain vertical or horizontal lines, added an example file.

Download
1.1.0

Added hfill and the stacking command.

Download
1.0.0

Download