Answer by Alex Trounev for Plotting eigenvalue function along a path with...
I'll add a couple of lines of code without using First, Last testMat[a_, b_] := {{2 a, 3 b^2}, {2 b, 4 a}}; Plot[{Eigenvalues[testMat[t, 0]].{1, 0}, Eigenvalues[testMat[t, 0]].{0, 1}}, {t, 0, 1},...
View ArticleAnswer by bbgodfrey for Plotting eigenvalue function along a path with...
1) Basically, Mathematica has no way of knowing whether to treat the two curves as having the same or distinct colors. Using Evaluate tells it to use distinct colors. (The underlying reasons relate to...
View ArticleAnswer by Henrik Schumacher for Plotting eigenvalue function along a path...
The problem is that at the time of the call to Plot, it is not clear that it is about two function that are to plot. Actually, you tell Mathematica's Plot command to plot an $\mathbb{R}^2$-valued...
View ArticlePlotting eigenvalue function along a path with correct coloring
This question has multiple parts to it. The setup is that I have a matrix that is a function of two parameters a and b. I wish to plot the eigenvalues of this matrix along a general path in the a-b...
View Article
More Pages to Explore .....