This document will be updated throughout the course
% xmaplefor the GUI version (in which case make sure your DISPLAY environment variable is set correctly if running on a remote machine), or
% maplefor a terminal-based (text) session. In the latter instance you should see something like this.
% maple |\^/| Maple V Release 5 (University of Texas at Austin) ._|\| |/|_. Copyright (c) 1981-1997 by Waterloo Maple Inc. All rights \ MAPLE / reserved. Maple and Maple V are registered trademarks of <____ ____> Waterloo Maple Inc. | Type ? for help. >If there is any sequence of
Maple
commands that
you find yourself typing at the beginning of each session (maple
or xmaple
) you can put them in a file .mapleinit
in your home directory, whereafter they will automatically be executed
each time you use Maple
.
% explorerHere are links to the IRIS Explorer Center and Postscript versions of the User's Guide with graphics and without graphics.
gft_out_bboxshould suffice. Here is a usage example:
integer nx, ny parameter ( nx = 65, ny = 33 ) real*8 gfcn(nx,ny) real*8 xmin, xmax, ymin, ymax, & time integer shape(2), rank real*8 bbox(4) . . . c------------------------------------------------------ c 'bbox' defines 'bounding box' of coords. c associated with the data: c c bbox := ( xmin, xmax, ymin, ymax ) c------------------------------------------------------ bbox(1) = xmin bbox(2) = xmax bbox(3) = ymin bbox(4) = ymax rank = 2 shape(1) = nx shape(2) = ny do it = 1 , nt . . . c------------------------------------------------------ c The first (string) arg. to 'gft_out_bbox' c is stripped of non alphanumeric/underscore c characters (including punctuation) if necessary, c and then used as the 'stem' for a filename of c the form 'stem.sdf'. All calls to 'gft_out_bbox' c with the same string result in output to the c same file. c------------------------------------------------------ time = it * 1.0d0 call gft_out_bbox('gfcn',time,shape,rank, & bbox,gfcn) end do . . .
The gft_ routines use a machine-independent binary format; thus data output using gft_out_bbox on a Cray, for example, can be processed on an SGI. On the SGIs, 2- and 3-D data is best visualized using IRIS Explorer. A locally developed module, called ReadSDF_GFT0, is available for Explorer input of data written using the gft_ routines. Here's an image of an Explorer map which uses this module.
% nbody 2.0 0.01 < nbody_input | pp2d % nbody 2.0 0.01 < nbody_input | pp2d -mHelp is available via
% pp2d -hThe source code, pp2d.c and pp2d.h, may be of interest to those of you interested in using OpenGL for graphics programming. Makefile for pp2d.
% cc -n32 -I/usr/local/include pp2d.c -L/usr/localn32/lib -lglut \ -lMesaaux -lMesatk -lMesaGLU -lMesaGL -lXmu -lXi -lXext -lX11 \ -lm -o pp2d
p329fsa.f
.
See
source
code
and course notes for further information.% f77 pgm.f -L/usr/localn32/lib -lp329 -o pgm
einstein% set DISPLAY linux1.ph.utexas.edu:0 einstein% ghostview somefile.psNote: Not all Postscript files will have .ps extensions, but many do by convention.
einstein% gnuplot . . . Terminal type set to 'x11' gnuplot> help . . . gnuplot> quit
einstein% sm Can't find entry for iris-ansi-net in /usr/local/lib/sm/termcap Hello Matt, please give me a command : device x11 : help . . . : quit
% ls document.tex % latex document.tex This is TeX, Version 3.14159 (C version 6.1) (document.tex LaTeX2e <1996/06/01> Hyphenation patterns for english, german, loaded. . . . No file document.aux. [1] (document.aux) ) Output written on document.dvi (1 page, 696 bytes). Transcript written on document.log. % ls document.aux document.dvi document.log document.tex
% ls document.aux document.dvi document.log document.tex % xdvi document
% ls document.aux document.dvi document.log document.tex % dvips document Got a new papersize This is dvips 5.58 Copyright 1986, 1994 Radical Eye Software ' TeX output 1997.01.22:1442' -> document.ps. [1] % ls document.aux document.dvi document.log document.ps document.tex