MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Displaying graphics with the MathKernel in OS X


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


  • Prev by Date: Intern. Mathematica Symposium 2008, 20-24 June 2008 in Maastricht, NL
  • Next by Date: Re: NDSolve with functions of vectors
  • Previous by thread: Displaying graphics with the MathKernel in OS X
  • Next by thread: Re: Displaying graphics with the MathKernel in OS X