Please, can someone offer me some help with the code which generates those last three graphs illustrating the three regions - first/conventional region, second/"r.f.-only" region, third/"intermediate" region. [here's the link: Creating a Mathieu stability diagram
Here is the code for the first graph [which works]
x = Plot[
{MathieuCharacteristicA[0, q], MathieuCharacteristicB[1, q] (upright), -MathieuCharacteristicA[0, q], -MathieuCharacteristicB[1, q] (reflected)}
, {q, 0, 1}
, PlotRange -> {All, {0.0, 0.3}}
, PlotStyle -> {Directive[Thick, Blue], Directive[Thick, Red], Directive[Thick, Dashed, Blue], Directive[Thick, Dashed, Red]}
, Filling -> Table[{2 n + 1 -> {{2 n + 2}, Directive[Opacity[1/2], Purple]}}, {n, 0, 1}]
]
Here is the code for the second graph [which also works]
z = p[a_, q_] := -MathieuC[a, q, 0] MathieuSPrime[a, q, 0]
ContourPlot[p[a, q] p[-a, -q]
, {q, 0, 1}, {a, 0.00, 0.3}
, MaxRecursion -> 3
, RegionFunction -> Function[{x, y, f}, f > 0]
, ColorFunction -> (ColorData["DarkRainbow"][1 - #] &)
, AspectRatio -> 1/GoldenRatio
]
And I don't know how option to use in order to put these graphs on the same chart in order to generate those three graphs in the link mentioned above. Can you help me please? See the link above and look at the graphs illustrating the three regions - first/conventional region, second/"r.f.-only" region, third/"intermediate" region
I tried using Show
command for the first 2 graphs on this page but it doesn't work.
Thank you very much! I am hoping for an urgent answer if it is possible.
Comments
Post a Comment