How do I change the scale of the x axis in excel

AI Thread Summary
To customize the x-axis scale in Excel for a graph, users can set specific values instead of relying on automatic plotting. For Mac users, the process involves creating a custom chart type by configuring the desired chart settings, then saving it under the Custom Types tab in the Chart menu. This allows for easy reuse of the custom format for future graphs. For PC users, the process starts by selecting the data columns and using the Chart Wizard to create a graph. To adjust the x-axis scale, right-click on the axis values, select Format Axis, and then modify the scale settings by unchecking Auto marks and entering custom minimum, maximum, and major unit values. This ensures that the x-axis reflects the desired range, such as from 0 to 3, including decimals.
pivoxa15
Messages
2,250
Reaction score
1
How do I change the scale of the x-axis so that it does not automatically plot the number of data I graph but my customised x points?

My situation:

I like to graph hundreds of different points or data

But only want the x-axis to be from 0 to 3, including decimals in between.
 
Computer science news on Phys.org
Define a custom format and use it whenever you create a new graph of the same type:

First, set up a graph the way you want it: chart type, axis scales, gridlines, title, axis labels, etc.

Then, go to the Chart menu and choose Chart Type.

At the top of the window, select the Custom Types tab.

In the Select From box, choose User-defined.

Click the Add button. It will ask you to give your new custom type a name and an optional description.

Now, when you want to create a new graph of this type, select the data that you want to include, then click the Chart Wizard button. In the Chart Type window, choose the Custom Types tab, then the User-defined button, then your custom type.

If you're making a lot of these one after the other, you can make the type your default type, and then I assume it will automatically be selected when you enter the Chart Wizard. I haven't tried it myself.

Disclaimer: this is for the Macintosh version of Excel, in MS Office X. The procedure may be different in other versions of Excel.
 
Last edited:
Here is another method that works well (using Excel on PC platforms)

Select (highlight) the two columns of data you wish to plot.
Select the chart wizard icon (or if that is not visible, do insert > chart)
Chose a chart type, e.g. XY scatter, follow the wizard's prompts to finish graph.
If you want to change the axis scale, on the graph, right click over the values of the axis.
A small dropdown menu should be displayed that allows you to select Format Axis. On it, select Scale
Uncheck the Auto marks and enter your own values for minimum (starting point), maximum (endpoint),
major units (number of large tick marks). Your graph will plot all your values, however the axis marks
are generally chosen break up the range into useful intervals.
 
Thanks for the responses. I worked out eventually that what I needed was to type in my own values for the x-axis during the chart wizard steps. In the Series tab, in the Category (X) axis labels:
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top