octave plot legend
h ={"alpha 1", "alpha 2"}; legend (h, "location", "northeast"); set (legend, "fontsize", 12);
octave plot legend
clf; plot (rand (2)); title ("legend called with cellstr and string inputs for labels"); h = legend ({"foo"}, "bar"); legend (h, "location", "northeastoutside"); set (h, "fontsize", 20);
Source: octave.sourceforge.io