How do I export a .png file including the legend by using a command?

18 views (last 30 days)
I have a MATLAB assignment completed. I need to export it as a .png file. This file must also use include the legend.

Answers (2)

jonas
jonas on 23 Jul 2018
use print or the figure menu -> file -> save as

Matt J
Matt J on 23 Jul 2018
Edited: Matt J on 23 Jul 2018
Use the saveas() command or export_fig.

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!