2
$\begingroup$

I want to display these two equations in one graph. Both are having different values but by using Show command only single line comes in graph.
My Code is:

Show[ListLinePlot[
  Table[(1/x)^3/(Sqrt[π]) N[
     MeijerG[{{-5/2, -2}, {}}, {{2, -2}, {-3}}, 1/x]], {x, 10}]], 
 ListLinePlot[
  Table[172 (1/y)^(9/2)/(5760000000 Sqrt[π]) N[
     MeijerG[{{-5/2, -2}, {}}, {{2, -2}, {-3}}, 1/y]], {y, 10}]], 
 PlotRange -> All]
$\endgroup$
  • $\begingroup$ First of all, Sqrt[[Pi]] (occurs twice) means to take Pi-th part of Sqrt, which is nonsense. Perhaps you mean Sqrt[Pi]? $\endgroup$ – JungHwan Min Jul 21 '16 at 21:39
  • 2
    $\begingroup$ Both graphs are there. It is just that your second graph has very small values that it appears horizontal. Try adding PlotStyle -> {Thick, Red} option in your second ListLinePlot, and you'll see what is happening. $\endgroup$ – JungHwan Min Jul 21 '16 at 21:42
  • $\begingroup$ You can add the option AxesOrigin -> {0, -0.2} to the first ListLinePlot or Frame -> True to Show to increase the visibility of the second plot. $\endgroup$ – Karsten 7. Jul 21 '16 at 22:02
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – Michael E2 Jul 21 '16 at 22:24
1
$\begingroup$

Example

Show[{
  ListLinePlot[Table[(1/x)^3/(Sqrt[\[Pi]]) N[MeijerG[{{-5/2, -2}, {}}, {{2, -2}, {-3}}, 1/x]], {x, 10}]], 
  ListLinePlot[Table[172 (1/y)^(9/2)/(5760000000 Sqrt[\[Pi]]) N[MeijerG[{{-5/2, -2}, {}}, {{2, -2}, {-3}}, 1/y]], {y, 10}]]
  },
 Frame -> True
]

Output

output

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.