Re: Solve and Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg6529] Re: Solve and Plot
- From: "Peter MEURIS" <Peter.meuris at oma.be>
- Date: Mon, 31 Mar 1997 23:01:30 -0500 (EST)
- Organization: BIRA
- Sender: owner-wri-mathgroup at wolfram.com
Michel Gosse <michel.gosse at hol.fr> wrote in article <5hdaum$dra at smc.vnet.net>... | Hello | I would like to solve an equation and then plot the solution. The command : | Plot[Solve[3x+2y-4==0,y]],{x,-5,5}] | How can i do my plot in a one line command ? | Regards. | ************************************************************** | * Michel Gosse | Email : michel.gosse at hol.fr * | * 97, rue Joachim du Bellay | Webpage : coming soon... * | * 86000 POITIERS | Phone : 33 549460970 * | * FRANCE | Fax : 33 549460970 * | ************************************************************** | | Plot[Evaluate[y/.Solve[3x^2+2y-4==0,y][[1]]],{x,-5,5}] Will do the trick ! Peter MEURIS