Re: [Matplotlib-users] contour3D in matplotlib

2015-01-20 Thread Nils Wagner
n Tue, Jan 20, 2015 at 4:27 PM, Paul Hobson wrote: > The gallery had a comprehensive set of available three dimensional plots, > I think. > > http://matplotlib.org/gallery.html#mplot3d > On Tue, Jan 20, 2015 at 01:19 Nils Wagner wrote: > >> Hi all, >> >> I found &g

[Matplotlib-users] contour3D in matplotlib

2015-01-20 Thread Nils Wagner
Hi all, I found http://stackoverflow.com/questions/9419451/3d-contour-plot-from-data-using-mayavi-python Is there something similar in matplotlib ? Nils -- New Year. New Location. New Benefits. New Data Center in Ashbu

[Matplotlib-users] Isobar plots of spatial pressure data

2015-01-16 Thread Nils Wagner
Hi all, Assume that we have knowledge of pressure values at certain irregular grid points in 3D, i.e. p_i(x_i, y_i, z_i) i = 1,(1),N where N denotes the number of grid points. Usually N = 7e5. Is it possible to create an isobar plot using matplotlib ? How can I achieve it ? Nils ---

Re: [Matplotlib-users] line segments in a scatter plot

2014-12-11 Thread Nils Wagner
earest points > on the graph, creating a Line2D object on the fly. Is that what you are > looking for? > > Cheers! > Ben Root > > > > On Thu, Dec 11, 2014 at 8:47 AM, Nils Wagner > wrote: >> >> Hi all, >> >> how can I create line segments between

[Matplotlib-users] line segments in a scatter plot

2014-12-11 Thread Nils Wagner
Hi all, how can I create line segments between consecutive selected points of a scatter plot in an interactive manner ? It should be possible to create several unclosed polygonal lines. Each polygonal line might have a different color. A small example is appreciated. Thanks in advance. -- V

[Matplotlib-users] pngconf.h:371:12: error: ‘__pngconf’ does not name a type

2014-10-19 Thread Nils Wagner
Hi all, here is a new build problem /usr/include/libpng12/pngconf.h:371:12: error: ‘__pngconf’ does not name a type /usr/include/libpng12/pngconf.h:372:12: error: ‘__dont__’ does not name a type error: command '/usr/bin/gcc' failed with exit status 1 Now I am using commit 5b398e95454ba9cc6dfad

[Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Nils Wagner
Hi all, I cannot build matplotlib from git src/_backend_gdk.c: In function ‘pixbuf_get_pixels_array’: src/_backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’ src/_backend_gdk.c:46:10: error: ‘PyArrayObject’ has no member named ‘base’ error: command '/usr/bin/gcc' failed wit

[Matplotlib-users] Interactively adding lines to a scatter plot

2014-09-18 Thread Nils Wagner
Hi all, How can I add lines between points of a scatter plot in an interactive manner ? A small example would be appreciated. Thanks in advance Nils -- Want excitement? Manually up

[Matplotlib-users] EPS import problems

2014-06-27 Thread Nils Wagner
Hi all, how can I resolve the problem described at http://community.coreldraw.com/forums/p/31103/146512.aspx Nils -- Open source business process management suite built on Java and Eclipse Turn processes into business ap

Re: [Matplotlib-users] pick event for images

2013-10-31 Thread Nils Wagner
Hi Joe, Just now I installed your package mpldatacursor and run the example image_example.py. Awesome ! Is there a chance to integrate it into matplotlib ? Nils On Wed, Oct 30, 2013 at 5:58 PM, Joe Kington wrote: > > On Oct 30, 2013 9:43 AM, "Nils Wagner" wrote: > > &

[Matplotlib-users] pick event for images

2013-10-30 Thread Nils Wagner
Hi all, How can I retrieve the corresponding "color value" in percent, when I click on the image ? fig = plt.figure() ax = fig.add_subplot(111) cax = ax.imshow(col[:,::2], interpolation='nearest',extent=[0.5,20.5,0.5,2 0.5],alpha=1,picker=5) fig.canvas.mpl_connect('pick_event', onpick) def onp

[Matplotlib-users] Reset original view button and mplot3d

2013-10-30 Thread Nils Wagner
Hi all, The "Reset original view" button is effectless in case of 3D plots. Nils -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Downl

Re: [Matplotlib-users] Pick event after using Zoom to rectangle

2013-10-29 Thread Nils Wagner
Thank you very much ! On Tue, Oct 29, 2013 at 3:16 PM, Joe Kington wrote: > If you're asking how to do it interactively, just click on the zoom button > again, and you should be able to fire pick events by clicking again. > > Hope that helps! > -Joe > On Oct 29, 201

[Matplotlib-users] Pick event after using Zoom to rectangle

2013-10-29 Thread Nils Wagner
Hi all, How can I use a pick event when I have used "Zoom to rectangle" before ? Nils -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators.

Re: [Matplotlib-users] Build failure

2013-10-26 Thread Nils Wagner
The problem persists in master. On Fri, Aug 30, 2013 at 7:39 PM, Nils Wagner wrote: > You are right. > The first one fails, the second works for me. > > > Nils > > > > On Fri, Aug 30, 2013 at 7:20 PM, Michael Droettboom wrote: > >> I wonder if it

Re: [Matplotlib-users] AttributeError: 'BarContainer' object has no attribute 'autoscale_None'

2013-10-11 Thread Nils Wagner
plt.colorbar(scalarMap,ax=ax) results in cm.py", line 309, in autoscale_None raise TypeError('You must first set_array for mappable') TypeError: You must first set_array for mappable Nils On Fri, Oct 11, 2013 at 9:51 AM, Eric Firing wrote: > On 2013/10/10 8:52 PM,

[Matplotlib-users] AttributeError: 'BarContainer' object has no attribute 'autoscale_None'

2013-10-10 Thread Nils Wagner
Hi all, I tried to add a colorbar to a bar plot coolwarm = cm = plt.get_cmap('coolwarm') values = range(100) cNorm = colors.Normalize(vmin=0, vmax=values[-1]) scalarMap = cmx.ScalarMappable(norm=cNorm, cmap=coolwarm) colours = [] for value in values: colorVal = scalarMap.to_rgba(value)

Re: [Matplotlib-users] mplot3d

2013-09-17 Thread Nils Wagner
Hi Ben, It works for me. Thank you very much ! Best wishes Nils On Tue, Sep 17, 2013 at 3:25 PM, Benjamin Root wrote: > > > > On Tue, Sep 17, 2013 at 4:25 AM, Nils Wagner wrote: > >> Hi all, >> >> How can I modify the grid linewidth

[Matplotlib-users] mplot3d

2013-09-17 Thread Nils Wagner
Hi all, How can I modify the grid linewidth and grid line color of an Axes3D object ? is it possible to use white instead of gray for the background color ? The following snippet doesn't show the desired effect. from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt fig = plt.fi

[Matplotlib-users] Build failure

2013-08-30 Thread Nils Wagner
Hi all, I cannot build the latest matplotlib from git. The build log is attached. Nils build.log.gz Description: GNU Zip compressed data -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover

[Matplotlib-users] legends in 3D plots

2013-05-28 Thread Nils Wagner
Hi all, I would like to add a legend to a 3D plot. However, the legend ist not visible in the example given below. Am I missing something ? Nils import numpy as np from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt import random def fun(x, y): return x**2 + y def fun1(x,

Re: [Matplotlib-users] matplotlib and opensuse 12.3

2013-04-26 Thread Nils Wagner
ll go ahead and do this anyway at this point. > > Mike > > On 04/23/2013 02:57 PM, Nils Wagner wrote: >> Hi all, >> >> I cannot install matplotlib. Please find enclosed the logfile of >> python setup.py install --prefix=$HOME/local >& log.txt >> >&g

[Matplotlib-users] matplotlib and opensuse 12.3

2013-04-23 Thread Nils Wagner
Hi all, I cannot install matplotlib. Please find enclosed the logfile of python setup.py install --prefix=$HOME/local >& log.txt Any idea how to resolve the problem is appreciated. Thanks in advance. Nils log.txt.gz Description: GNU Zip compressed data --

[Matplotlib-users] Figure options window

2012-11-29 Thread Nils Wagner
Hi all, AFAIK it is currently not possible to modify the ticks of a plot within the "Figure options" window. Is it planned to add this feature to the "Figure options" window ? How can I modify the default path in the Navigation Toolbar if I launch the file save dialog by clicking the save button

[Matplotlib-users] hide ticks and/or labels in the presence of sharex=ax

2012-11-12 Thread Nils Wagner
Hi all, how can I hide ticks and/or labels in the presence of sharex=ax. Only the last subplot 313 should have ticks and labels. import matplotlib.pyplot as plt fig=plt.figure(0,figsize=(16,24)) ax = fig.add_subplot(311) ax.set_xticks([]) ax.set_xticklabels('') ax1 = fig.add_subplot(312,sharex=

[Matplotlib-users] Store figures as matlab files

2012-08-29 Thread Nils Wagner
Hi all, is it possible to store figures generated with matplotlib as Matlab files ? Cheers, Nils -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and thre

[Matplotlib-users] matplotlib 1.1.1rc2 available for testing

2012-06-12 Thread Nils Wagner
Hi all, Just curious. Is there a chance that the following ticket will be fixed before the forthcoming release. https://github.com/matplotlib/matplotlib/issues/917 Nils -- Live Security Virtual Conference Exclusive live

[Matplotlib-users] position of xtick labels

2012-04-27 Thread Nils Wagner
Hi all, I would like to add different xtick labels on the top and bottom of a figure. The number and position of the xticks is the same. How can I do that ? An example would be appreciated. Nils -- Live Security Virtu

[Matplotlib-users] Event handling in pyqt4

2012-02-29 Thread Nils Wagner
Hi all, I tried to combine an event with an annotation. However, the annotation is not visible, when I click on the curves. How can I resolve the problem ? The code is available at http://pastebin.com/QxKBZtaX Any pointer would be appreciated. Thanks in advance. Nils

[Matplotlib-users] CHANGELOG

2012-02-24 Thread Nils Wagner
Hi all, http://matplotlib.sourceforge.net/_static/CHANGELOG seems to be outdated. Am I mising something ? Nils -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization -

[Matplotlib-users] Number of decimal places

2012-02-23 Thread Nils Wagner
Hi all, How can I increase the number of decimal places in yticks ? Nils from matplotlib.ticker import ScalarFormatter formatter = ScalarFormatter(useMathText=True,useOffset=False) formatter.set_scientific(True) formatter.set_powerlimits((-12,12)) print dir (formatter) import matplotlib.py

Re: [Matplotlib-users] Add a printer button to the navigation toolbar

2012-01-17 Thread Nils Wagner
On Mon, 16 Jan 2012 08:18:03 -0600 Benjamin Root wrote: On Monday, January 16, 2012, Nils Wagner wrote: Hi all, I have filed a ticket for adding a printer button to the navigation toolbar. https://github.com/matplotlib/matplotlib/issues/670 I am interested in a wider response. Any further

[Matplotlib-users] Add a printer button to the navigation toolbar

2012-01-16 Thread Nils Wagner
Hi all, I have filed a ticket for adding a printer button to the navigation toolbar. https://github.com/matplotlib/matplotlib/issues/670 I am interested in a wider response. Any further comments ? Nils -- RSA(R) Co

Re: [Matplotlib-users] animation.FuncAnimation

2011-12-21 Thread Nils Wagner
On Tue, 20 Dec 2011 10:48:42 -0600 Ryan May wrote: > On Tue, Dec 20, 2011 at 8:00 AM, Nils Wagner > wrote: >> Hi all, >> >> How do I use animation.FuncAnimation to plot real-life >> data from parsing a text file ? > > Here's a version tha

[Matplotlib-users] animation.FuncAnimation

2011-12-20 Thread Nils Wagner
Hi all, How do I use animation.FuncAnimation to plot real-life data from parsing a text file ? import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation import sys import time import re x = [] # x y = [] # y fig = plt.figure() ax= f

Re: [Matplotlib-users] Adding Arrows to polar plots

2011-10-20 Thread Nils Wagner
On Wed, 19 Oct 2011 15:45:07 -0500 Benjamin Root wrote: > On Fri, Oct 14, 2011 at 3:42 AM, Nils Wagner > wrote: > >> Hi all, >> >> what is the native "data" coordinate system for Arrows >>in >> a polar plot ? >> >> How do I add a

Re: [Matplotlib-users] Adding Arrows to polar plots

2011-10-20 Thread Nils Wagner
On Wed, 19 Oct 2011 15:45:07 -0500 Benjamin Root wrote: > On Fri, Oct 14, 2011 at 3:42 AM, Nils Wagner > wrote: > >> Hi all, >> >> what is the native "data" coordinate system for Arrows >>in >> a polar plot ? >> >> How do I add a

[Matplotlib-users] Adding Arrows to polar plots

2011-10-14 Thread Nils Wagner
Hi all, what is the native "data" coordinate system for Arrows in a polar plot ? How do I add arrows to a polar plot ? An example would be appreciated. fig = figure(figsize=(12,12)) ax = fig.add_subplot(111, polar=True) Nils

[Matplotlib-users] TypeError: instancemethod expected at least 2 arguments, got 0

2011-10-09 Thread Nils Wagner
File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/backend_qt4.py", line 463, in edit_parameters figureoptions.figure_edit(axes, self) File "/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/backends/qt4_editor/figureoptions.py", line 132, in fig

[Matplotlib-users] Navigation toolbar button - Edit curves line and axes parameters

2011-10-06 Thread Nils Wagner
Hi all, I have played around with the "edit curves line and axes parameters" button. I have modified the label but the legend is not refreshed in the figure. >>> matplotlib.__version__ '1.0.1' Am I missing something ? Nils

Re: [Matplotlib-users] Customizing the Navigation toolbar

2011-10-04 Thread Nils Wagner
On Tue, 4 Oct 2011 10:09:57 +0200 Jens Nie wrote: > Hi Nils. > > The Qt based Navigation toolbar is just a Qt Widget with >a proper layout already set. So you should be able to add >any Qt widget to the toolbar using its addWidget method. > I was able to add a simple line edit (without any us

Re: [Matplotlib-users] Customizing the Navigation toolbar

2011-09-30 Thread Nils Wagner
On Thu, 29 Sep 2011 14:56:21 +0200 "Nils Wagner" wrote: > Hi all, > > How can I add a printer button to the Navigation toolbar > http://matplotlib.sourceforge.net/users/navigation_toolbar.html > ? > > A small example for QT would be awesome. > > Thanks

[Matplotlib-users] Customizing the Navigation toolbar

2011-09-29 Thread Nils Wagner
Hi all, How can I add a printer button to the Navigation toolbar http://matplotlib.sourceforge.net/users/navigation_toolbar.html ? A small example for QT would be awesome. Thanks in advance. Nils -- All the data co

[Matplotlib-users] griddata

2011-09-15 Thread Nils Wagner
Hi all, what are the differences between the griddata implementations in matplotlib and scipy, i.e. from scipy.interpolate import griddata and from matplotlib.mlab import griddata Is the Shepard algorithm available in matplotlib/scipy ? Nils Reference: Robert J. Renka Algorithm 790: CSHEP2

[Matplotlib-users] Colour generator for a stacked bar plot

2011-09-15 Thread Nils Wagner
Hi all, I am looking for a simple method to generate various colours (n > 15, n denotes the number of colours) for a stacked bar plot. Any pointer would be appreciated. The example http://matplotlib.sourceforge.net/examples/pylab_examples/table_demo.html generates pastel colours. However the

[Matplotlib-users] griddata

2011-02-14 Thread Nils Wagner
Hi all, Is it possible to apply griddata to polar coordinates or do I need cartesian coordinates ? http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata Nils -- The ultimate all-in-one performanc

[Matplotlib-users] How to convert 3D Images into U3D files

2010-10-16 Thread Nils Wagner
Hi all, Does anyone know how I can convert my matplotlib 3D images into U3D files ? I found some hints for Matlab users ... Any pointer would be appreciated. Thanks in advance. Nils http://en.wikipedia.org/wiki/Universal_3D http://www.mathworks.de/matlabcentral/newsreader/view_thread/15702

[Matplotlib-users] WebP support

2010-10-02 Thread Nils Wagner
Hi all, just curious - is the WebP format supported by matplotlib ? Nils http://code.google.com/intl/de-DE/speed/webp/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify app

[Matplotlib-users] Adjusting subplot parameters

2010-09-24 Thread Nils Wagner
Hi all, How can I adjust subplot parameters (left, bottom, right, top, wspace and hspace) without using the slider interactive? Nils -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Crea

[Matplotlib-users] Adjusting Image size

2010-09-10 Thread Nils Wagner
Hi all, what is needed to save a figure when the size is given in pixels, i.e. 1024x772 ? The default is 800x600 pixels. from pylab import plot, savefig from numpy import sin,linspace,pi x = linspace(0,2*pi,200) plot(x,sin(x)) savefig('test') Nils --

Re: [Matplotlib-users] polar plot

2010-08-18 Thread Nils Wagner
On Wed, 18 Aug 2010 08:51:31 -0500 Benjamin Root wrote: > On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner > wrote: > >> Hi all, >> >> Is it possible to create a polar plot, where the lower >> bound of the radius is larger than zero ? >> I would like to plot

[Matplotlib-users] polar plot

2010-08-18 Thread Nils Wagner
Hi all, Is it possible to create a polar plot, where the lower bound of the radius is larger than zero ? I would like to plot an annulus. Any pointer would be appreciated. Thanks in advance Nils -

[Matplotlib-users] python make.py html failure in r8281

2010-04-28 Thread Nils Wagner
/home/nwagner/local/lib64/python2.6/site-packages/matplotlib/sphinxext/plot_directive.py:300: PlotWarning: Exception running plot /home/nwagner/svn/matplotlib/doc/mpl_examples/pylab_examples/fig_subplot_demo.py Traceback (most recent call last): File "/home/nwagner/local/lib64/python2.6/site

Re: [Matplotlib-users] permille sign in labels

2010-03-31 Thread Nils Wagner
On Wed, 24 Mar 2010 10:14:29 -0400 Michael Droettboom wrote: > You can use Unicode. > > ylabel(u'\u2030') > > http://www.unicode.org/charts/charindex.html > > Mike Degree Celsius u'\u2103' doesn't work. /usr/local/lib64/python2.4/site.packages/matplotlib/mathtext.py:722: MathTextWarnin

[Matplotlib-users] format yticks

2010-03-24 Thread Nils Wagner
Hi all, how can I change the output format of yticks from 100 to 1.e6 ? Nils -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune app

[Matplotlib-users] permille sign in labels

2010-03-24 Thread Nils Wagner
Hi all, does anybody know how to draw a permille sign in ylabel ? Nils -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune application

[Matplotlib-users] Pick event and annotate

2010-02-10 Thread Nils Wagner
Hi all, How can I combine onpick events with annotate ? Any pointer would be appreciated. import numpy as np import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ax.set_title('click on points') line, = ax.plot(np.random.rand(100), 'o', picker=5) # 5 points tolerance d

Re: [Matplotlib-users] python make.py html failure

2009-12-23 Thread Nils Wagner
On Tue, 22 Dec 2009 17:38:41 -0500 Jae-Joon Lee wrote: > As far as I can see, this happens when there are >obsolete rst files > (related with the Gallery I guess), created during the >doc. build with > previous svn checkout. > >For example, I recently removed > mpl_examples/axes_grid/demo_fix

[Matplotlib-users] python make.py html failure

2009-12-22 Thread Nils Wagner
Hi all, I cannot build the documentation of matplotlib. I am using the latest svn of numpy and matplotlib. How can I fix the problem ? Nils python make.py html Running Sphinx v1.0 loading pickled environment... not found animation, api, axes_grid, event_handling, misc, mplot3d,

[Matplotlib-users] DeprecationWarning

2009-09-17 Thread Nils Wagner
Hi all, Is it possible to suppress the output of DeprecationWarning messages on the screen ? Nils -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this

[Matplotlib-users] python make.py html

2009-09-09 Thread Nils Wagner
Hi all, python make.py html failed with /home/nwagner/svn/matplotlib/doc/faq/environment_variables_faq.rst:: WARNING: document isn't included in any toctree /home/nwagner/svn/matplotlib/doc/mpl_toolkits/axes_grid/index.rst:: WARNING: document isn't included in any toctree /home/nwagner/svn/matp

[Matplotlib-users] Wireframe models in matplotlib

2009-07-28 Thread Nils Wagner
Hi all, is it possible to build wire-frame models with matplotlib ? Any pointer would be appreciated. Thanks in advance Nils http://en.wikipedia.org/wiki/Wire-frame_model -- L

[Matplotlib-users] build requirements for matplotlib

2009-07-23 Thread Nils Wagner
Hi all, I am confused by the build requirements for matplotlib. I cannot find freetype 1.4 http://matplotlib.sourceforge.net/users/installing.html The latest version is freetype 1.3.1 http://sourceforge.net/projects/freetype/files/ Any comments ? Nils --

[Matplotlib-users] call gimp's autocrop function from python

2009-06-24 Thread Nils Wagner
Could you please share your findings? I would also like to learn how to script Blender once I start get going on Gimp. Finally I made it. Please find enclosed a solution. Cheers, Nils import os import subprocess from subprocess import PIPE import glob # # Process

Re: [Matplotlib-users] autocrop function

2009-06-23 Thread Nils Wagner
On Wed, 10 Jun 2009 16:32:08 -0400 Jae-Joon Lee wrote: I guess I misunderstood your intention. As you posted the message in the mpl list, I assumed that you want to crop out the boundary of the mpl figure, which seems to be not the case. Sorry for the noise. -JJ Hi, I found a way to run

Re: [Matplotlib-users] autocrop function

2009-06-09 Thread Nils Wagner
On Tue, 9 Jun 2009 11:31:19 -0700 (PDT) Anton Vasilescu wrote: > I wasn't able to find one in Matplotlib but you can use >PIL library for all the imaging work. Really easy to use. > Here is the webpage for it: >http://www.pythonware.com/products/pil/index.htm > > Anton > > Hi Anton, Thank

[Matplotlib-users] autocrop function

2009-06-09 Thread Nils Wagner
Hi all, I am looking for an autocrop function. It should remove borders from an image. Is it available in matplotlib ? Any pointer would be appreciated. Thanks in advance Nils

[Matplotlib-users] Backend problem

2009-02-23 Thread Nils Wagner
Hi all, How can I resolve the following backend problem ? What are the default library and include directories for tcl and tk ? Where should I define DISPLAY in that context ? python setup.py build --help OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.7 Tkinter: Tkin

Re: [Matplotlib-users] Fwd: Event handling

2009-01-27 Thread Nils Wagner
On Tue, 27 Jan 2009 08:57:17 -0600 John Hunter wrote: > On Tue, Jan 27, 2009 at 8:18 AM, Nils Wagner > wrote: >>> Thank you very much for your response. >>> The horizontal distance between consecutive points is >>> 5. in my application. >>> >>

[Matplotlib-users] Fwd: Event handling

2009-01-27 Thread Nils Wagner
--- Begin Message --- Please respond on list and I, or someone else, will try and respond. On Tue, Jan 27, 2009 at 7:08 AM, Nils Wagner wrote: > On Tue, 27 Jan 2009 06:37:09 -0600 > John Hunter wrote: >> >> On Tue, Jan 27, 2009 at 2:15 AM, Nils Wagner >> wrote: >&

[Matplotlib-users] Event handling

2009-01-27 Thread Nils Wagner
Hi all, Is it possible to restrict the mouse movements to the points of a graph (curve tracking) ? So far I am able to obtain the location of the mouse in data coordinates if the mouse is over an axes. A code snippet is attached. Thanks in advance. Nils from

[Matplotlib-users] Fwd: [SciPy-user] reading and writing data inExcel files

2008-12-10 Thread Nils Wagner
: http://pypi.python.org/pypi/xlwt and xlrd to read Excel: http://pypi.python.org/pypi/xlrd/ Both maintained by John Machin. >>> On 2008/12/10 at 03:11, in message <[EMAIL PROTECTED]>, "Nils Wagner" >>> <[EMAIL PROTECTED]> wrote: On Wed, 10 Dec 2008 04:24:24 -0800 &qu

Re: [Matplotlib-users] [SciPy-user] reading and writing data in Excel files

2008-12-10 Thread Nils Wagner
On Wed, 10 Dec 2008 04:24:24 -0800 "Joshua Lippai" <[EMAIL PROTECTED]> wrote: > With PyExcelerator installed, you can use the Excel >tools in the > matplotlib toolkits > > http://matplotlib.sourceforge.net/users/toolkits.html > > Using them, you can read in Excel files as recarrays and >write

[Matplotlib-users] xticks in a polar plot

2008-12-03 Thread Nils Wagner
Hi all, How can I suppress xticks in a polar plot ? Nils - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand p

Re: [Matplotlib-users] polar in a subplot

2008-12-02 Thread Nils Wagner
On Tue, 2 Dec 2008 11:14:48 -0600 "Ryan May" <[EMAIL PROTECTED]> wrote: On Tue, Dec 2, 2008 at 11:07 AM, Nils Wagner <[EMAIL PROTECTED]>wrote: Hi all, If I run the attached example I obtain no polar plots, but a view like plot(t,r_1) - for what reason ? You need

[Matplotlib-users] polar in a subplot

2008-12-02 Thread Nils Wagner
Hi all, If I run the attached example I obtain no polar plots, but a view like plot(t,r_1) - for what reason ? Nils python -i test_subplot_polar.py --verbose-helpful $HOME=/home/nwagner CONFIGDIR=/home/nwagner/.matplotlib /usr/lib/python2.4/site-packages/matplotlib/__init__.py:662: UserWar

[Matplotlib-users] Ovality of a perturbed circular path

2008-11-25 Thread Nils Wagner
Hi all, I would like to visualize the ovality of a perturbed circular path by a polar plot. How can I improve the view wrt to scaling and ticks ? from pylab import linspace, polar, xticks, yticks, show, savefig, subplot, figure from numpy.random import rand from numpy import ones, exp, pi, r_ t

[Matplotlib-users] polar

2008-11-25 Thread Nils Wagner
Hi all, If I run the attached example I get python -i test_polar.py --verbose-helpful $HOME=/home/nwagner matplotlib data path /usr/lib/python2.4/site-packages/matplotlib/mpl-data loaded rc file /home/nwagner/matplotlibrc matplotlib version 0.98.3 verbose.level helpful interactive is False uni

[Matplotlib-users] Combine jpegs

2008-11-06 Thread Nils Wagner
Hi all, Is it possible to combine jpegs with matplotlib or PIL ? Any pointer would be appreciated. Nils - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applica

Re: [Matplotlib-users] IOError: decoder jpeg not available

2008-11-06 Thread Nils Wagner
On Thu, 06 Nov 2008 13:28:21 +0100 Gregor Thalhammer <[EMAIL PROTECTED]> wrote: > Nils Wagner schrieb: >> Hi all, >> >> I tried to read a jpg file. >> How can fix the following problem ? >> >> > Which operating system are you using? > T

[Matplotlib-users] IOError: decoder jpeg not available

2008-11-06 Thread Nils Wagner
Hi all, I tried to read a jpg file. How can fix the following problem ? File "test.py", line 15, in im = imshow(lena, origin='lower') File "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line 1915, in imshow ret = gca().imshow(*args, **kwargs) File

[Matplotlib-users] trouble with installation from svn

2008-10-29 Thread Nils Wagner
Hi all, I cannot install matplotlib from recent svn. Here is the output building 'matplotlib.backends._wxagg' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE

Re: [Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread Nils Wagner
On Thu, 28 Aug 2008 13:29:07 -0500 "John Hunter" <[EMAIL PROTECTED]> wrote: On Thu, Aug 28, 2008 at 12:14 PM, Nils Wagner <[EMAIL PROTECTED]> wrote: Hi all, I am wondering if I can use scatter in connection with legend (attached test for details). I am using the lates

[Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread Nils Wagner
Hi all, I am wondering if I can use scatter in connection with legend (attached test for details). I am using the latest svn version. Any pointer would be appreciated. Cheers, Nils from scipy.optimize import * from numpy import array, sum, linspace from pylab import plot, scatter,

[Matplotlib-users] Animations for non-autonomous linear differential equations

2008-08-26 Thread Nils Wagner
Hi all, I was wondering if it is possible to produce animations like http://www.math.uh.edu/~josic/nonautonomous/ with pylab ? Further information is available in a recent paper by K. Josic and R. Rosenbaum published in SIAM Review. See http://dx.doi.org/10.1137/060677057 Cheers,

[Matplotlib-users] Trouble with recent mpl

2007-07-05 Thread Nils Wagner
Hi all, I rerun a program which I have written one year ago. Now It doesn't work for me with the latest svn version. Here is the output python lshape.py --verbose-helpful $HOME=/home/nwagner CONFIGDIR=/home/nwagner/.matplotlib matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl

[Matplotlib-users] NotImplementedError: contourf3D is broken

2007-06-26 Thread Nils Wagner
Hi all, I would like to plot the largest eigenvalue of an affine matrix over a grid. I followed the hints available at http://www.scipy.org/Cookbook/Matplotlib/mplot3D I missed the hint "Note that not all examples on this page are up to date, so some of them might not be working." How can I fix th

Re: [Matplotlib-users] mlab.rk4

2007-04-28 Thread Nils Wagner
On Fri, 27 Apr 2007 23:22:04 +0100 darkside <[EMAIL PROTECTED]> wrote: > 2007/4/27, John Hunter <[EMAIL PROTECTED]>: >> >> On 4/27/07, darkside <[EMAIL PROTECTED]> wrote: >> > hi everyone, >> > I'm trying to solve a lineal differential equation >>system, and I,m >> proving >> > with the mlab.rk4

[Matplotlib-users] AttributeError: LineCollection instance has no attribute 'get_lines'

2007-03-26 Thread Nils Wagner
Hi all, The script available at http://projects.scipy.org/scipy/scipy/ticket/390 yields True parameters: (5.0, 1.0, -5.0), Guess parameters: (4.0, 1.5, -4.0) Optimization terminated successfully. Current function value: 33.309244 Iterations: 15 Function evaluations: 23

[Matplotlib-users] Symbols below a figure

2007-02-13 Thread Nils Wagner
Hi all, I have upgraded matplotlib via svn. Now the symbols below a figure (Reset original view, Back to previous view) look very strange. Nils - Using Tomcat but need to do more? Need to support web services, security? Ge

[Matplotlib-users] Adding coordinates to a plot in text form

2007-02-08 Thread Nils Wagner
Hi all, Is there a way to add the coordinates in text form to each plus in the attached figure ? ERach plus in the plot is generated by plot([data[-1].real],[data[-1].imag],'k+') For example the rightmost plus (in the upper right half plane) should have a text (1.049+0.692j) Can I use text for th

[Matplotlib-users] Installation problem matplotlib svn

2007-01-15 Thread Nils Wagner
Hi, I cannot install the latest matplotlib on openSUSE10.2 python setup.py install yields gcc: src/_nc_backend_agg.cpp ./CXX/Extensions.hxx: In constructor ‘Py::PythonExtension::PythonExtension() [with T = BufferRegion]’: src/_backend_agg.h:50: instantiated from here ./CXX/Extensions.hxx:477:

[Matplotlib-users] AttributeError: Subplot instance has no attribute 'xlabel'

2007-01-11 Thread Nils Wagner
Is this a bug ? ax1.xlabel(r'Frequency $f$ (Hz)') AttributeError: Subplot instance has no attribute 'xlabel' >>> ax1 Nils - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and y

[Matplotlib-users] zoom in polar plots

2007-01-10 Thread Nils Wagner
Hi, How can I use zoom for polar plots ? I mean a circular cutout would be better than a rectangular cutout. Nils from scipy import * from pylab import show, polar def M(omega): s = 1j*omega return linalg.solve(s*identity(n)-A_0,A_1)*exp(-h_0*s) A_0 = array(([0,1.],[-32,-2])) A_1 = arra

[Matplotlib-users] Trouble with openSUSE10.2

2007-01-04 Thread Nils Wagner
Hi, I have tried to install matplotlib on a x86_64 machine using openSUSE10.2. python setup.py yields Package pygtk-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `pygtk-2.0.pc' to the PKG_CONFIG_PATH environment variable echo $PKG_CONFIG_PATH

[Matplotlib-users] amsmath matplotlibrc

2006-12-20 Thread Nils Wagner
Hi, How can I use amsmath in matplotlibrc ? I would like to add a legend((r'$\det{\boldsymbol P}$')). Nils - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chanc

Re: [Matplotlib-users] AttributeError: class Axes has no attribute 'pcolor_classic'

2006-11-16 Thread Nils Wagner
Eric Firing wrote: > Nils, > > That is fixed now. I was sure I had removed it last night--I don't > know how I fouled it up, but I certainly did. Thanks for the report. > > Eric > > Nils Wagner wrote: >> Hi all, >> >> I guess this bug is due to re

[Matplotlib-users] AttributeError: class Axes has no attribute 'pcolor_classic'

2006-11-16 Thread Nils Wagner
Hi all, I guess this bug is due to recent changes in svn from pylab import plot, show, xlabel, ylabel, figure, semilogy, savefig, scatter File "/usr/lib64/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/usr/lib64/python2.4/site-packages/matplotlib

[Matplotlib-users] AttributeError: TextWithDash instance has no attribute '_mytext'

2006-07-03 Thread Nils Wagner
Hi all, I tried to reproduce the Contour3D plot http://www.scipy.org/Cookbook/Matplotlib/mplot3D. from numpy import * import pylab as p import mpl3d.mplot3d as p3 p.matplotlib.__version__ # in mplt3D change: # levels, colls = self.contour(X, Y, Z, 20) # to: # C = self.contour(X, Y, Z, *args,

Re: [Matplotlib-users] Possible bug

2006-06-30 Thread Nils Wagner
John Hunter wrote: >>>>>> "Nils" == Nils Wagner <[EMAIL PROTECTED]> writes: >>>>>> > > Nils> I am using the latest svn version of mpl Traceback (most > Nils> recent call last): File > Nils> "/

  1   2   >