graphics_toolkit ("gnuplot") setenv ("GNUTERM", "wxt"); h1 = barh (1:4, "facecolor", [0 0 0], "linewidth", 1, "linestyle", "-", "edgecolor", [1 0 0]); legend ("a"); saveas (h1, "bug.svg");