track-and-graph icon indicating copy to clipboard operation
track-and-graph copied to clipboard

Multiple Y axis

Open k1mbl3 opened this issue 5 years ago • 5 comments

It would be nice to have multiple Y axis in order to plot data in different scales. Every time i want to compare a no=0, yes=1 dataset sounds like the yes/no data were ignored in the plot.

k1mbl3 avatar Aug 19 '20 01:08 k1mbl3

Are you able to upload an image to explain your problem?

SamAmco avatar Aug 24 '20 16:08 SamAmco

Sorry about the late reply. In the Screenshot I have "Workload" ranging about 200-900 and "RPE" ranging from 0 to 10.. It would be nice to put every dataset in different Y axis to be easier to recognize correlations. Using the same Y the RPE dataset became a line.

Screenshot_20200923-122813.png

k1mbl3 avatar Sep 24 '20 00:09 k1mbl3

Hi @k1mbl3 I see your problem. There are two solutions to this problem that I would normally use.

  1. You could add a scale of say 100 to RPE and perhaps change the label to say "RPEx100"
  2. You could create a separate graph and just keep them next to each other in your graph group. As long as the domains are the same you can see the correlation just as clearly this way.

Having a separate Y axis could be third solution to this problem however I think for most people the first two solutions are good enough and I have little time to work on the app at the moment. I will leave this issue open if you like though and if others upvote then maybe someone can implement this at some point.

SamAmco avatar Sep 24 '20 09:09 SamAmco

I'm already doing [2]. Thanks.

k1mbl3 avatar Sep 24 '20 14:09 k1mbl3

I had the same problem as @k1mbl3 and used option [2] by default. However, I also think it would be great to have the possibility to add a different Y scale on the right side of the graph (see for example Doc matplotlib).

antimu0n avatar Aug 28 '21 09:08 antimu0n