View previous topic :: View next topic |
Author |
Message |
John Sigurdson
Joined: 03 Mar 2005 Posts: 8 Location: San Diego CA
|
Posted: Wed Jul 05, 2006 12:25 am Post subject: Fill Between Curves |
|
|
Dave,
Dplot continues to be most useful.
I have an X/Y graph with two lines that cross at a mid-X value (Line 1 values exceed Line 2 values at X < mid-X and Line 2 values exceed Line 1 values at X > mid-X)
It would be most useful to fill one color or fill between Line 1 and 2 where Line 1 > Line 2 and a second color or fill where Line 1 < Line 2. Is there a straightforward way to do this?
Thanks in advance,
John _________________ John Sigurdson |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Wed Jul 05, 2006 1:18 am Post subject: |
|
|
John,
Not directly, but this or some variation of this will work: Make two copies of your line 2 (Edit>Copy>Data values, Edit>Paste). Use Edit>Truncate to clip the two copies such that the 1st copy ends at the intersection and the 2nd copy begins at that point. Then fill between line 1 and copy 1, and also between line 1 and copy 2. Hide the two copies with View>Hide Curves. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
John Sigurdson
Joined: 03 Mar 2005 Posts: 8 Location: San Diego CA
|
Posted: Wed Jul 05, 2006 1:21 am Post subject: |
|
|
Dave,
That will work. Thanks for the quick reply.
John _________________ John Sigurdson |
|
Back to top |
|
|
|