Answers for "add legend to axis octave"

-1

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);
Posted by: Guest on March-25-2021

Browse Popular Code Answers by Language