/////////////////////////////////////////////////// // The automated way // /////////////////////////////////////////////////// subplot(121) plot([1:10], sin([1:10])) xtitle("My Graph 1", "My X axis 1", "My Y axis 1") subplot(122) plot([1:10], cos([1:10]), 'r+') xtitle("My Graph 2", "My X axis 2", "My Y axis 2") /////////////////////////////////////////////////// // The custom way // /////////////////////////////////////////////////// f = figure("background", -2, ... "figure_size", [1000 600]) newaxes(f); a1 = gca(); a1.axes_bounds = [0,0,0.5,1]; a1.x_label.text = "My X axis 1"; a1.y_label.text = "My Y axis 1"; a1.title.text = "My Graph 1"; newaxes(f); a2 = gca(); a2.axes_bounds = [0.5,0,0.5,1]; a2.x_label.text = "My X axis 2"; a2.y_label.text = "My Y axis 2"; a2.title.text = "My Graph 2"; sca(a1) plot([1:10], sin([1:10])) sca(a2) plot([1:10], cos([1:10]), '+r')