if (exist ("graphics_toolkit")) graphics_toolkit ("gnuplot"); else backend ("gnuplot"); endif plot (rand (16)); labels = cellstr (ones (16, 1) * "foo"); tic legend (labels, "location", "southeast"); legend ("boxoff"); legend ("left"); toc