Re: Plotting a function of x and y
- To: mathgroup at smc.vnet.net
- Subject: [mg28127] Re: Plotting a function of x and y
- From: "Paul Lutus" <nospam at nosite.com>
- Date: Sat, 31 Mar 2001 02:58:58 -0500 (EST)
- References: <9a1l5e$abh@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Christopher Deacon" <cdeacon at physics.mun.ca> wrote in message news:9a1l5e$abh at smc.vnet.net... > How do I plot the function > > 3 x+ 2y = 50? > > I suppose I could use Solve to rewrite the equation in slope-intercept form, > but is there a simpler way? The simplest way is for you to decide what form of the function you want to plot, create it, and then plot it. Here is an example: f[x_] = Solve[3 x + 2 y == 50,y][[1,1,2]] Plot[f[x],{x,-10,10}] -- Paul Lutus www.arachnoid.com