Re: weird behavior when plotting multiple functions in 6.0

*To*: mathgroup at smc.vnet.net*Subject*: [mg76135] Re: weird behavior when plotting multiple functions in 6.0*From*: ucervan at gmail.com*Date*: Wed, 16 May 2007 05:49:24 -0400 (EDT)*References*: <f2btov$iga$1@smc.vnet.net>

You can use: f[x_] = {Sin[x], Cos[x]}; Plot[Evaluate@f[x], {x, 0, 4*Pi}] The reason for the current behavior is that in V6.0 the plotting functions interpret a vector valued functions as a unique function. Try: f[x_] = {Sin[x], Cos[x]}; Plot[Tooltip[f[x], "f[x]"], {x, 0, 4*Pi}] You will see a tooltip mark on both curves since they are both represented by f[x]. Note that Table is as well interpreted as a vector valued function, compare: Plot[Table[x^n, {n, 1, 10}], {x, 0, 1}] Plot[Evaluate@Table[x^n, {n, 1, 10}], {x, 0, 1}]