## 2.11 Preparing Lab Reports

### 2.11.1 Signal Plots

Choose the signals that you wish to plot carefully. Do not print plots of signals that bear no information. Combine plots that you wish to compare, and avoid combining plots that are incomparable (for example, signals that have different units). To combine plots, note the following icon at the upper right corner of the "Signal Sinks" palette in the SDF domain:

### 2.11.2 Printing Schematics

Schematics should be printed using the "print-facet" command (control-P). You must first save the facet. Do this by moving the mouse to the facet and press the "S" key to save.You get the following dialog box:

### 2.11.3 Importing a PostScript image

For example, to include a PostScript file in a TeX document, include the command

\include{psfig} in the TeX file and use the commands

\begin{figure} \centerline{ \psfig{figure=mySchematic.ps,width=4in,height=2in}} \caption{Ptolemy Schematic} \end{figure} to display the PostScript as a figure within a document.

#include /users/ptolemy/doc/users_man/figures/butterfly.ps Unfortunately, the file must be specified using an absolute path, unless you always start FrameMaker from the same directory. With the cursor in the newly created text column, issue the command "Flow" in the "Format" menu, and select "PostScript code." When you print the document, you will get the following graphic:

The graphic will be anchored at the lower left of the text column you created.

### 2.11.4 Importing an Image as a X bitmap (XBM)

FrameMaker and some other text processing systems can import and print ordinary color X window dumps. To have these displayed in color on the screen, the following lines may need to appear in your X resources file:

Maker.colorImages: True Maker.colorDocs: True One can use various programs, such as the FrameMaker 3.1 utility fmcolor and the Poskanzer Bitmap (PBM) tools to reduce a color window dump to a black and white window dump. This will save space and avoid any dithered imitations of color. However, since fmcolor applies a threshold based on color intensity to the image, some foreground colors may get mapped to white instead of black. To prevent this, use the -cp (cp stands for color printer) command line option when starting pigi, as in

pigi -cp Then color window dumps can be converted to black and white window dumps using the following FrameMaker 3.1 command:

fmcolor -i 90 filein fileout A useful hint when using such a document editor is to turn off the labels in pigi before capturing the image, and then to use the document editor itself to annotate the image. The fonts then will be printer fonts rather than screen fonts. To turn off the labels, execute the vem command "layer-display" under the vem "Options" menu.