# Plot a list vertically in a graph

For a parametrized matrix $$H(\lambda)$$, how do I plot all the eigenvalues of the matrix vertically corresponding to a particular value of $$\lambda$$? i.e. we use $$\lambda$$ as the horizontal axis and the eigenvalues are along the vertically axis.

ps. We can for sure plot each of these points separately, but I'm wondering whether there is a simpler way. Thanks.

• could you provide a MWE of the input? – Nasser Jun 3 at 2:23
• what does MWE stand for? – M. Zeng Jun 3 at 4:08
• MWE is a minimum working example that somewhat represents your problem. Having that makes it much easier for people to help you as they don’t have to spend so much time writing code or guessing what you want. In this case, even providing a small sample dataset would be really helpful. – MassDefect Jun 3 at 4:31
• Tracking Eigenvalues Through a Crossing – LouisB Jun 3 at 4:44

ClearAll[m]

Plot[Evaluate@Eigenvalues@m[l], {l, 1, 10}]