I’d like to create simple plolty graphs in python for my two PCs. It’s simple graph of program runs vs time (hourly) on each PC. I’d like those graphs to have a common x axis, to easily compare data between PCs when mouse hovers over the chart.
How do I do this? Is there a tutorial I can follow? I couldn’t find anything on the tutorials site.
@empet I think that vou’ve missed my point here. I do not want to have two sets of data on one plot (as I want to present data for different machines). I need one y axis over another.
The difference between my attempt and two separate plots, is jost one: when I hoover over one point on plot (eg.x=500, y=300), it will show me data on both plots. Please look on graphics on StackOverflow link
With such a definition you cannot display tooltips on both subplots simultaneously. When you hover over one subplot only information in that subplot is displayed.
2)What to do mean by “one y axis over another”? Both yaxes on the left side of the plot?
The only solution at the moment is to insert the two plots on the same window as in the example I posted. Obviously instead of bars and line in my plot you should insert your lines.