need help with Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg88005] need help with Plot
- From: noravanq <sevak_m at yahoo.com>
- Date: Mon, 21 Apr 2008 14:38:54 -0400 (EDT)
Hi, I have the following situation. f[z_,t_]=some function sol=Solve[f[z,t]==0,{z}] This returns {{z->sol1[t]},{z->sol2[t]},{z->sol3[t]},{z->sol4[t]}} I want to plot Plot[Select[{sol1[t],sol2[t],sol3[t],sol4[t]},#>t&] But it doesn't plot correctly. Depending on t, Select returns either 2 or 4 values. Plot correctly plots only the sections for which Select returns 2 values (it plots two curves), and doesn't plot anything for the interval for t, in which Select returns 4 values. Can anyone help to fix this? I should also mention, that if I restrict t to only the interval where Select returns 4 values, Plot correctly plots 4 curves. Thanks for your help.