lobival.blogg.se

Xy scatter chart
Xy scatter chart











Once the data in the cells is dates with times, you can apply what I have written above. You may want to convert your text to real date/times with the Text to Columns tool or another technique of your choice. Formatted as times, all integers will show up as midnight. Excel cannot recognize the text in column A as dates, so it just numbers the data points from first to last and plots these numbers on the X axis.

xy scatter chart

Format the X axis labels to "General" and you may find that the labels are integer numbers. If you change your mind, edit your question and post a comment to let me know what you want.Įdit: Looks like your "dates" may actually be text. Not pretty, but that's what you asked for. Only Markers To find out if there is a relationship between X (a person's salary) and Y (his/her car price), execute the following steps. Scatter plots are often used to find out if there's a relationship between variable X and Y. That will cause all the date/time stamps to overlap and become unreadable, so you may want to revise that decision or make your chart very, very wide if you have more than a few hours of data or turn the X axis labels sideways which will look like this: Use a scatter plot ( XY chart) to show scientific XY data. make the major interval on the horizontal axis 1/12 of a day.Ī day is 1 in Excel, so the major interval needs to be 1 divided by 12, which is 0.08333333.If you want the time and date printed every two hours, you will need to Rows go left to right, columns go top to bottom) (By the way: The row with the time is not a row, but a column. It looks like the format for the axis labels is using only the time without the date. You can clearly see on the X axis that the markers are for 0:00 AM and these are consecutive days.įormat the X axis and you can see the settings for the Axis Options > Units will be 1 (for 1 day). As a last resort, you could reshape the timestamps in your logfile to some format that Excel can handle.Įxcel does not plot the time randomly. I'm guessing that your logfile is written by a device with a 'locale' that differs from the Internationalization settings on your machine, which makes it harder for Excel to properly recognize the timestamps. That option allows you to further specify the DMY order. "General" is the default, which does a fine job of recognizing dates, but you may need to nudge the process in the right direction by explicitly choosing "Date" type. Note how the Text Import Wizard offers the feature to customize each of the imported columns for data type. So your actual problem is getting the proper timestamps imported from some logfile.

Xy scatter chart series#

Based on no input, Excel has made up a series of consecutive dates starting with the awesome Zeroeth of January, 1900 ! I got exactly the same 7 labels "12:00:00 AM" like you had, but the ultimate indication of what is going on, is to put the axis labels in date format. I had to seriously tweak a CSV import to get this wrong on purpose - Excel seems to be getting frighteningly smart at recognizing import data. As noted by the error stands out because the text data are left-justified.

xy scatter chart

I reproduced your problem by intentionally entering text instead of time data in the first column. On the other hand, in the Line Chart you don't have the subtype Smooth Lines.When entering proper timestamps in Excel, the scatterplot comes out right immediately (even though the axis labels need some tailoring to taste).

xy scatter chart

I'm not saying you should not have also that possibility in the scatter chart, I'm just pointing out that that option does exist in other types of charts. The factor labels and Target values will be used by the Bar chart series, and the Actual values and Heights for the XY series. Here is the new data needed for our Bar-XY combination chart. You'll see that to the right of the value there's another dropdown that allows you to choose the units, and you can choose 1 month. We will make a Bar-XY chart type, using an XY chart type (a/k/a Scatter chart type) to position markers. Right-click on the X-Axis change the Axis type to Date axis to be sure excel sees the X-values as dates. If you try the same in the business charts you'll see that option.įor ex., instead of a Scatter Chart for your values use a Line Chart. The scatter chart is the one you'll use if you are using excel for other purposes like physics or mathematics and in that case it makes all the sense that the x-axis ticks are, by default, equidistant. Thanks for the feedback.Īs for the possiblity (or not) of having the month as the unit for the the X-Axis, I'd say that MS probably does not see the scatter chart just as a business chart.











Xy scatter chart