Question: ploting after doing loops

Hi,

I've been working with Maple lately for my thesis, mainly running numeric solutions for my model.

I have a question regarding the loop command.
Using Fsolve I want to solve non-linear equations for several variables given some parameters. What I want to do is to plot the solved variables for changes in one of the parametrs.

for example, suppose I want to show, on 2 separate graphs, the oprimal (solved) variables of x and z, against  changes in the parameter y for these two equations:

2*x-2*y-3*z
3*x+4*y+2*z
 

What I've been doing in Maple (I`m new to the software...) is:

A:= 2*x-2*y-3*z
B:=3*x+4*y+2*z
for i from 1 by 1 to 3 do
g[i]:=subs(y=i,[A,B])
od;
for j from 1 by 1 to 3 do
t:=fsolve(g[j].{x,z})

My problem is that while I see the solution on screen I can't plot it or save it.
Maple seems to "remeber "only the last (third) solution for x and z.

Can you please help me? 
Thank you very much in advance

Dan

Please Wait...