+ Reply to Thread
Results 1 to 11 of 11

How to graph Inequalities and Shade by itself? Also finding intersection points

Hybrid View

  1. #1
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Lightbulb How to graph Inequalities and Shade by itself? Also finding intersection points

    How do you graph inequalities and they shade by itself?Also what formulas use or how to find intersection points of two lines?
    Can anybody post a excel spreadsheet that is able to do this, so I can take a look at how it works? Or some explanation on how to do this.
    Please!!

    I attached a file. Hope it helps!!

    Excel Forum.xlsx
    Last edited by flakis05; 11-17-2012 at 04:28 AM.

  2. #2
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    Can anyone help?

  3. #3
    Registered User
    Join Date
    07-19-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    Hey I checked your attached file but still this problem is not so cleared to my mind so I will let you know about its solution ASAP.

  4. #4
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    Quote Originally Posted by James Donovan View Post
    Hey I checked your attached file but still this problem is not so cleared to my mind so I will let you know about its solution ASAP.
    Each table I have in my spreadsheet corresponds to the inequality I used(top of table is the inequality I used). The arrow pointing at that trapezoid figure in the graph, is the one I need to shade automatically, because that part of the graph is the only part that makes all inequalities true.

    Thanks, any help will be good

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,369

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    I know I've seen this described before here. IIRC, it involves plotting the data twice in a combination scatter and area chart. One data series is plotted as scatter and the other is plotted as area.

    Finding the intersection point is as simple as solving the system of equations. I don't know what method you prefer (you might review any of the online tutorials for solving systems of equations if you need help), but, once you understand your preferred solution method, programming that into the spreadsheet should be relatively easy.

  6. #6
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    Quote Originally Posted by MrShorty View Post
    Finding the intersection point is as simple as solving the system of equations. I don't know what method you prefer (you might review any of the online tutorials for solving systems of equations if you need help), but, once you understand your preferred solution method, programming that into the spreadsheet should be relatively easy.
    Yes, I figured out how to find the intersections points using, goal seek. What online tutorials are you talking about, so I can take a look.

    Thanks, any help will be good.
    Last edited by flakis05; 11-17-2012 at 06:21 PM.

  7. #7
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    I forgot to mention that in my spreadsheet, some of the inequality functions depend on cells F2:F6, so if they change the graph will change.

    I found the intersection points of the lines using goal seek only if I use those values of cells F2:F6, how can I make the goal seek automatic.

    For example, the equation on the goal seek cell is dependent on some of the values F2:F6, I want to let goal seek equal always be equal to 0 on cell "C60" by changing cell "B60", if the values of F2:F6 are changed.

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,369

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    What online tutorials are you talking about, so I can take a look.
    Here's one http://www.purplemath.com/modules/systlin1.htm and, if you don't like that one, put "solving systems of linear equations" or similar into your favorite search engine.

    I found the intersection points of the lines using goal seek only if I use those values of cells F2:F6, how can I make the goal seek automatic.
    Automating the goal seek utility will require a macro associated with the change/calculate events. All of your lines are straight lines, so using algebra (as explained in any good algebra course/tutorial) you should be able to find an algebraic expression for the point(s) of intersection and program that into the spreadsheet to be automatic.

    I never "shade" parts of a graph like that, so I'll let someone else who is more skilled at that exercise explain how to do it.

  9. #9
    Registered User
    Join Date
    11-17-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    Quote Originally Posted by MrShorty View Post
    Here's one http://www.purplemath.com/modules/systlin1.htm and, if you don't like that one, put "solving systems of linear equations" or similar into your favorite search engine.
    I tried it out, but did not succeed on finding the intersections points, is it possible for you to make an excel spreadsheet of 2 basic linear lines that intersect at one point?
    The only way I could was using goal seek, but will give me the wrong intersection points, If I change the graph, because goal seek wont reset to 0.

    But thanks

  10. #10
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,369

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    I came across this tutorial for shading parts of an XY scatter graph http://peltiertech.com/WordPress/fil...a-combo-chart/ See if that helps with that part of the problem.

    What part or step in solving a system of equations did you get stuck on?

  11. #11
    Spammer
    Join Date
    01-26-2010
    Location
    Worcester MA
    MS-Off Ver
    Excel 2003
    Posts
    184

    Re: How to graph Inequalities and Shade by itself? Also finding intersection points

    I answered a similar question elsewhere, Re: Shade feasible region in chart.

    Given several intersecting lines (constraints), shade the region that falls below all of the lines. I added a hidden series every N units (several tens of points along the X axis) and added vertical error bars to produce the shading.

    FillBelowErrorBars2d.png

    Instructions are at that other link, but I'll recreate them here if anyone wants me to.
    Jon Peltier
    http://PeltierTech.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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