MathGroup Archive 1996

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

Search the Archive

extracting points plotted by ContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3356] extracting points plotted by ContourPlot
  • From: easther at cfi.waseda.ac.jp (Richard Easther)
  • Date: Thu, 29 Feb 1996 03:25:44 -0500
  • Organization: Waseda University
  • Sender: owner-wri-mathgroup at wolfram.com

Hi! 

Can someone help me with the following problem. After doing a     

       figure =  ContourPlot[f[x,y], ..., Contours ->{0}], 

I want to extract the set of points actually plotted - ie a set of {x,y} 
where f[x,y] == 0 for some additional processing.

The command TextForm[InputForm[Graphics[ figure ]]] gives me a text 
string which has a series of Line commands that actually contains the 
{x,y} values that are plotted.

Now what I want to know is this: can someone tell me a nice (or even 
ugly but workable!) way of extracting the list(s) of points plotted by 
the Line command(s)?

If so I would be very grateful!

Richard
 

+=================================================================+
|    Richard Easther               No quote - just my address     |
| easther at cfi.waseda.ac.jp                                        |      
+=================================================================+

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Find the solutions of two equations
  • Next by Date: extracting points plotted by ContourPlot
  • Previous by thread: Find the solutions of two equations
  • Next by thread: extracting points plotted by ContourPlot