epssetbgcolor

Customize background color of MATLAB-generated EPS file.

Contents

Syntax

epssetbgcolor(epsfile, colorspec)
epssetbgcolor(epsfile, outfile, colorspec)

Description

epssetbgcolor(epsfile, colorspec) modifies the background color of the MATLAB-generated EPS file specified by epsfile to the 3-element colorspec vector of RGB values. Alternatively, colorspec may be set to 'none' to have transparent background.

epssetbgcolor(epsfile, outfile, colorspec) saves the modified EPS data to a file specified by the string |outfile.

See Also

epswrite.

Copyright 2012. Takeshi Ikuma. All rights reserved.