Hi,
is there a way to make a bar plot with two different y axes in matplotlib?
Something similar to plotyy in matlab but for a bar plot?
Thanks and regards
Francesco
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
Hi,
the following simple code (in Matlab syntax):
x1 = [5, 6]
y1 = [3, 2]
bar([1,2], [x1; y1])
produces a bar plot where two of the bars have a color (let's say red) and
the two other bars have another color (let's say blue). I'd like to know
whether it's possible in matplotlib to plot the bars