+ Reply to Thread
Results 1 to 4 of 4

Plotting repeated values on X axis and different values on Y axis

  1. #1
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Plotting repeated values on X axis and different values on Y axis

    Hi all

    I have some measurements done at 30-minute intervals and I would like to show the pattern on a graph. In the attachment I would like to plot Rn (y-axis) against Time (x-axis) and as you can see, the time is repeated on the x-axis. The pattern should look like the one in the picture on the spreadsheet. How do I use excel to do that?

    Regards

    Joe
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Plotting repeated values on X axis and different values on Y axis

    Presumably your picture shows data over 3 successive days, but your column A only has times of day and does not include any date information. You will need to add in something to represent the date.

    I have added 1 to the times on the first day, then 2 to the second day, then 3 for the next day, and so on, using copy | paste special | add | ok. Note that the value shown in the formula bar for A3 is 1/1/1900 00:06:00, although the value shown in the cell is unchanged. Your graph would be as shown in the attached file - I've not played about with it very much.

    Your picture shows 4 different series, so you would need to add these in other columns.

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-13-2017
    Location
    Zimbabwe
    MS-Off Ver
    2013
    Posts
    28

    Re: Plotting repeated values on X axis and different values on Y axis

    Thanks Pete. It works. Yes, the data were collected over three successive days, in fact the original time stamp shows the day, month and year but I had extracted only the time part of it not knowing that the date is necessary as well. Adding more series is not a problem, I can do that, thanks again.

    Regards

    Joe

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Plotting repeated values on X axis and different values on Y axis

    Glad to help, Joe.

    Further to this, I changed the graph type to an XY scatter plot with lines and played about a bit with the formatting, so it looks more like the picture you included.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Plotting values on chart using full x-axis
    By badeend in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 10-12-2017, 09:45 AM
  2. Replies: 2
    Last Post: 06-19-2017, 04:51 AM
  3. [SOLVED] Plotting graph with 2 data series(Trouble with y-axis values)
    By mtg90 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 09-05-2012, 07:24 AM
  4. Plotting: Offsetting series with same x axis values
    By x12179x in forum Excel General
    Replies: 1
    Last Post: 09-10-2011, 07:19 AM
  5. Replies: 8
    Last Post: 02-12-2009, 10:12 AM
  6. Plotting values in order on x-axis
    By YYM in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 04-10-2008, 10:41 AM
  7. [SOLVED] How to insert X axis scale values next to axis and X axis grid lin
    By vp23larry in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-23-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1