+ Reply to Thread
Results 1 to 7 of 7

Plotting multiple arrays on same graph

  1. #1
    Forum Contributor
    Join Date
    02-26-2012
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2007
    Posts
    129

    Plotting multiple arrays on same graph

    I am a little confused about how I should plot arrays. I am often confused with Charts and Chart Objects. I would like to pass arrays into a function that plots the arrays. In the main code getPlots I would like to make each column an array and divide it by the first column/array (I also need the first column divided by itself). In the plotting function, I often have an invalid parameter error, but I think my confusion comes from whether I am dealing with charts or chart objects. It happens in the plotting function in the line that says with activechart...

    I should add that the timeArray represents the x-values.

    Please Login or Register  to view this content.
    Last edited by NatalieEC; 11-05-2014 at 02:17 PM. Reason: Found some solution to first question, asked to change title

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: More Array Questions

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,052

    Re: More Array Questions

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: More Array Questions

    @NatalieEC: it is not very practical or sensible to edit your original post ... especially is you replace it with a completely different question and code, as you have done. It makes nonsense of any responses you might have had to the original question. And it leaves everyone wondering what they are supposed to be resolving.

    Where did you get the answer to the question that is no longer visible to us?

  5. #5
    Forum Contributor
    Join Date
    02-26-2012
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: More Array Questions

    I am sorry, I changed it as you were replying to me. I am sorry about that.

  6. #6
    Forum Contributor
    Join Date
    02-26-2012
    Location
    Ottawa, ON
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: More Array Questions

    I am really sorry TMS. I changed it as you were responding, not seeing your answer. Sorry to waste your time, and thank you for your help!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,994

    Re: Plotting multiple arrays on same graph

    No problem. I suggest that you mark this as Solved and start a new thread.

    That way you'll get fresh eyes looking at your current problem.

    Regards, TMS

+ 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. Array handling questions
    By James McMurray in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2008, 11:19 PM
  2. array questions
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2005, 03:15 AM
  3. Array questions
    By Perico in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2005, 04:05 PM
  4. Array Functions - Two Questions
    By MDW in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2005, 03:06 PM
  5. Making progress with array functions, another two questions
    By Don Taylor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2005, 05:06 PM

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