Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

ugly Plot Eigenvalues ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39670] ugly Plot Eigenvalues ?
  • From: Pavel Pokorny <Pavel.Pokorny at vscht.cz>
  • Date: Fri, 28 Feb 2003 04:46:07 -0500 (EST)
  • Organization: Czech Technical University
  • Sender: owner-wri-mathgroup at wolfram.com

    Dear Mathematica friends,

How can I plot Re Eigenvalues as a function of a parameter
without unwanted ugly connections between branches?
In the example (computed by Mathematica 4.2 for HP-UX PA-RISC)

   m1={{8., 8, 7}, {0, 5, 5}, {8, 0, 0}}
   m2={{6., 0, 6}, {10, 8, 3}, {5, 8, 6}}
   Plot[Evaluate[Re[Eigenvalues[m1+w*m2]]], {w,-3,3}];

for w approximately -0.4 there is an unwanted vertical bar.
This is related to "ordering" of solutions to equation.

Is there a simple nice solution for this and related examples?
(taking exact numbers in the example above avoids the unwanted connection,
but this is not a good solution for a general machine precission problem)

-- 
Pavel Pokorny
Math Dept, Prague Institute of Chemical Technology
http://staffold.vscht.cz/mat/Pavel.Pokorny


  • Prev by Date: Re: visualizing Map, Thread, Apply, etc.
  • Next by Date: density plot
  • Previous by thread: How to make greek letters in graphics?
  • Next by thread: density plot