CODES / common / snapshot
Save figure
Contents
Syntax
- CODES.common.snapshot(param,value) uses a list of parameters param and values value (see, parameter table)
Parameters
| param | value | Description |
|---|---|---|
| 'name' | string, {'figure'} | File name without extension. |
| 'fig' | handle, {gcf} | Figure handle. |
| 'ext' | string, {'pdf'} | Extension type. Only optimized for 'pdf' and 'png', although other extensions should produce good results. |
| 'res' | numeric, {300} | Resolution for non vectorial format. |
| 'crop' | logical, {true} | Wether the plot should be croped. Rely on pdfcrop and imagemagick to be installed. |
| 'matlab' | logical, {true} | Save a matlab figure (.fig) in addition. |
Copyright © 2015 Computational Optimal Design of Engineering Systems (CODES) Laboratory. University of Arizona.
|
Computational Optimal Design of Engineering Systems |
|

