On 11/25/2010 12:47 PM, Robert Dodier wrote:
> On 11/25/10, Sheldon Newhouse<sen1 at math.msu.edu> wrote:
>
>
>> How do I get draw to export graphics windows in remote maxima?
>>
>> I want to use maxima on remote servers.
>>
> My advice is to login via ssh -X. But if you are seeing plot2d output,
> probably you already solved that problem.
>
>
>> Here is the output on the terminal from
>>
>> (%i1) draw2d(explicit(x^2,x,-1,1));
>> (%o1) [gr2d(explicit)]
>> (%i2)
>>
>> So, it looks as if the graphics is generated. But, there is no display
>> on the remote machine.
>> Both plot2d and gnuplot work as expected.
>>
> Hmm. My first guess is that the Gnuplot output file generated by
> draw2d is invalid or something. By default draw2d generates a
> couple of output files, maxout.gnuplot and data.gnuplot, in the
> directory named by the global variable maxima_tempdir.
> cd to that directory and try running Gnuplot from the shell prompt;
> perhaps this will do: gnuplot -persist maxout.gnuplot
>
> If that doesn't display anything, there's a bug in draw2d.
> Otherwise, I'm really puzzled.
>
> Note that plot2d generates files of the same names, so try
> the gnuplot command only after calling draw2d.
>
> HTH
>
> Robert Dodier
> .
>
>
Actually, I think it is because the remote servers are running gnuplot
v. 4.0 and not v. 4.2. I'll try to get 4.2 installed to see if the
problem disappears.
Thanks for your answer.
-sen