I have a small program configured to display three graphs of the same function with different parameters using Manipulate. I would like to mark each function with a parameter value. My starting point was just to show the legend. Adding PlotLegend to the plot causes Mathematica to become unusually slow.
My code is:
Needs["PlotLegends`"] Manipulate[ UemaxOverUe = ((VA/Vphs)^2 (2 p - 1) + 1 - Ves0/Vphs - 2)/((VA/Vphs)^2 - (1 - Ves0/Vphs)); UemaxOverUe2 = ((VA/Vphs)^2 (2 p - 1) + 1 - Ves02/Vphs - 2)/((VA/Vphs)^2 - (1 - Ves02/Vphs)); UemaxOverUe3 = ((VA/Vphs)^2 (2 p - 1) + 1 - Ves03/Vphs - 2)/((VA/Vphs)^2 - (1 - Ves03/Vphs)); ListPlot[{ Table[{Vphs/VA, 1/UemaxOverUe}, {Vphs, .001 VA, VA, .01 VA}], Table[{Vphs/VA, 1/UemaxOverUe2}, {Vphs, .001 VA, VA, .01 VA}], Table[{Vphs/VA, 1/UemaxOverUe3}, {Vphs, .001 VA, VA, .01 VA}]}, AxesLabel -> {"Vphs/VA", "Ne/NeMax"}, Joined -> True(*, PlotLegend->{"Blah","Blarg","Word"}*)], {{p, 1}, 0, 5}, {{Ves0, -2 VA}, -10 VA, 10 VA, .1 VA}, {{Ves02, -2 VA}, -10 VA, 10 VA, .1 VA}, {{Ves03, -2 VA}, -10 VA, 10 VA, .1 VA} ]
Uncommenting PlotLegend should recreate the problem.
My questions: Why is this happening?
What is a good solution or workaround?