Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?= Newsgroups: comp.lang.python Subject: Post processing contour plot, how? Date: 14 Jan 2016 21:42:22 GMT Organization: @ Home Lines: 20 Message-ID: X-Trace: individual.net 0FlFhYjX+kh55hn/RMJWag6U4boqxm/1piKKWtweUt+C7btCNk Cancel-Lock: sha1:Cx68OFb38PXm1K86cBV4/krn58E= User-Agent: slrn/1.0.2 (Linux) Xref: csiph.com comp.lang.python:101719 I am interested in creating contours but not for printing or including in a report as an illustration. I want to go on working on a numerical representation of the contours. Creating contour plots using matplotlib is a breeze but I fail to find a way to export the contours thus created in a numerical format. Scilab has such a function but I try to reduce the number of tools I use and I try to focus on Python. So, I could write my own find-contours algorithm but I think there should be a way of extracting the contours created by matplotlib even if I have failed to find out how. Does anyone know how to do this? I have found one very manually involved way starting with saving the figure in svg format and the open that file in a text editor. /Martin