xmaxima's default window geometry in Kubuntu Linux



Am 7 Aug 2006 um 17:39 hat Robert Dodier geschrieben:

> On 8/7/06, jesse clark <jessclarkaustin at yahoo.com> wrote:
> 
> > I'm having a problem with the default
> > window geometry  that xmaxima outputs to gnuplot. A
> > circle comes out as an ellipse.
> 
> For some reason, Gnuplot does not enforce 1:1 aspect ratio by default.
> Try putting
> 
> set_plot_option ([gnuplot_preamble, "set size ratio -1"]);
> 
> before any plot2d. That makes the aspect ratio pretty close to 1:1
> (but not exactly so far as I can tell).

My experience (gnuplot on Windows) is, that if the output terminal is a graphics file, the 
aspect ratio is more or less precisely 1:1. 
Using the standard output window, I have to resize the window to 1:1 with the mouse one 
time, then click in the window menue bar options/'Update wgnuplot.ini' and after that every 
next plot is 1:1. This procedure seems to work with Maxima using gnuplot as well. 
(I don't know gnuplot interna, but I guess that gnuplot has problems to precisely adopt to 
individual screen properties.)

> It seems like Maxima should just paste "set size ratio -1" into the
> Gnuplot output. Have I forgotten why we don't want to do that?

Hi Robert,

I don't think we want this. Just take an example with xrange [0:1] and yrange [0:1000]. This 
wouldn't look really good with a size ratio 1:1.

Volker