Legend Position in Maxima Plots

Here’s something I just learned and want to share with others and record for my use the next time I need to do this and have already forgotten!

The position and appearance of the figure legend in Maxima plots drawn with plot() (by setting gnuplot_preamble) and in draw() (by setting user_preamble),  can be manipulated to any of the gnuplot options listed here.

Here are some examples:

plot_legend0

plot_legendtopleft

draw_legendatbox

One thought on “Legend Position in Maxima Plots”

  1. May 2021 – I cannot get this to work because the font for legend ‘sine’ displays as too tiny to read, although in the right place on plot. Using ‘new’ wxMaxima v 21 – wish I had not ‘upgraded’ at all … jrc

    Like

Leave a comment