How can I plot irregular dates on a regular x axis?

How can I plot irregular dates on a regular x axis?

Mac mini, macOS 10.15

Posted on Aug 24, 2020 12:52 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 24, 2020 4:20 PM

Badunit- thanks. I found the answer. I Created a new column called “number of weeks from the beginning“. I took each date and subtracted it from the beginning date. The dates subtracted automatically and calculated the number of weeks to that test point. So I plotted that week number against the reading and therefore I had a uniform x-axis and uniform Y axis. My final objective was to create a logarithmic plot which I was able to do with the formatting built-in the numbers.

5 replies
Question marked as Top-ranking reply

Aug 24, 2020 4:20 PM in response to Badunit

Badunit- thanks. I found the answer. I Created a new column called “number of weeks from the beginning“. I took each date and subtracted it from the beginning date. The dates subtracted automatically and calculated the number of weeks to that test point. So I plotted that week number against the reading and therefore I had a uniform x-axis and uniform Y axis. My final objective was to create a logarithmic plot which I was able to do with the formatting built-in the numbers.

Aug 24, 2020 2:45 PM in response to supportgruby

You mean like this?



Use the chart that looks like a shotgun blast of plus signs. The X data cannot be in a header column/row (unlike with the other charts where it must be in a header column/row). The most difficult part might be formatting the X axis to get "regular" dates on it versus whatever dates happen to fit the gridlines. For this one I chose a min of 1/1/1990, max of 1/1/2021 ,and 31 steps (corresponding to the 31 years). I also turned on the X axis gridlines and did some other minor formatting. It is showing only every other X axis gridline/step/value because the chart is not wide enough to show them all.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I plot irregular dates on a regular x axis?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.