Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101719 > unrolled thread
| Started by | Martin Schöön <martin.schoon@gmail.com> |
|---|---|
| First post | 2016-01-14 21:42 +0000 |
| Last post | 2016-01-16 10:10 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
Post processing contour plot, how? Martin Schöön <martin.schoon@gmail.com> - 2016-01-14 21:42 +0000
Re: Post processing contour plot, how? Cody Piersall <cody.piersall@gmail.com> - 2016-01-14 16:10 -0600
Re: Post processing contour plot, how? Martin Schöön <martin.schoon@gmail.com> - 2016-01-16 10:10 +0000
| From | Martin Schöön <martin.schoon@gmail.com> |
|---|---|
| Date | 2016-01-14 21:42 +0000 |
| Subject | Post processing contour plot, how? |
| Message-ID | <dfqj1uFtg70U1@mid.individual.net> |
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
[toc] | [next] | [standalone]
| From | Cody Piersall <cody.piersall@gmail.com> |
|---|---|
| Date | 2016-01-14 16:10 -0600 |
| Message-ID | <mailman.175.1452809460.13488.python-list@python.org> |
| In reply to | #101719 |
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öön <martin.schoon@gmail.com> 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 >
[toc] | [prev] | [next] | [standalone]
| From | Martin Schöön <martin.schoon@gmail.com> |
|---|---|
| Date | 2016-01-16 10:10 +0000 |
| Message-ID | <dfuj7uFtf8dU1@mid.individual.net> |
| In reply to | #101722 |
Den 2016-01-14 skrev Cody Piersall <cody.piersall@gmail.com>: > Sorry for the short response, but check out this Stack Overflow > question/answer > > http://stackoverflow.com/q/5666056/1612701 > Thanks, this is a way forward -- not as straight forward as in Scilab but better than writing my own find-contour algorithm. (I think) /Martin
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web