On Windows Maxima plot window isn't square



On 02/21/2013 10:07 PM, Henry Baker wrote:
> When I run plot2d on the Maxima shown below, the plot window doesn't
> come up as square, so circles come out as ellipses.
>
> Note that the plot is fine as far as Maxima & plot2d is concerned; the
> problem is that the aspect ratio of the window it's being drawn in is
> off.
>
> If I "resize" the window using the mouse to make it square, then the plot looks fine.
>
> Is there any way of initializing the plot window so it comes up square by default?
Hi,
you forgot to show us your plot2d command, but here is an example:

plot2d([sqrt(9-x^2), 
-sqrt(9-x^2)],[x,-3,3],[legend,false],[gnuplot_preamble,"set size ratio 
1"]);

(it works fine in the wxt gnuplot terminal in Ubuntu, but it might fail 
in other gnuplot terminals)

Another method:

plot2d([sqrt(9-x^2), 
-sqrt(9-x^2)],[x,-3,3],[legend,false],[plot_format,xmaxima]);

Regards,
Jaime