A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Terminate lines at intersect point



 
 
Thread Tools Display Modes
  #1  
Old September 29th, 2003, 01:20 AM
Jon Peltier
external usenet poster
 
Posts: n/a
Default Terminate lines at intersect point

Andy Pope (http://andypope.info) has an example on his web site that
shows how to color a line differently when it is above and below an
intersection with another line. You could adopt this technique, keeping
in mind that not showing a line is basically the same as showing it in a
different color.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

Fleming_student wrote:
I’m working on charting some data and I need some help on how to make
two lines terminate where they eventually intersect. I want the lines
to appear on the left side of the screen until they intersect, then the
points that follow to the right of the intersect should not be
graphed.

I have a good knowledge of programming (although not VBA), so if that
knowledge is needed in the explanation, feel free.

Thank you VERY much for your help!


  #2  
Old September 29th, 2003, 09:17 PM
Tushar Mehta
external usenet poster
 
Posts: n/a
Default Terminate lines at intersect point

If you know the equation of the lines, solve for the intersection
point. Now, plot the lines for x=0 to x={solved value}, with the
corresponding y values.

Even if you don't know the equations, plot them, find the intersection
from the chart (this will require some trial and error), and then do
the above.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
I’m working on charting some data and I need some help on how to make
two lines terminate where they eventually intersect. I want the lines
to appear on the left side of the screen until they intersect, then the
points that follow to the right of the intersect should not be
graphed.

I have a good knowledge of programming (although not VBA), so if that
knowledge is needed in the explanation, feel free.

Thank you VERY much for your help!



------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.