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 labels
  • with_mask::Bool - the label will not "mask" over the dimension line
  • font_size - changes the size of the label font
  • text_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)
Example block output
dims = v_dim(y, x)

plot(y, x, seriestype=:shape, color=:lightgrey, legend=false, aspectratio=1)
plot!(dims, dim_color=:blue, text_rotation=0)
Example block output