Primary
Plot.addComp() ⚬|docu|1st|20251021195929-00-⌔
PlotManager — PyXspec 2.1.5 documentation#xspec.PlotManager.addComp
addComp(addCompNum=1, plotGroup=1, plotWindow=1)Return a list of Y-coordinates for a particular add component of a model
The individual add component arrays of a model are generated in ‘data’ and ‘model’ plots when Plot.add = True. Add components are numbered from 1 to N where N is the total number of add components from all models in the plot group. (A data plot may have multiple models associated with a spectrum.) See also the Plot.nAddComps() method for obtaining the value N.
This call is valid only if the add component belongs to a model which has multiple add components.
Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •