IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
save_legend.m File Reference

Detailed Description

Saves current legend as PNG

This function will save a PNG with the legend, but will mess with the positioning on the screen.

Attention
May not work well if the window is maximized
See also
show_legend_only.m

Definition in file save_legend.m.

Go to the source code of this file.

Functions

function save_legend (in fn, in dpi)
 

Function Documentation

function save_legend ( in  fn,
in  dpi 
)
Parameters
fn=(new) File name
dpi=0 Dots Per Inch = resolution. 0 = screen resolution
Returns
File name