Re: help
- To: mathgroup at smc.vnet.net
- Subject: [mg21014] Re: [mg20934] help
- From: "Tomas Garza" <tgarza at mail.internet.com.mx>
- Date: Thu, 2 Dec 1999 21:41:26 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
kchuang [kc at blue.ims.ncku.edu.tw] wrote:
> Anybody know that mathematica can plot many plots which is two
> variables one
> time?like as following:
>
> A={-1,0,1},B={-1,1,2},C{0,1,2}and I want to plot Ax+By=C by Mathematica?
Well, if I understood correctly, you might try the following:
In[1]:=
a = {-1, 0, 1}; b = {-1, 1, 2}; c = {0, 1, 2};
In[2]:=
lhs = a x + b y - c
Out[2]=
{-x - y, -1 + y, -2 + x + 2 y}
In[3]:=
<< Graphics`ImplicitPlot`
In[4]:=
ImplicitPlot[# == 0, {x, -1, 1}] & /@ lhs
Tomas Garza
Mexico City