Article View: gnu.emacs.help
Article #189045Graphics in math-mode (for Mathematica)
From: Ravinder Bhumbla
Date: Thu, 09 May 1991 08:14
Date: Thu, 09 May 1991 08:14
53 lines
2749 bytes
2749 bytes
Forgive me if this is a frequently asked question. The FAQ posting has expired on my site and I don't remember seeing anything like my problem when I last read it. Well, here is the problem. Yesterday, I installed the math-mode for emacs which I downloaded from an anonymous ftp archive. It makes emacs act like a front-end for Mathematica and the interface is practically like the one they have for Macintosh (oh no! I used the "M" word in this newsgroup!) and is really wonderful. I got it working and tested it for some simple cases. I am, however, having problems with graphics. When I normally use Mathematica on my machine (a Solbourne 5/804 running OS/SMP 4.0D which I believe is similar to SunOS 4.0), I use an initialization file called init.m to setup my terminal graphics. I tried to load the file while in math-mode using the command "<< init.m" which did give me the usual start-up message. However, when I actually tried to plot some graphics, it came back to me with the response Out[18] = -Graphics- I believe this has something to do with the terminal initialization for emacs, but I am a complete novice at emacs and cannot figure out what to do. Did I mention that I use a terminal that emulates vt100/tek4014? I enclose the Mathematica initialization file init.m if that helps. Any response will be appreciated. Let me know if I omitted some relevant information. Thanks, -------------init.m--------------------------- (* Graphics output for Tektronix 4010 type terminals *) (* These variables can be reset during a session to alter subsequently created graphics windows: *) $DisplayWidth = 780 $DisplayHeight = 780 $Display := $TekDisplay $TekDisplay := StringJoin["!tekps -h '", ToString[N[$DisplayHeight]], "' -w '", ToString[N[$DisplayWidth]], "'" ] $DisplayFunction = Display[$Display, #]& Print[" -- Tektronix graphics initialized -- "] -------------end init.m--------------------------- -- Ravinder Bhumbla rbhumbla@ucsd.edu U. of California, San Diego
Technical Details
Message-ID:
<19178@sdcc6.ucsd.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!sdcc6!sdcc15!am299bvShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,4d62130f6cef38f7,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-05-09 07:22:01 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!sdcc6!sdcc15!am299bv From: am299bv@sdcc15.ucsd.edu (Ravinder Bhumbla) Newsgroups: gnu.emacs.help Subject: Graphics in math-mode (for Mathematica) Summary: Can't get graphics for emacs Mathematica front-end Message-ID: <19178@sdcc6.ucsd.edu> Date: 9 May 91 08:14:33 GMT Sender: news@sdcc6.ucsd.edu Reply-To: rbhumbla@ucsd.edu (Ravinder Bhumbla) Organization: University of California, San Diego Lines: 53