gnu plot integration still (partially) broken on OSX - Solved
Subject: gnu plot integration still (partially) broken on OSX - Solved
From: Hermann Klocker
Date: Mon, 21 May 2012 07:36:04 +0200
Thanks for your reply - you have been right. With the following settings made in two files in my home directory maxima produces perfect gnuplot-3d-plots:
-------------------------------------------------------------------
~/.maxima/maxima-init.mac:
gnuplot_command:"/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot"$
set_plot_option([gnuplot_term, x11])$
-------------------------------------------------------------------
~/.bashrc:
export DISPLAY=:0
-------------------------------------------------------------------
I have to start X11 separately (how could I automate this?) but then plots work very fine.
As you guessed the aqua term setting does not support mouse gestures in the plot window.
Thanks,
Hermann
Am 15.05.2012 um 14:54 schrieb Jaime Villate:
> On 05/15/2012 12:17 PM, Hermann Klocker wrote:
>> I use to create 3d-graphics using gnuplot either via draw3d or via plot3d, both commands seem to fail:
>> 1. draw3d shows nothing, it does work on windows.
>> 2. plot3d shows a plot but does not interact with mouse to rotate the view.
>>
>> Do I miss something?
>>
> Hi,
> I can't try to reproduce your problem because I do not have OSX, but I suspect it has to do
> with the default terminal used in gnuplot (I guess X11?) not having mouse support and other
> features required by draw3d. You could try changing the gnuplot_term plot option to other
> terminal in OSX's version of gnuplot (see "? gnuplo_term").
>
> You could also try adding the option
> [plot_format, xmaxima]
> to your plot3d commands and see whether you like it.
> Cheers,
> Jaime
>