Guide.xlabel
Sets the x-axis label for the plot.
Arguments
label
: X-axis labelorientation
(optional)::horizontal
,:vertical
, or:auto
(default)
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"))
plot(cos, 0, 2π, Guide.xlabel("Angle", orientation=:vertical))
plot(cos, 0, 2π, Guide.xlabel(nothing))