showPsfrag is used to display (using ghostview) a postscript image that contained psfrag LaTeX strings, by building a small LaTeX script and running latex and dvips .
showPsfrag(filename)
Arguments
filename: name or character string or character vector specifying file prefix.