Working with Plots.jl
TapeMeasure.jl provides an extension that loads when the user calls using Plots
in their code.
Changing Plot Settings:
You can change the plot settings using the following keyword arguments.
Settings
dim_color::Symbol
- changes the color of the dimension lines as well as the labelswith_mask::Bool
- the label will not "mask" over the dimension linefont_size
- changes the size of the label fonttext_rotation
- degree of rotation for the label
See below for examples:
Examples
dims = h_dim(x, y)
plot(x, y, seriestype=:shape, color=:lightgrey, legend=false, aspectratio=1)
plot!(dims, dim_color=:blue, with_mask=false, font_size=8)
dims = v_dim(y, x)
plot(y, x, seriestype=:shape, color=:lightgrey, legend=false, aspectratio=1)
plot!(dims, dim_color=:blue, text_rotation=0)