Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:24:37+00:00 2026-06-18T12:24:37+00:00

I want to plot the graph for every hour of a 1 week time

  • 0

I want to plot the graph for every hour of a 1 week time series. The X-axis should look like:

0  1  2  3  4 .....23  0  1  2 3 4....23  0 1  2  3 ....23............ 0  1  2  3 ...23
---Monday----          ------Tuesday----  ----Wedneday----.............-----Sunday-----

I don’t know how to set the xlim for that because I need the x-axis for each hour representation for 1 week. There will be 168 points (24*7=168) on the x-axis altogether.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:24:38+00:00Added an answer on June 18, 2026 at 12:24 pm

    Not exactly what you’re looking for, but my solution to the same problem was to use ggplot2… and overplot by day of the week – which showed me that Sat and Sun were distinct, but the other days of week were very similar in behaviour.

    # some random data...
    adf <- data.frame(day.of.week=rep(c('Mon','Tue','Wed','Thu','Fri','Sat','Sun'), 24),
          hour.of.day=rep(1:24, 7), y.to.be.plotted=runif(168))
    qplot(hour.of.day, y.to.be.plotted, data=adf, colour=day.of.week, geom='line')
    library(ggplot2)
    qplot(as.integer(hour.of.day), y.to.be.plotted, data=my.data,
            colour=day.of.week, geom='line')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to plot the graph for the time series data for one week,
I want to plot a bar-graph in my application. How should I do it
I am using Flot Graph Api to plot graphs, I want to plot time
With this approach. I have a line plot graph. I want to plot 'two'
I have the data in two files. I want to plot a graph the
I want to plot multiple rowstacked histograms on the same graph using gnuplot. A
I want to use core-plot for drawing line graph dynamically. data won't come at
I want to plot a 3d graph in matlab By graph I mean in
I'm (trying to) using JSON with PHP. I want to plot a graph using
I want to plot a number of graph using this for loop. however, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.