MathGroup Archive 2008

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

Search the Archive

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.


  • Prev by Date: Converting Power terms to Times terms
  • Next by Date: Re: Re: Polygon cutter
  • Previous by thread: Re: Re: Converting Power terms to Times terms
  • Next by thread: Re: need help with Plot