MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

fixing contours

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66523] fixing contours
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Wed, 17 May 2006 03:31:16 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I have deleted parts of contour lines that are outside a particular domain.

http://chris.chiasson.name/temp/fix_bad_contours.png

The problem is, since some of the lines begin and end inside the
allowed domain, I end up with orange slice shapes as seen in the top
two contours of the picture.

What is the best way to detect this and reorder the points in the line
directives so that they only follow the real contours?

The main reason I am not just coloring over the contour lines is that
David Park's label drawing function will only put labels in the
correct spot if the labeled Lines contain only the segments that will
be visible. If I don't delete the parts that would be covered up, the
line labels will print in the invalid domain.

-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Reconstructing data points from a InterpolatingFunction object
  • Next by Date: Re: Lists and rules
  • Previous by thread: Re: FindRoot syntax?
  • Next by thread: Re: fixing contours