I produced the following time series ListLinePlot:
using the following Code (thanks to many of the contributors in this forum)
q1 = {{2.0779957`*^7, 2.1606992`*^7, 2.2600774`*^7, 2.3680871`*^7,
2.4726689`*^7, 2.5654274`*^7, 2.6433058`*^7, 2.7100542`*^7,
2.7722281`*^7, 2.8394806`*^7, 2.9185511`*^7, 3.0117411`*^7,
3.1161378`*^7, 3.2269592`*^7, 3.3370804`*^7, 3.4413603`*^7,
3.5383028`*^7, 3.6296111`*^7, 3.7171922`*^7, 3.8041757`*^7,
3.8928341`*^7}};
q2 = {{2.97505722281038`, 3.90280496415438`, 4.4967187466326`,
4.66834379545461`, 4.32155951673842`, 3.68269988149014`,
2.9905238360968`, 2.49383039084495`, 2.26827304079294`,
2.39697830237036`, 2.74661463795293`, 3.14310555651301`,
3.40760003260595`, 3.49459192739625`, 3.35560233082199`,
3.07705362914441`, 2.77803478841236`, 2.54783303994568`,
2.38430907940751`, 2.31307334941778`, 2.30381209309418`}};
qw1 = ListLinePlot[
q1,
PlotLabel -> "Afghanistan",
PlotStyle -> {Thin, Blue},
ImagePadding -> 25,
ImageSize -> 500,
AspectRatio -> 0.4,
Frame -> {{True, False}, {True, False}},
FrameStyle -> {Directive[FontFamily -> "Helvetica", Bold],
Directive[FontFamily -> "Helvetica", Bold, Blue], Automatic,
Automatic}
];
qw2 = ListLinePlot[
q2,
PlotLabel -> "Afghanistan",
PlotStyle -> {Thin, Red},
ImagePadding -> 25,
ImageSize -> 500,
AspectRatio -> 0.4,
Axes -> False,
Frame -> {{False, True}, {False, False}},
FrameTicks -> {{None, All}, {None, None}},
FrameStyle -> {Automatic, Automatic, Automatic,
Directive[FontFamily -> "Helvetica", Bold, Red]}
];
Labeled[
Overlay[{qw1, qw2}],
Style[#, 14, #2, ShowStringCharacters -> False] & @@@
Transpose[{{Rotate["Population", 90 Degree],
Rotate["Population growth rate (%)", 90 Degree], "Years"}, {Blue,
Red, Black}}], {Left, Right, Bottom}
]
My purpose is to color the fluctuating series (population growth) with RED but I cannot find where my mistake is.



PlotStyle -> Directive@{Thin, Blue}instead ofPlotStyle ->{Thin, Blue}(Similarly,PlotStyle -> Directive@{Thin, Red}in the second plot). – kglr Nov 08 '21 at 23:23date=Range[2000,2020]and change the plotqw1asqw1 = ListLinePlot[Transpose@{date, q1},...]the plot is not working. Why do you think? – Tugrul Temel Nov 08 '21 at 23:39