Re: MathKernel7 produces no Graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg104630] Re: MathKernel7 produces no Graphics
- From: Albert Retey <awnl at gmx-topmail.de>
- Date: Thu, 5 Nov 2009 03:50:45 -0500 (EST)
- References: <hcr7ks$8p0$1@smc.vnet.net>
Jan Engelhardt schrieb:
> Hi everybody,
>
>
> I just installed a trial of Mathematica 7.0.1 to see how it improved
> from the previous Mathematica 5.2 that I still had. Slightly
> disappointing is the fact that the MathKernel does not output graphics
> anymore, that is,
>
>> ~/bin/math
> Mathematica 7.0 for Linux x86 (64-bit)
> Copyright 1988-2009 Wolfram Research, Inc.
>
> In[1]:= Plot[x^2, {x, -1, 1}]
>
> Out[1]= -Graphics-
>
> In[2]:=
>
> Without popping up a new window with the graph as it used to in Math5.
> $DISPLAY is set and valid. Even when I forcibly unset it, there is no
> warning from the graphics output subprogram (that used to start in
> Math5) that DISPLAY is empty.
>
> I found this [ http://tinyurl.com/yfn47x2 ] thread in this newsgroup
> archive mentioning similar issues; however, if directing MathKernel to
> output in StandardForm or TraditionalForm, the -graphics- won't be a
> -graphics-, but a point list and parameters of the plot (I'd really
> prefer the drawn plot ;)
>
> In[2]:= StandardForm[Plot[x^2,{x,-1,1}]]
>
> Out[2]//StandardForm=
>
>> GraphicsBox[... lots of text ...]
>
>
>
> What could be up with MathKernel7 that it produces no Graphics? With the
> graphical interface (~/bin/mathematica), plots are in fact shown, but
> I really prefer running just the MathKernel CLI.
>
>
> thanks,
> Jan
I think this has changed in version 6. You can get something similar to the
old default behaviour (an extra window which shows the graphics) with:
Get["JavaGraphics`"]
the former Motif-Graphics are not existent anymore, AFAIK.
hth,
albert