Guide.xlabel

Sets the x-axis label for the plot.

Arguments

label is not a keyword parameter, it must be supplied as the first argument of Guide.xlabel. Setting it to nothing will suppress the default label.

Examples

plot(cos, 0, 2π, Guide.xlabel("Angle"))
Angle 0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0 f(x)
plot(cos, 0, 2π, Guide.xlabel("Angle", orientation=:vertical))
Angle 0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0 f(x)
plot(cos, 0, 2π, Guide.xlabel(nothing))
0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0 f(x)