DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fill Between Curves

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
John Sigurdson



Joined: 03 Mar 2005
Posts: 8
Location: San Diego CA

PostPosted: Wed Jul 05, 2006 12:25 am    Post subject: Fill Between Curves Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Jul 05, 2006 1:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
John Sigurdson



Joined: 03 Mar 2005
Posts: 8
Location: San Diego CA

PostPosted: Wed Jul 05, 2006 1:21 am    Post subject: Reply with quote

Dave,

That will work. Thanks for the quick reply.

John
_________________
John Sigurdson
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group