Guide.ylabel

Sets the y-axis label for the plot.

Arguments

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

Examples

plot(cos, 0, 2π, Guide.ylabel("cos(x)"))
x 0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0 cos(x)
plot(cos, 0, 2π, Guide.ylabel("cos(x)", orientation=:horizontal))
x 0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0 cos(x)
plot(cos, 0, 2π, Guide.ylabel(nothing))
x 0 2 4 6 8 -1.0 -0.5 0.0 0.5 1.0