Subject: Maxima 5.25.1 on Mac gnuplot problem - no window
From: Michel Talon
Date: Fri, 2 Dec 2011 21:43:11 +0000 (UTC)
Jaime Villate wrote:
> On 12/02/2011 06:35 PM, Michel Talon wrote:
>> I don't know why you have this problem, here on Mac OS X Lion, maxima
5.25.1
>> compiled with sbcl (by myself) i have no problem to plot things (the plot
>> appears in an X window, not in aquaterm) and i can rotate 3D plots with the
>> mouse.
> Hi Michel,
> That means that the gnuplot default terminal in your Mac is not the same
> as in Hermann's Mac. It might not be X11 either.
> Can you please start gnuplot from the console and tell us the result of
> the command "show term".
> Cheers,
> Jaime
First the gnuplot i have came with the precompiled maxima i have downloaded
for Mac OS X about one month ago, if i remember well. Posterior to that i
recompiled maxima in order to have the same sbcl compiler for maxima and
slime.
If i run gnuplot in a terminal indeed the plot comes out in an aquaterm.
lilas% gnuplot
G N U P L O T
Version 4.2 patchlevel 6
last modified Sep 2009
System: Darwin 11.2.0
Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'aqua'
gnuplot> show term
terminal type is aqua 0 title "Figure 0" size 846,594 font "Times-Roman,14"
noenhanced solid
gnuplot> plot sin(x)
(in aquaterm).
BUT, if i get a gnuplot plot through maxima, it comes out in an X window, like
that:
lilas% maxima
(%i1) plot3d ( 5, [theta, 0, %pi], [phi, 0, 2*%pi],
[plot_format,xmaxima],
[transform_xy, spherical_to_xyz],
[palette,[value,0.65,0.7,0.1,0.9]])$
The window has this title: Xmaxima: Plot3d, the ball is included in a cube
that i can rotate, and the Mac TitleBar is X11 ?.
I don't have any idea why it is so, i don't have any particular configuration
about graphics in my .maxima. Probably the only non standard thing i have is
that my maxima is compiled here.
--
Michel Talon