graphics_toolkit("gnuplot");
hold on;
plot(-1:.1:1, -1:.1:1);
set(gca, "box", "off");
print("plot1.png", "-dpng");
set(gca, "xaxislocation", "origin");
set(gca, "yaxislocation", "origin");
print("plot2.png", "-dpng");