Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

Define the x axis in a chart using two ranges

$
0
0

I have this data in Google Sheets,

x1    y1    x2    y2 0     0     9     0 1     2     7    -4 2     2     5    -4 3     0     3     0

and I'm trying to produce a graph (the y-axis is inverted, but it's a secondary detail) like below, but to obtain a similar result I need two different ranges used as x-axes, while it seems to me that only a single range can be used to define the x's.

I could use a single range to compute the first and the second part of the y's, but the function that I really need is complicated when I compute it right to left, and overly complicated if I reverse the direction of the local abscissae…

Is there a way to trick Google Sheets and have two ranges defining separate portions of the x-axis?
enter image description here


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>