Mon 30 Oct 2017 12:21:55 AM UTC, comment #1:
What do you consider the wrong color? I ask because there are a several observations.
First, the demo is a conflict in the sense of two y axes per plot, plotted one on top of the other means the axes coincide. Hence one axis must cover the other. That's why although the axes say
(orange) Left axis is Blue
(gold) Right axis is Orange
the color doesn't match. (Take out the second plotyy, and the description is correct.) The blue (cyan technically), left axis is actually "underneath" the orange, left axis. But even "underneath" isn't correct as I tried the following to shift the range of the two different plots
but saw no remnants of blue alongside the orange. So, the most logical change should really be "Left axis is Orange" and "Right axis is Gold".
But notice, the demo doesn't actually specify the color anywhere. Someone must have just looked at the color and written the text. Whether the color sequence scheme is guaranteed as versions go forward, who knows?
And one last observation, which may be more critical, is that the first plot was
Blue (left) Orange (right)
and the second plot was
Orange (left) Gold (right)
such that the color Orange is shared across two different plots, when maybe it should be
Gold (left) Magenta (right)
or whatever color comes after Gold, for the second plot. I suppose the plotting routines are advancing the color by one with each new plot not realizing that two plots are created per each plotyy.
|