Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date labels on x-axis in timeplot #381

Open
MorrCarter opened this issue Mar 12, 2024 · 1 comment
Open

date labels on x-axis in timeplot #381

MorrCarter opened this issue Mar 12, 2024 · 1 comment
Labels
question Questions about function use or interpretation trends 📉 Trend analysis, e.g., calendarPlot, timeProp, etc.

Comments

@MorrCarter
Copy link

Question

how do I get the date label timeplot start from the first data point.
Anytime I plot I get the date label starting from the next data point instead of the first data point

@MorrCarter MorrCarter added the question Questions about function use or interpretation label Mar 12, 2024
@jack-davison
Copy link
Collaborator

Good morning!

I'm afraid I'm not sure what you're asking - are you able to provide a reproducible example of timePlot() not doing what you'd expect? Looking at the example below, it looks like the first data point lines up with the first axis tick.

Thanks,
Jack

openair::mydata |>
  openair::selectByDate(year = 2005, month = 1, day = 1:10) |>
  openair::timePlot()

Created on 2024-03-14 with reprex v2.0.2

@jack-davison jack-davison added the trends 📉 Trend analysis, e.g., calendarPlot, timeProp, etc. label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Questions about function use or interpretation trends 📉 Trend analysis, e.g., calendarPlot, timeProp, etc.
Projects
None yet
Development

No branches or pull requests

2 participants