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

1 view (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.

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!