Hi there, mathematicians.
I'm not very good at coding plots in Mathematica, so I was hoping that one of you could help me solve a problem I'm having.
I have the following matrix plot:
Z = {Subscript[x, 0], Subscript[x, 1], Subscript[x, 2]}
X = {{0, 8, 12}, {.1, 0, 0}, {0, .2, 0}}
Then I put it in a function as follows:
P[x_] := X^x.Z
I would like Mathematica to display plots such that, whenever x iterates from 1 to 10 in the function, the x1, x2, and x3 from the matrix are respectively plotted in three plots. Can anyone help me?
EDIT: Trying to be more clear
I have the matrix (mat) and the vector (v):
mat = {{0, 8, 12}, {.1, 0, 0}, {0, .2, 0}}
v = {x0, x1, x2}
Then later I define the function for population development, pD, taking t (for time in days) as its only parameter.
pD[t] = mat^t.v
Now I would like to show the development of the variables $x_1$,$x_2$, and $x_3$ assuming the values 30, 60, 30, respectively. I would do so by making plots of the three functions over the range 1 to 10 days. For each the first plot should display the values of $\{t,pD[t_{x_1}]\}$, the second the values of $\{t,pD[t_{x_2}]\}$, and the third the values of $\{t,pD[t_{x_3}]\}$. I hope this clarifies my question. Sorry for being so unconventional in the first place. However, having worked my eyes blind for quite some time, I presumed that it was anything but difficult to understand. Thanks for your patience!
Best regards, Brinck10

zvector. So how can one plot anything here? i.e. your{Subscript[x, 0], Subscript[x, 1], Subscript[x, 2]}is just symbolic. Can you please explain more the problem using normal math? i.e. what are the values of $x_0$ , $x_1$ and $x_2$? thanks – Nasser Dec 12 '12 at 19:00x_0,x_1, andx_2are respectively 30, 60, 30. Then I would like to plot three graphs, one graph representing eachx, for each iteration of x inP[x]. Thanks in advance. – Frederik Brinck Jensen Dec 12 '12 at 19:27P. But aside from this. $X^n . Z$ gives one vector. So as $n$ changes from $1$ to $10$, one vector is generated. So you want to plot just a line for each $n$? btw, I wish you name your variables to mean more what they are. i.e. rename $X$ to bematand $Z$ to becomevecand rename your functionP[x_]:= X^x.Zto bep[n_]:=(mat^n).vecso things become more clear. Using good names for things makes the code more understandable. – Nasser Dec 12 '12 at 19:42