blob: 68a04bd1bc4005ad4ff3a306e80213f35a8e15d3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
function change_plot_attribs(xlab,ylab,caption,labelsize,capsize,fontsize)
attrib_axes = gca(); //Attributes of axes of active handle
attrib_axes.x_label.text = xlab; //X-label
attrib_axes.y_label.text = ylab; //Y-label
attrib_axes.title.text = caption; //Title of the plot
attrib_axes.x_label.font_size = labelsize; //X_label font size
attrib_axes.y_label.font_size = labelsize; //Y_label font size
attrib_axes.title.font_size = capsize; //Title font size
attrib_axes.font_size = fontsize; //Font size of x-axis and y-axis
endfunction
|