Re: Displaying graphics with the MathKernel in OS X
- To: mathgroup at smc.vnet.net
- Subject: [mg82901] Re: Displaying graphics with the MathKernel in OS X
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Fri, 2 Nov 2007 05:05:19 -0500 (EST)
- References: <fgenq7$g2d$1@smc.vnet.net>
kevin_jazz wrote: > I'd like to use Mathematica the "old fashion" way by using the > MathKernel with the notebook. If you don't use the front end, then you can't use notebooks. > However, I'd like to be able to display > graphics. This is what I've done: > You can't expect graphics to be displayed without a GUI. > isengard:/Applications/Mathematica.app/Contents/MacOS kbowman$ ./ > MathKernel > Mathematica 6.0 for Mac OS X x86 (32-bit) > Copyright 1988-2007 Wolfram Research, Inc. > > In[1]:= Plot[Sin[x],{x,1,3}] > > Out[1]= -Graphics- > > In[2]:= Exit[] > isengard:/Applications/Mathematica.app/Contents/MacOS kbowman$ > > However, the Graphics are not displayed in a window. > > Does anyone know of a way to do that? > <<Terminal` Plot[Sin[x], {x, 0, 2Pi} or write your own $DisplayFunction that uses some other program to display exported graphics. -- Szabolcs