[Solved] Creating graphs with both axes scaled to reflect values
Posted: Fri Oct 28, 2022 2:52 pm
When you have two sets of numbers which are not evenly spaced and use one set for the x axis and one for the y axis, the scale does not represent the numbers on both axes. Is there a way to change that behaviour?
eg using the two sets:
0 40 75 100 125 160
0 20 50 100 150 180
To get a single line, I could use the first row as labels but they would then treated as labels (obviously) and not values so the distance between 0 and 40 would be the same as the distance between 75 and 100. I'd like to plot the graph using the two sets of values like (x,y) co-ordinates with a linear scale on both axes.
I'm sure the solution should be simple but it's escaping me.
Edit:
I should say I am not looking for a scatter chart. I want to be able to plot these with straight lines between the data points which should be on the line. They are effectively showing the points at which the straight line graph changes gradient.
eg using the two sets:
0 40 75 100 125 160
0 20 50 100 150 180
To get a single line, I could use the first row as labels but they would then treated as labels (obviously) and not values so the distance between 0 and 40 would be the same as the distance between 75 and 100. I'd like to plot the graph using the two sets of values like (x,y) co-ordinates with a linear scale on both axes.
I'm sure the solution should be simple but it's escaping me.
Edit:
I should say I am not looking for a scatter chart. I want to be able to plot these with straight lines between the data points which should be on the line. They are effectively showing the points at which the straight line graph changes gradient.