Including Prochart Graphs


To insert Prochart graphs as figures in your LaTeX document is a 2 step process. First, you must create the graphs in Prochart, and save them as PostScript files. Second, you must include them in your favorite text formatter. This answer only covers how the first part. For information about how to include this file in LaTeX, look in the LaTeX answers under Including POSTSCRIPT pictures into a Latex File. Start by entering prochart:

Main Menu ======================== dc Data & Chart Types th Titles & Headers cl Chart Layout rc Reset Chart li Library su Setup hp HELP ======================== qu Quit
From this Main Menu, select the Setup entry. This will bring you to following menu:

Setup ProChart If you do not know about device names, etc. ask your System Administrator sd Screen Device [xterm___________] sc Screen Connection [tty_____________] hd Hardcopy Device [PS8S____________] hc Hardcopy Connection [file.PS_________] tr Transparency :On ed Editor [emacs___________] se String Editing Style :UNIX
Edit the entries in the Setup Prochart menu so that they are the same as above. Case is significant in the PS8S entry. The Hardcopy Connection entry should be changed from file.PS to a unique filename for each graph that you are including in your scribe document. Make sure that this file does not exist yet. Press the space bar to activate the setup.

Your next change within Prochart is the set the display window to a size that will correspond to the margins of your document. To do this, return to the Main Menu, and select Chart Layout:


Chart Layout pr * Primary Chart Type :Line ax Axes ma Margins dw Display Window bb Border & Background le Legend gs General Bar Settings
From the Chart Layout Menu, select Display Window:

Display Window le Left Edge (%) [0.00] bo Bottom Edge [0.00] rt Right Edge [83.0] tp Top Edge [80.0]
From the Display Window menu, change the entries as shown. These are close approximations to achieve a figure that takes up ~2/3 of a printed page in a report, and is horizontally centered on a page with the default margins. Adjust accordingly if you are using different margins, or want a larger graph on the page.

Create your graph normally, using . to preview it on the screen. When you are finally ready to save the graph for inclusion in your scribe document, press the + key, then press return. This will save your graph in the file specified in the Setup Prochart menu--file.PS in the example above. Note that this filename should not already exist, as Prochart appends output files onto the end of each other, thus wasting space in your account.

If you need to include more than one graph, return to the Setup Prochart menu and change the name of the Hardcopy Connection. Create the graph, then save it with +. Repeat this process for all graphs that you want to include.