I obtained a list of Y list after using Table[NSolve[expression,X],{var,varmin,varmax,step}]
. Then I created a list of X with Range
. I concatenated both of these lists and took the transpose to get x,y points. I need to plot the two lists. I think I am getting issue because of the X->
obtained in the list. Can anyone tell how to get rid of X->
in the list. It seems something trivial but I don't seem to know it.
Some points of the list {{0.1,X->0.333333}, {0.2,X->0.5}, {0.3,X->0.6}, {0.4,X->0.666667}} .
Code
expression = k1 *kinase *(Xtot - X) - k11 *phase* X == 0;
phase = 0.2; k1 = 1; k11 = 1; Xtot = 1;
Yvalues = Table[NSolve[expression, X], {kinase , 0.1, 2, 0.1}] // Flatten;
Xvalues = Range[0.1, 2, 0.1];
Finallist = Transpose[{Xvalues,Yvalues}]
ListPlot[Finallist]
If anyone knows a better way to plot it would be much better.
Yvalues
toYvalues = Table[X /. NSolve[expression, X], {kinase, 0.1, 2, 0.1}] // Flatten;
$\endgroup$Values
$\endgroup$