Application-Specific Issues
This section discusses issues related to importing MATLAB graphics into several commonly used applications. These applications are:
Microsoft Word
When you import a graphic into a Microsoft Word document, first create a frame in the document and import the graphic into it. Importing into a frame will enable you to reposition the graphic by dragging it. For more detailed information about importing graphics into Word, see one of these examples:
Corel Draw
You can import Windows Enhanced Metafiles and PCX files into Corel Draw. Note that the graphic appears to be black and white until you make the picture full screen.
Scientific Word
You can import a MATLAB figure into Scientific Word by creating an Encapsulated PostScript file. Note that you cannot control the size of the graphic in Scientific Word, so be sure to make the image the size you want when you create it in MATLAB. The next section contains an example that illustrates how to use the Page Setup dialog box to specify the size of the graphic when using EPS files.
LaTeX
You can import a MATLAB figure into LaTeX by creating an Encapsulated PostScript file. The general syntax for including a PostScript figure in LaTeX is:
\begin{figure}[h]
\centerline{\psfig{figure=file.ps,height=height,angle=angle}
\caption{caption}
\end{figure}
(The items in italics are place holders for the actual values you specify.)
You can specify the height in any LaTeX compatible dimension. To set the height to 3.5 inches, use the command:
height=3.5in
You can use the angle command to rotate the graph. For instance, to rotate the graph 90 degrees, use the command:
angle=90
[ Previous | Help Desk | Next ]