Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Cody Piersall Newsgroups: comp.lang.python Subject: Re: Post processing contour plot, how? Date: Thu, 14 Jan 2016 16:10:57 -0600 Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de xi5PHQsB7zQ6yo4rlUbw7gCuS/BhvAaCPaJWif8xbzBA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'overflow': 0.07; 'editor.': 0.09; 'subject:plot': 0.09; 'python.': 0.11; 'jan': 0.11; 'stack': 0.13; 'thu,': 0.15; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Post': 0.16; 'wrote:': 0.16; 'numerical': 0.18; 'email addr:gmail.com>': 0.18; 'algorithm': 0.20; 'martin': 0.22; 'thus': 0.24; 'header:In-Reply-To:1': 0.24; 'figure': 0.27; 'message-id:@mail.gmail.com': 0.27; '14,': 0.27; 'function': 0.28; 'matplotlib': 0.29; 'url:mailman': 0.30; 'creating': 0.30; 'anyone': 0.32; 'url:python': 0.33; 'open': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'this?': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'could': 0.35; 'text': 0.35; 'fail': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'url:org': 0.36; 'created': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'starting': 0.37; 'received:209': 0.38; 'format': 0.39; 'does': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'export': 0.63; 'saving': 0.70; 'contour': 0.84; 'plots': 0.84; 'response,': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=D7wgjLbiu9e1987DGTNO58scUM5ZZ0qOk8jjRUJWwN4=; b=TWCMVWb5gOnW4MU2zePZwmL2RsyI8ykWrwxL8HJEWPf6MzyWvuiCCBDVDoGIAyvYMc ioJ+d0Xi30abxkirs3P5CETq5L4c7sPyPl620B5mHHRmDxmZLSrCggG4Kp1an3ny32gw gHPdoRLBefafnNaiVt0gZ76zJFGIwgoEHCtOVKFvryY4F+/ZpVL/R1mFBfgx+sEiMnKn niaGKsE2S5jGKL7FKqub0RG+t/dwpUdNarL0QNBDmj0a+TlNCAcbQdlrC1BYu8ug4pwB vta5CbSMGeyQ/KeIWtoXAHH9uDxcNoht6DCCZ81kNeWNMHEEr3bSUxDdpXmXzPPU7Bk+ yHZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=D7wgjLbiu9e1987DGTNO58scUM5ZZ0qOk8jjRUJWwN4=; b=lelAJjZ3jHseYFATGLmxk33BJfyQDjB7Q2XjausK3fRV5tD4On0ts9yjUHRAQ+3+lm awZTAnVzu5vkWN3hyx8n1Y3sTCo8nBI/S3SAs0NdcynQsPetDa9RRoiyrEmkjKZfS7Qo 4gmbgrrDSRpLly8KatTztHSQi4qoVzbGpymQfz1qWAfquR+5X0WyrhQFvdtg+x/T8mvd umfI4cZCKasMv3K+6mIKqV4SgcvCZdUbE/QeMLvrMG/PkYdMqqN8+8y5hCrP2TBaXcql IGKCd+aS+1mtYEVjWPuRg8RtBTkCV4g7J1rp5Qzl+2L4R95vFb9jVzRt7VmsVlCDR8Cw XqyQ== X-Gm-Message-State: ALoCoQmYMfNwEjmd5ObrJ2wQZo0m1I6a2L5V43I+uM/TuNT+QCaMxG2PulOs9qfTqUzjINSPFbuGJDcrbFCyR9JUNiqt/+S0xw== X-Received: by 10.107.62.136 with SMTP id l130mr7519699ioa.28.1452809457174; Thu, 14 Jan 2016 14:10:57 -0800 (PST) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:101722 Sorry for the short response, but check out this Stack Overflow question/answer http://stackoverflow.com/q/5666056/1612701 On Thu, Jan 14, 2016 at 3:42 PM, Martin Sch=C3=B6=C3=B6n wrote: > 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 > -- > https://mail.python.org/mailman/listinfo/python-list >