Mechanical APDL Basic Analysis Guide

(Axel Boer) #1

18.1.3. Printing Graphics in Linux.


You can print to a postscript printer from within the program. Selecting Utility Menu> PlotCtrls> Hard
Copy displays the PS Hard Copy dialog box. Print options, including page layout, reverse video and
grey scale are available from this dialog box.


The black background provided in the graphics window is often unsuitable for printing. Selecting Reverse
Video displays the graphic on a white background. Contour colors and other colors selected from the
palette are unaffected by this option.


18.1.4. Exporting Graphics in Linux.


The PS Hard Copy dialog box (Utility Menu> PlotCtrls> Hard Copy) also provides a number of file
export formats (EPS, TIFF and JPEG) along with limited page layout options. These files can be used in
various word processing and desktop publishing applications.


As in Windows, you must use the /SHOW command in order to generat e file exports during batch runs.


To obtain additional export formats, select Utility Menu> PlotCtrls> Redirect Plots. You can select
from GRPH, PSCR, HPGL, HPGL2, JPEG, TIFF and VRML. These formats are suitable for a wide range of
applications outside of the program. Of special interest is the .GRPH file, a neutral graphics file that
uses the plotting instructions to recreate the file in other applications.


The Redirect Plots export defaults to raster mode, even if vector is the prescribed /DEVICE mode. Ensure
that the check box in the dialog box is checked for the desired output.


18.2. Creating a Neutral Graphics File


You can generat e a neutral graphics file (*.GRPH) and use the stand-alone DISPLAY program to view
static or animated screen images, or to convert your file into the appropriate format for printing, plotting,
or exporting to word processing or desktop publishing programs.


The neutral graphics file is an ASCII text file containing the instructions required to produce a graphics
display. You can view the displays stored on this file, using the DISPLAY program and the appropriate
2-D graphics driver, on any supported hardware platform. The neutral graphics file is not a bitmap
format but an ASCII text format, which means the resolution of a display produced by the DISPLAY
program usually will be better than that produced using the Utility Menu> PlotCtrls> Hard Copy.


To route your graphics displays to a neutral graphics file having any valid filename, use one of the
choices shown below. (In batch mode, by default, the program assigns this filename to Jobname.GRPH)
Command(s):/SHOW
GUI: Utility Menu> PlotCtrls> Device Options
Utility Menu> PlotCtrls> Redirect Plots> To GRPH File
Utility Menu> PlotCtrls> Redirect Plots> To Screen


Each subsequent graphics action command that you issue writes a separat e display to this file. ( Thus,
a neutral graphics file can contain more than one display, with each display being sequentially numbered,
beginning with 1.) You can use the animation macros, which automatically generat e a series of graphics
action commands for animation purposes, to create multiple displays on your neutral graphics file. If
you wish, you can reissue the /SHOW command with a graphics device name to direct subsequent
displays to your terminal screen. This way, you can toggle back and forth between the screen and a
file (which is appended, not overwritten) as many times as you wish.


Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

Creating a Neutral Graphics File
Free download pdf