Plot to Bitmap

Plot lines (and text) directly into a bitmap, including filled polygons.
3.1K Downloads
Updated 24 Jan 2011

View License

"Plot to Bitmap" allows the user to directly plot lines, text and filled polygons into an image, thus without taking a screen-shot (getframe).

This function is also useful if you want to convert a few coordinates describing a region contour into a bitmap of the region.

Cite As

Dirk-Jan Kroon (2024). Plot to Bitmap (https://www.mathworks.com/matlabcentral/fileexchange/23468-plot-to-bitmap), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers
Acknowledgements

Inspired: contest clock

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

Replace for-loop by arrayfun. Allow multiple marker-colors.

1.2.0.0

Fixed small gap bug, by rounding values of input coordinates

1.1.0.0

Add Font sizes, and fixed missing capital "Y"

1.0.0.0