sda

Set default axes.

Calling Sequence

sda()a = gda(); set(a,"default_values",1)

Arguments

a

handle, the handle of the default axes.

Description

This routine resets the axes' model to default values.

Examples

x=[0:0.1:2*%pi]';f=get("default_figure");// get the handle of the model figure a=get("default_axes");// get the handle of the model axes // setting its' propertiesf.figure_size=[1200900];f.figure_position=[00];a.background=4;a.box="off";a.foreground=5;a.labels_font_color=25;a.labels_font_size=4;a.sub_tics=[73];a.x_location="middle";a.y_location="middle";a.tight_limits="on";a.thickness=2;a.grid=[-124];subplot(221);plot2d(x-2,sin(x))subplot(222);plot2d(x-6,[2*cos(x)+.72*cos(x)+.9cos(2*x).2+sin(3*x)],[-1,-2,-3-4])sda()// return to the default values of the axes' modelsubplot(223);plot2d(x-2,sin(x))subplot(224);plot2d(x-6,[2*cos(x)+.72*cos(x)+.9cos(2*x).2+sin(3*x)],[-1,-2,-3-4])xdel(0)plot2d(x-2,sin(x))