Closed lfarv closed 11 months ago
Answers #619.
A new labels keyword in plot functions (Lattice.plot_beta()) allows displaying the names of the selected elements. labels may be any of the allowed refpts types (int or bool arrays, class, string…).
labels
Example, for the hmba test lattice:
ring.plot_beta(labels=at.Quadrupole)
Answers #619.
A new
labels
keyword in plot functions (Lattice.plot_beta()) allows displaying the names of the selected elements.labels
may be any of the allowed refpts types (int or bool arrays, class, string…).Example, for the hmba test lattice: