Re: [Matplotlib-users] no BoundingBox

2006-06-27 Thread Nils Wagner
PGM wrote: Nils, That's far more a Latex question than a matplotlib one. Short answer: you can't fix the BBox from a JPEG, there's none ! From what I remmbr from my LaTeX years, you need to transform the jpeg to a format LaTeX can understand, viz '.ps' or '.eps' Check

Re: [Matplotlib-users] no BoundingBox

2006-06-27 Thread Nils Wagner
Nils Wagner wrote: Hi all, I have generated some figures with matplotlib (savefig('test.png') savefig(test.jpg')). If I try to include them via \includegraphics[width=8cm]{test.jpg} I get LaTeX Error: Cannot determine size of graphic in test.jpg (no BoundingBox). I am using latest

[Matplotlib-users] Vibrational modes of l-shaped membranes

2006-06-30 Thread Nils Wagner
Hi all, I am going to visualize mode shapes of L-shaped membranes using contour. So far, I have two lists xin, yin containing the coordinates of interior points (see bottom of mode.png) . A third list will contain the corresponding displacements u(xin,yin). xin [-0.9,

[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,

[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

[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

[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 =

[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 matplotlib.axes.Subplot instance at 0x2aaab468d3f8 Nils - Take Surveys. Earn Cash. Influence the Future

[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

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 function. The

[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 the

[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

[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

[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 module 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)

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? The problem arise in the PIL (Python Imaging Library). It cannot find

[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

[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

[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_

[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:

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 to specify polar=True

[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

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 recarrays

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

2008-12-10 Thread Nils Wagner
/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 Joshua Lippai [EMAIL PROTECTED] wrote: With PyExcelerator

[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: Event handling

2009-01-27 Thread Nils Wagner
---BeginMessage--- Please respond on list and I, or someone else, will try and respond. On Tue, Jan 27, 2009 at 7:08 AM, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: On Tue, 27 Jan 2009 06:37:09 -0600 John Hunter jdh2...@gmail.com wrote: On Tue, Jan 27, 2009 at 2:15 AM, Nils Wagner nwag

Re: [Matplotlib-users] Fwd: Event handling

2009-01-27 Thread Nils Wagner
On Tue, 27 Jan 2009 08:57:17 -0600 John Hunter jdh2...@gmail.com wrote: On Tue, Jan 27, 2009 at 8:18 AM, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: Thank you very much for your response. The horizontal distance between consecutive points is 5. in my application. Is the value

[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:

[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

Re: [Matplotlib-users] autocrop function

2009-06-09 Thread Nils Wagner
On Tue, 9 Jun 2009 11:31:19 -0700 (PDT) Anton Vasilescu vasilescu_an...@yahoo.com 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

Re: [Matplotlib-users] autocrop function

2009-06-23 Thread Nils Wagner
On Wed, 10 Jun 2009 16:32:08 -0400 Jae-Joon Lee lee.j.j...@gmail.com 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,

[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 # #

[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 --

[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

[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 BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend

[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,

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 lee.j.j...@gmail.com 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

[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

[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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune

[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#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and

Re: [Matplotlib-users] permille sign in labels

2010-03-31 Thread Nils Wagner
On Wed, 24 Mar 2010 10:14:29 -0400 Michael Droettboom md...@stsci.edu 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:

[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

[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

Re: [Matplotlib-users] polar plot

2010-08-18 Thread Nils Wagner
On Wed, 18 Aug 2010 08:51:31 -0500 Benjamin Root ben.r...@ou.edu wrote: On Wed, Aug 18, 2010 at 8:03 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: 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] 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

[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 ATT present the 2010 Calling All Innovators-North America contest

[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

[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

[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-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:

[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

Re: [Matplotlib-users] Customizing the Navigation toolbar

2011-09-30 Thread Nils Wagner
On Thu, 29 Sep 2011 14:56:21 +0200 Nils Wagner nwag...@iam.uni-stuttgart.de 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 in advance. 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 j...@roseninspection.net 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

[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

[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

[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

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 ben.r...@ou.edu wrote: On Fri, Oct 14, 2011 at 3:42 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: 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

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 ben.r...@ou.edu wrote: On Fri, Oct 14, 2011 at 3:42 AM, Nils Wagner nwag...@iam.uni-stuttgart.dewrote: 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

[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=

Re: [Matplotlib-users] animation.FuncAnimation

2011-12-21 Thread Nils Wagner
On Tue, 20 Dec 2011 10:48:42 -0600 Ryan May rma...@gmail.com wrote: On Tue, Dec 20, 2011 at 8:00 AM, Nils Wagner nwag...@iam.uni-stuttgart.de wrote: Hi all, How do I use animation.FuncAnimation to plot real-life data from parsing a text file ? Here's a version that does what I think you

[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)

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 ben.r...@ou.edu wrote: On Monday, January 16, 2012, Nils Wagner nwag...@iam.uni-stuttgart.de 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

[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-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] 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] 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

[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] 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

[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 =

[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] 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

Re: [Matplotlib-users] matplotlib and opensuse 12.3

2013-04-26 Thread Nils Wagner
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 Any idea how to resolve the problem is appreciated. Thanks in advance

[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,

[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!

[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 =

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 ben.r...@ou.edu wrote: On Tue, Sep 17, 2013 at 4:25 AM, Nils Wagner nils...@googlemail.comwrote: Hi all, How can I modify the grid linewidth and grid

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

2013-10-11 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] 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 efir...@hawaii.edu wrote: On 2013/10/10 8:52 PM, Nils

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 nils...@googlemail.com 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 md...@stsci.eduwrote: I wonder if it's commit 6b827cbf

[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] Pick event after using Zoom to rectangle

2013-10-29 Thread Nils Wagner
, Nils Wagner nils...@googlemail.com wrote: 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

[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.

[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

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 joferking...@gmail.com wrote: On Oct 30, 2013 9:43 AM, Nils Wagner nils

[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

[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

[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

[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

[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. --

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

2014-12-11 Thread Nils Wagner
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 nils...@googlemail.com wrote: Hi all, how can I create line segments between consecutive selected points of a scatter plot in an interactive manner ? It should be possible

[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

[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

Re: [Matplotlib-users] contour3D in matplotlib

2015-01-20 Thread Nils Wagner
, Jan 20, 2015 at 4:27 PM, Paul Hobson pmhob...@gmail.com 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 nils...@googlemail.com wrote: Hi all, I found http