XY Scatter uneven distr. on X axis?

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

XY Scatter uneven distr. on X axis?

Post by Rudi »

Hi,

I'm trying to get the data on the x-axis to plot based on the position of the x-axis based on its value?! Why is it plotting at step increments (and also in integers where the values are clearly in decimal)? The y-axis is plotting correctly based on the value on the sheet.

Am I missing the point here? (I thought I understood Scatter plots?
Scatter.xlsx
You do not have the required permissions to view the files attached to this post.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78568
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: XY Scatter uneven distr. on X axis?

Post by HansV »

The chart is currently using B4:B10 as x-axis labels. Since B4:B10 contain text values, Excel is forced to use 1, 2, ... as x-values.
S0987.png
If you want to use C4:C10 as x-axis values, you have to specify that explicitly:
S0988.png
and remove the other series:
S0989.png
You can then specify B4:B10 as range for the data labels, if you wish. See the attached version.
Scatter.xlsx
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: XY Scatter uneven distr. on X axis?

Post by Rudi »

I feel quite a dumbo now that you point out the answer. Of course.................. it all comes back to me know!
TX Hans :cheers:
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.