ax2im

Converts 2D axes data to image
22 Downloads
Updated 6 Jan 2025

View License

Run ax2im to convert 2D axes data to image
Hybrid format: Legends, titles, labels, ticks & text left as is
Useful for exporting figures with a large number of datapoints as "pdf" w/ vector graphics & embeddable fonts
Can reduce the file size substantially without significantly sacrificing quality
Example: ax2im(gcf); exportgraphics(gcf,'hybrid.pdf','ContentType','vector')
More extensive documentation included within the function

Cite As

Vasilis Bellos (2025). ax2im (https://www.mathworks.com/matlabcentral/fileexchange/177779-ax2im), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.3

Improved treatment of Bar & Scatter objects

1.0.1

Included Scatter object correction

1.0.0