Re: Plotting a function of x and y
- To: mathgroup at smc.vnet.net
- Subject: [mg28108] Re: Plotting a function of x and y
- From: Erk Jensen <Erk.Jensen at cern.ch>
- Date: Sat, 31 Mar 2001 02:58:44 -0500 (EST)
- Organization: CERN http://www.cern.ch
- References: <9a1l5e$abh@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Christopher Deacon wrote: > > 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? > > Chris > > -- > +-----------------------------+----------------------------+ > | Christopher Deacon | (709) 737-7631 > | Dept of Physics and Physical| cdeacon at physics.mun.ca > | Oceanography > | Memorial University of Nfld > +----------------------------+-----------------------------+ > | http://www.physics.mun.ca/~cdeacon > +----------------------------------------------------------+ Plot[y/.Solve[3x+2y==50,y][[1]],{x,-10,10}] ciao -erk-