RoentgenPlots.jl provides functions to plot datatypes defined in Roentgen.jl using Plots.jl.
- Navigate to your project
- Open the Julia REPL
- [Optional] Activate a new environment
- Enter package mode by typing
]
- Install using
add https://github.com/lmejn/RoentgenPlots.jl
Import the package using,
using RoentgenPlots
The two main function are:
plot_bld(args...; kwargs...)
To plot the geometry of beam-limiting devices. Currently supported devices are:
- Multi-Leaf Collimator
- Jaws
- Bixels
axes_lims!(args...; kwargs...)
To set the axes limits of the figure based on the geometry of the beam-limiting device.
See the example notebook for usage.