On Thu, Apr 19, 2012 at 1:21 PM, Goyo wrote:
> El día 19 de abril de 2012 05:31, questions anon
> escribió:
> > Thank you, I was able to get it to work but only if I imported datetime
> > within the loop, otherwise I ended up with the
> > AttributeError: type object 'datetime.datetime' has no at
On Tue, Apr 24, 2012 at 9:39 AM, Bruce Ford wrote:
> All,
>
> I often produce images for use in .KML with Google Earth. Sometimes I
> need the masking effect
> of matplotlib.toolkits.basemap.Basemap.fillcontinents but in the case of
> Google Earth, I need to make continents transparent on the fin
On Fri, Apr 27, 2012 at 10:11 AM, Francesco Montesano <
[email protected]> wrote:
> Dear matplotlibers,
>
> I know almost nothing about mpl_toolkits (matplolib.__version__ = 1.1.0).
> >From the help of
> "mpl_toolkits.axisartist.floating_axes.FloatingSubplot", the init
> function read
On Fri, Apr 13, 2012 at 4:24 PM, Ignas Anikevicius wrote:
> Dear all,
>
> I was wondering if it is possible to use matplotlib from C++ directly
> and I have found an example on how to do this on StackOverflow:
>
>
> http://stackoverflow.com/questions/2509156/anyone-knows-a-matplotlib-equivalent-in
On Friday, April 27, 2012, tanim wrote:
> Hello:
>
> Are there any restrictions or best practices for posting problems or
> issues one has with matplotlib/pyplot? I ask, because one of the data sets
> that demonstrates unexpected behavior in matplotlib is ~300k in size (I
> can reduce it if necess
On Sunday, April 29, 2012, Ignas Anikevičius wrote:
> Hello everybody,
>
> On 28 April 2012 12:13, julien tayon 'cvml', '[email protected]');>> wrote:
>
>> First cpp stands for C Pre Processor, this tool usually does macro
>> substitution in c, objective c, c++. Hence Cpp in the object is pretty
>
On Mon, Apr 30, 2012 at 2:02 PM, Tanim Islam wrote:
> Apologies, but attached to this email are the 2 python scripts I have
> neglected to attach to the previous email.
>
> Tanim Islam
>
>
Tanim,
Could you try that again? No python scripts came with that email.
Ben Root
---
On Tue, May 1, 2012 at 6:42 AM, David Erickson wrote:
> Hi I need to use the symlog yscale in my graph, I have a lot of data
> that needs to be displayed linearly, with a small fraction at the upper
> end of the range that needs to be displayed in log scale due to its
> distance from the main data
On Mon, Apr 30, 2012 at 4:02 PM, Tanim Islam wrote:
> Yes, sorry about that. I hope this now works.
>
> Tanim Islam
>
>
I can confirm your results. I am looking into it. What version of
matplotlib are you using?
Ben Root
-
On Wednesday, May 2, 2012, Alexis Praga wrote:
> Here is the result of "apt-get build-dep python-matplotlib" :
>
> The following NEW packages will be installed:
> blt debhelper doc-base docbook-xsl docbook-xsl-doc-html dvipng
> global graphviz html2text intltool-debian ipython javascript-common
>
On Wed, May 2, 2012 at 3:59 PM, David Erickson wrote:
> On 5/1/2012 5:41 AM, Benjamin Root wrote:
>
>
>
> On Tue, May 1, 2012 at 6:42 AM, David Erickson wrote:
>
>> Hi I need to use the symlog yscale in my graph, I have a lot of data
>> that needs to be displayed l
On Fri, May 4, 2012 at 9:11 AM, Chao YUE wrote:
> Dear all,
>
> I use the default GTKAgg backend. When I explore the figure in interactive
> mode, I find a list of formats to select for the figure format.
> But the default one is .png, so how can I change to .jpg?
>
> In [7]: mat.get_backend()
>
On Mon, May 7, 2012 at 12:55 PM, Michael Droettboom wrote:
> That's not a bug. linewidth is required to be a float, rather than a
> string. Python's typing is generally a little stricter than languages
> such as JavaScript.
>
> Mike
>
>
I think the bigger question is why does it _work_ with sho
On Saturday, May 12, 2012, Jerzy Karczmarczuk wrote:
> Arek Kędzior:
>
> I am trying to use pick event.
>
> ...
>
> What am I doing wrong ?
>
> Wrong with WHAT?
> What do you expect?
>
> Jerzy Karczmarczuk
>
Arek.
Could you provide a little more detail about your issue?
Cheers!
Ben Root
-
On Tuesday, May 15, 2012, Gökhan Sever wrote:
> Hello,
>
> I have encountered a weird plotting issue recently using a recent mpl
> clone. See the linked pdfs for better demonstration of the issue:
>
> http://atmos.uwyo.edu/~gsever/data/vocals_RF04_NU05_newmpl.pdf
> http://atmos.uwyo.edu/~gsever/da
On Saturday, May 19, 2012, Miro Ilias wrote:
> Hi,
>
> I have the same problem on Windows 7: I installated Python 2.7 from
> installation
> package, and matplotlib package gave me the mentioned error message during
> installation.
>
> Miro
>
>
>
Maybe this is a 32/64-bit issue? I.e., the python i
On Mon, May 21, 2012 at 8:17 AM, Chao YUE wrote:
> Dear all,
>
> Is there a way to remove colorbar? axes.cla() clears only the region for
> map but not the colorbar.
>
> Chao
>
>
Colorbars are a bit tricky. They are actually a subplot axes separate from
your plotting axes. And I don't think the
On Tue, May 22, 2012 at 8:44 AM, Stevenson, Samuel <
[email protected]> wrote:
> Hi All
>
> ** **
>
> After spending all day working on this I have discovered that if I
> explicity change the matplotlib backend in spyder from ‘Qt4Agg’ to ‘Agg’
> then my code executes as expected wi
On Wed, May 23, 2012 at 4:03 AM, Meesters, Aesku.Kipp Institute <
[email protected]> wrote:
> Hi,
>
> I'm following the example in the gallery to do a barchart plot (see
> http://matplotlib.sourceforge.net/examples/api/barchart_demo.html ).
>
> In contrast to the example I would like to see
On Wednesday, May 23, 2012, Gökhan Sever wrote:
>
> On Wed, May 23, 2012 at 8:32 AM, Chao YUE
>
> > wrote:
>
>> Dear all,
>>
>> I have two different monitors. How can I use plot command within terminal
>> in this monitor and set the figure to show defaultly in another one?
>>
>> thanks,
>>
>> Ch
Just got bit by this and I thought I'd share to help others.
I was just quickly writing out some pyplot commands to create two subplots
to compare some results. I did:
plt.subplots(1, 2, 1)
plt.contourf()
plt.title("Contours")
xlim = plt.xlim()
ylim = plt.ylim()
plt.subplots(1, 2, 2)
plt.im
On Thu, May 24, 2012 at 10:09 AM, Tony Yu wrote:
>
>
> On Thu, May 24, 2012 at 9:54 AM, Benjamin Root wrote:
>
>> Just got bit by this and I thought I'd share to help others.
>>
>> I was just quickly writing out some pyplot commands to create two
>>
On Thursday, May 24, 2012, Umut Yildiz wrote:
> Dear All,
>
> I used to use griddata in order to make my contourmaps. However, after I
> updated
> my Python from 2.6 to 2.7 griddata is not working anymore.
>
> I tried some workarounds but no success.
>
> The countourmap that I produced before is h
On Thursday, May 24, 2012, Jerzy Karczmarczuk wrote:
> Gurus,
>
> Windows XP, matplotlib 1.1.0. Backend Tk, but the same elsewhere.
>
> Programme:
>
> import matplotlib as mpl
> import matplotlib.pyplot as plt
> mpl.rcParams['lines.linewidth'] = 2
> mpl.rcParams['lines.color'] = 'r'
>
> x=range(80
On Wednesday, May 30, 2012, Amanda Stott wrote:
> Hello,
>
> I am trying to build matplotlib from source on CentOS. I have installed
> all the dependencies, including numpy, freetype, libpng, etc. I also have
> both the C and C++ compiler (gcc and cgg-c++) installed in /usr/lib/.
> However when ru
On Thursday, May 31, 2012, solarg wrote:
> hello all,
>
> i've tried it on my laptop, but got this error at the last line:
>
> >>> fig.savefig('samplefigure', bbox_extra_artists=(lgd,),
> bbox_inches='tight')
> Traceback (most recent call last):
> File "", line 1, in
> File
>
> "/Users/me/py
On Tue, Jun 5, 2012 at 11:53 AM, Ulrich vor dem Esche <
[email protected]> wrote:
> Hey! :o)
> This should be simple, but i cant manage: I need to plot many dots with
> the same x, like
>
> plt.plot([3,3,3,3],[60,80,120,180],'+',markersize=8,mec='k')
>
> The array for x values is silly,
On Wed, Jun 6, 2012 at 6:12 PM, Tony Yu wrote:
>
>
> On Wed, Jun 6, 2012 at 3:32 PM, kamel maths wrote:
>
>> Hi,
>>
>> for this script:
>>
>> from pylab import *
>>
>> fig = figure()
>> ax = fig.add_subplot(111)
>> ax.axis('equal')
>>
>> x = linspace(-2, 3, 5
On Thu, Jun 7, 2012 at 9:07 AM, David Craig wrote:
> Hi,
> I trying to define an area in a pcolor plot (several plots) using the
> ginput(). However since it is an irregular shape and will be different in
> each plot so I cant define how many points there will be before hand, I've
> tried the fo
On Mon, Jun 11, 2012 at 12:23 PM, Gustavo Goretkin <
[email protected]> wrote:
> The problem is that the function in _path.cpp expects a path radius
> argument, r.
>
> Here is the signature:
> point_in_path(double x, double y, double r, PathIterator& path,
> const agg::trans
On Tuesday, June 12, 2012, wiswit wrote:
>
> Hi, Thanks Fernando! I am using vim and I checked a little bit the tool and
> it seems of great help!
> I am not saying that we need something perfect. It's already great to have
> these tools (ipython, matplotlib). Just imagine what's kind of feeling
>
On Wed, Jun 13, 2012 at 10:46 AM, Peter Würtz wrote:
>
> I'm sorry, there seems to be a mess. Nabble told me that this mail to the
> list was not accepted for unknown reasons so I deleted it. Here is the
> example I was talking about in the previous mail:
>
> import matplotlib
> import pylab as p
On Fri, Jun 8, 2012 at 4:36 AM, Maximilian Fabricius
wrote:
> Hi all,
>
> it seems that whenever I plot something, a window opens.
>
> from matplotlib import pylab
> import numpy
> pylab.plot(numpy.random.normal(size=100))
>
> Now, I have code that is supposed to produce diagnostic plots as PDFs.
On Wed, Jun 13, 2012 at 4:00 PM, Timothy Duly wrote:
> Hello,
>
> I am trying to make a simple pcolor plot with a datetime on the x-axis. I
> am able to get a time label on the x-axis fine with a regular plot command,
> but it doesn't appear to work if you use pcolor. This simple example below
On Thursday, June 14, 2012, Daπid wrote:
> First, this is another topic, so please, change the subject of the
> message so it doesn't get messed up with others (and possible help
> lost in the process).
>
> Now, you are indeed plotting one dot at the time and generating a
> label for it. If you do
On Thursday, June 14, 2012, Jonathan Hayward wrote:
> http://matplotlib.sourceforge.net/examples/axes_grid/scatter_hist.html
>
> This is something I'd like to be able to produce, but for millions of
> records, where the center will look like one undifferentiated mass of dark
> blue.
>
> Is there a
Ananduri,
On Fri, Jun 15, 2012 at 8:47 AM, ananduri wrote:
>
> Hello,
>
> I have some minor questions regarding matplotlib. I'm using it to make a 3d
> plot, displaying a surface, it's contour map, a line climbing the surface
> and its projection onto the contour map.
>
> http://old.nabble.com/f
Khary,
On Sun, Jun 10, 2012 at 3:30 PM, surfcast23 wrote:
>
> to matplotlib-use.
> Hi,
>
> I have a data set that is composed of x,y,z coordinates of the center of
> cells and counts of objects in each contained in cell. I am using the
> following code to do a scatter plot of the counts per cel
On Friday, June 15, 2012, Mark Lawrence wrote:
> Hi all,
>
> I regularly use matplotlib for plotting data relating to my personal
> finances. At the moment I'm converting Decimals to floats. Do I still
> have to do this? If yes, are there any plans to support Decimals? I've
> tried searching t
On Mon, Jun 18, 2012 at 8:41 AM, John Hunter wrote:
> On Mon, Jun 18, 2012 at 7:29 AM, Martin Mokrejs
> wrote:
>
> > Hmm. Could it be by default the current working directory instead? Or,
> try/else added to the code
> > which would try to write into cwd if $HOME (aka $MPLCONFIGDIR) returns
> an
On Mon, Jun 18, 2012 at 2:36 AM, Andre' Walker-Loud wrote:
> Hi All,
>
> I have mac os x, 10.6.8, enthought distribution.
>
> I recently upgraded from the 6.2 to 7.3 EPD.
>
> Previously, I had a script which would manipulate some data, and as soon
> as the command
>
> plt.figure()
>
> was issued,
On Mon, Jun 18, 2012 at 3:36 AM, Maximilian Fabricius
wrote:
> On Tue, Jun 12, 2012 at 6:40 PM, John Hunter wrote:
> > On Fri, Jun 8, 2012 at 3:36 AM, Maximilian Fabricius
> > wrote:
> >> it seems that whenever I plot something, a window opens.
> >>
> >> from matplotlib import pylab
> >> import
On Mon, Jun 18, 2012 at 6:42 AM, Clare Soh wrote:
> Hi,
>
> I'm trying to plot some data against time using the following code:
>
> r = mlab.csv2rec(filename)
> self.axis.plot(r.time, r.jb_sizems)
> hfmt = dates.DateFormatter('%H:%M:%S.%f')
> self.a
On Tue, Jun 19, 2012 at 12:06 PM, Alexander Crosby
wrote:
> The code below is a stripped down version of the way i am implementing a
> clip operation, but it is slow and memory inefficient. Is there a way to
> do this without looping or just faster, perhaps with a
> PolygonCollection?
>
> I have c
On Tue, Jun 19, 2012 at 2:40 PM, Andre' Walker-Loud wrote:
> Hi Goyo,
>
> > 2012/6/19 Andre' Walker-Loud :
> >> But my plots still vanish as soon as the script is done :
> >
> > That's to be expected. You can make the script not to end until the
> > user ask for it explicitly:
> >
> > raw_input('
On Wed, Jun 20, 2012 at 6:12 AM, mogliii wrote:
> Hi,
>
> on the computer where it does not work the backend is 'agg'. In a
> virtual machine, where it works, the backend shows 'TkAgg'
>
> Now on the machine it does not work I run the following:
>
> >>> import matplotlib
> >>> matplotlib.use('TkA
On Wednesday, June 20, 2012, Nicolas wrote:
> Hi all
>
> I have installed successively basemap 1.0.3 and 1.0.4 on top of my EPD
> 7.3 (linux x86_64) running on a linux ubuntu 11.10.
>
> archives downloaded from
>
> http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.X/
On Fri, Jun 22, 2012 at 8:55 AM, Michael Droettboom wrote:
>
> On Thu, Jun 21, 2012 at 12:54 AM, Christopher Graves <
> [email protected]> wrote:
>
>>
>> Has anyone had a chance to take a look at this very annoying bug with
>> using AutoMinorLocator?
>>
>
>
> Ok, I proposed a simple bu
On Friday, June 22, 2012, John Hunter wrote:
> On Fri, Jun 22, 2012 at 2:48 PM, Alan G Isaac
> >
> wrote:
> > On 6/21/2012 10:24 PM, Tony Yu wrote:
> >> Here's an example based off the horizontal bar charts in the gallery.
> >
> > Pretty good, really!
> > More than just a starting point.
>
> And
On Mon, Jun 25, 2012 at 1:12 PM, mogliii wrote:
> Hi,
>
> In my script a variable number of graphs is generated. I want to place
> them in one column with arbitrary number of rows onto an A4 canvas (for
> pdf export).
>
> Unfortunately the figsize directive seems to have no effect. The figure
> i
On Mon, Jun 25, 2012 at 10:03 AM, julien tayon wrote:
> Hello,
>
> I made a crude sonogram https://gist.github.com/2983547 with the note
> names instead of the frequency. But, It really angers me not to be
> able to have a log scale for the frequency.
>
> Does any well known workaround exists?
>
On Saturday, June 30, 2012, Youbao Zhang wrote:
> Dear all,
>
> I successfully installed Python 3.2.3 + Numpy 1.6.2 + Matplotlib 1.2.x
> (Git version). I tried the following command sequence line by line:
>
> huskier@SqueezeVM0:~/Programming/Python/Python-3.2.3$ python3.2
> Python 3.2.3 (default,
Mads,
On Thu, Jun 28, 2012 at 7:47 AM, Mads Ipsen wrote:
> I want to make some mods to a few selected tick labels.
>
> For example, if I do
>
> label = axes.yaxis.get_major_ticks()[2].label
> label.set_fontsize(size)
> label.set_rotation('vertical')
>
> the font size and the orientation o
Mads,
On Thu, Jun 28, 2012 at 3:12 AM, Mads Ipsen wrote:
> Hi,
>
> Suppose you do this:
>
> axes = self.figure().get_axes()
> contour = axes.contourf(x,y,z)
> colorbar = self.figure().colorbar(contour)
>
> Suppose that the contour data changes, can you update the colorbar with
> the new data?
>
On Sun, Jul 1, 2012 at 12:50 PM, surfcast23 wrote:
>
> Hi,
> I am translating a Matlab code to python and get the following error when
> the codes reaches the plotting section
>
> Warning (from warnings module):
> File "C:\Documents and Settings\My Documents\PHYSICS\Wave-eqn.py", line
> 40
>
On Mon, Jul 2, 2012 at 4:33 AM, wrote:
> Hi all!
>
> How can I use the keyboard events up/down/right/left without starting an
> interaction with the navigation toolbar?
> I connected to the keypress events and everything looks ok until I press
> the down key: my connected method gets called once
On Wed, Jul 4, 2012 at 1:17 PM, Gökhan Sever wrote:
> Hello,
>
> I am working on creating some distribution plots to analyze cloud droplet
> and drop features. You can see one such plot at
> http://atmos.uwyo.edu/~gsever/data/rf06_1second/rf06_belowcloud_SurfaceArea_1second.pdf
> This file conta
On Thu, Jul 5, 2012 at 11:36 AM, Gökhan Sever wrote:
>
>
> On Thu, Jul 5, 2012 at 8:45 AM, Gökhan Sever wrote:
>
>> On Thu, Jul 5, 2012 at 7:29 AM, Benjamin Root wrote:
>>
>>>
>>>
>>> On Wed, Jul 4, 2012 at 1:17 PM, Gökhan Sever wrote:
>
On Thu, Jul 5, 2012 at 1:45 PM, Gökhan Sever wrote:
>
>
> On Thu, Jul 5, 2012 at 11:15 AM, Fabrice Silva wrote:
>
>>
>>
>> > At end of the outer loop, instead of closing the figure, you should
>> > call "remove()" for each plot element you made. Essentially, as you
>> > loop over the inner loop,
On Thu, Jul 5, 2012 at 1:55 PM, Gökhan Sever wrote:
> And you might get back more memory if you didn't have to have all the data
>> in memory at once, but that may or may not help you. The only other
>> suggestion I can make is to attempt to eliminate the overhead in the inner
>> loop. Essentia
On Wed, Jul 4, 2012 at 3:15 AM, wrote:
> Hi Ben,
>
> thanks for the tip!
> I nevertheless hit another snag:
> In [12]: [(k,p.rcParams[k]) for k in p.rcParams.keys() if 'keymap' in k]
> Out[12]:
> [('keymap.all_axes', ['a']),
> ('keymap.back', ['left', 'c', 'backspace']),
> ('keymap.forward', ['
On Fri, Jul 6, 2012 at 2:36 PM, Saurav Pathak wrote:
> Hi,
>
> I would often save figures after show() from the savefig button on the
> navigation toolbar. I would like to trim white spaces using something
> akin to bbox_inches='tight', but haven't been able to figure out how. I
> tried adding
On Fri, Jul 6, 2012 at 5:39 PM, Chao YUE wrote:
> dear all,
>
> I want to build a 5X3 subplots matrix that I want the xaxis is shared only
> on the same column and yaxis shared only on the same row.
> While using plt.subplots(5,3,sharex=True, sharey=True) will put all
> subplots as both shared xa
On Sun, Jul 8, 2012 at 9:04 PM, Brendan Barnwell wrote:
> I just spent some time debugging an odd problem. Take this code:
>
> x,y = np.arange(-10,10), np.arange(-10,10)
> x,y = np.meshgrid(x,y)
> z = x**2+y**2
> cs = pyplot.contourf(x,y,z,levels=np.arange(50, 220, 20),
> cmap=pyplot.cm.j
On Tue, Jul 10, 2012 at 7:05 AM, Damon McDougall
wrote:
> On Tue, Jul 10, 2012 at 12:27:59PM +0200, Fabien Lafont wrote:
> > Hello everyone,
> >
> > I try to plot the digamma function of (1/2 + 1/x) but I'm not sure that
> I'm
> > plotting the good one.
> >
> > I've tried:
> >
> > special.polygamm
On Tue, Jul 10, 2012 at 12:58 PM, Tony Yu wrote:
> Announcement: mpltools 0.1
> ==
>
> mpltools is a package of tools for matplotlib. For the most part, these
> tools are only loosely-connected in functionality, but there are two that
> may prove particularly useful:
>
> S
On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote:
>
>
> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall <
> [email protected]> wrote:
>>
>> Well, as Ben said, that error fill plot is neato! It doesn't look too
>> complicated, either. I'd be more than happy to port it over later today
On Wed, Jul 11, 2012 at 10:41 AM, Pål Gunnar Ellingsen wrote:
> Hi
>
> I'm trying to save a animation, which I've generated using
> animation.FuncAnimation.
> The animation has it's background set by plt.rcParams['figure.facecolor']
> = 'black'
> Which works with plt.show(), though not with animat
On Wed, Jul 11, 2012 at 12:45 PM, Joshua Koehler wrote:
> Hi all,
>
> I am currently trying to have two panels each with their own figure
> instance so they can have separate plots.
>
> I can successfully update a plot if there is only one panel. As soon as I
> add a second panel, I get the follow
On Wed, Jul 11, 2012 at 11:23 AM, John Hunter wrote:
>
>
> On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall <
> [email protected]> wrote:
>>
>> Well, as Ben said, that error fill plot is neato! It doesn't look too
>> complicated, either. I'd be more than happy to port it over later today
On Thu, Jul 12, 2012 at 1:58 PM, Daπid wrote:
> I don't know if there is any reason for not having it, but as a
> workaround, you could use np.hist to get the data (syntax is the same
> as mpl.hist and returns the same numbers, but without drawing) and
> then renormalise and plot with mpl.bars.
>
On Thu, Jul 12, 2012 at 3:33 PM, Damon McDougall
wrote:
> On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote:
> > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote:
> >
> > >
> > >
> > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter
> wro
On Fri, Jul 13, 2012 at 7:01 PM, Damon McDougall
wrote:
> On Wed, Jul 11, 2012 at 08:33:21PM -0400, Tony Yu wrote:
> > On Wed, Jul 11, 2012 at 2:28 PM, Benjamin Root wrote:
> >
> > >
> > >
> > > On Wed, Jul 11, 2012 at 11:23 AM, John Hunter
> wro
On Saturday, July 14, 2012, John Hunter wrote:
>
>
> On Sat, Jul 14, 2012 at 11:48 AM, John Hunter
>
> > wrote:
>
>> I do not understand why in the following example, if I set
>> patch_alpha=1.0, I do not see the shadow effect. I would expect to see it
>> for the the rightmost four bars, where
On Saturday, July 14, 2012, gsal wrote:
>
> So, I have
>
> [code]
>
> from mpl_toolkits.mplot3d import axes3d
> fig = plt.figure(figsize=(10,7))
> ax = fig.gca(projection='3d')
> ax.scatter(xs, ys, zs, c='r')
> plt.show()
>
> [/code]
>
> but when the figure first comes up, it is not to my liking;
On Tue, Jul 17, 2012 at 6:25 AM, todd rme wrote:
> On Wed, Jul 11, 2012 at 5:23 PM, John Hunter wrote:
> >
> >
> > On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall
> > wrote:
> >>
> >> Well, as Ben said, that error fill plot is neato! It doesn't look too
> >> complicated, either. I'd be more t
On Tue, Jul 17, 2012 at 8:12 AM, Yannick Copin wrote:
> Hi List,
>
> Short question: is there any (simple) way to generate "spectral" images
> such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ ?
>
> Long version: say I have 1D-array l, which I would like to visualize as
> the L comp
On Tue, Jul 17, 2012 at 3:01 PM, Jonathan Slavin wrote:
> Francesco,
>
> While I like your solution, there is an alternative that is simpler and
> works for me. That is 1) save matplotlib plot as a png, 2) convert to
> eps using either ImageMagick or GraphicsMagick. You do end up with
> relative
Hello all!
I have just about completed a PR that would add a new button to the
navigation toolbar for the tight_layout() action. I am hardly an artist
and have no clue how to graphically represent the tight_layout action in a
tiny icon. I would greatly welcome any graphics artist out there who c
On Thu, Jul 19, 2012 at 4:30 AM, Damon McDougall
wrote:
> On Thu, Jul 19, 2012 at 10:23:09AM +0200, Alexander Eberspaecher wrote:
> > On Wed, 18 Jul 2012 15:50:50 -0700
> > Brad Malone wrote:
> >
> > > Hi, I have a collection of 4 plots that I spent some time in
> > > constructing. They themselve
org/
> > http://commons.wikimedia.org/wiki/Tango_icons
> >
> >
> > Tango (for fullscreen but might suit tight-layout)
> > Nicolas
> >
> >
> > On Jul 19, 2012, at 0:47 , Benjamin Root wrote:
> >
> >> Hello all!
> >>
> >>
On Thu, Jul 19, 2012 at 11:34 PM, JonBL wrote:
>
> I have a Python program which calls matplotlib's show() method to display a
> plot, but control does not return to my program until I close the displayed
> figure. I want control to immediately return to my program so that I can
> display additio
On Fri, Jul 20, 2012 at 5:39 AM, Damon McDougall
wrote:
> On Fri, Jul 20, 2012 at 12:14:08PM +0200, Fabien Lafont wrote:
> > Hello everyone,
> >
> > Is it possible to have automaticaly more than 3 colors when Iplot a
> graph?
> > When I plot it put the first in blue the second in green the third i
On Thu, Jul 19, 2012 at 3:17 PM, ObsessiveMathsFreak <
[email protected]> wrote:
> I used sagemath which uses matplotlib as its plotting interface. After
> extensive investigation I was extremely disappointed to find that
> matplotlib has no fundamental support for drawing arrows at th
On Fri, Jul 20, 2012 at 8:50 AM, Damon McDougall
wrote:
> Howdy all,
>
> Not sure if I'm being a giant noob, but is there any way to plot a
> vector field (a la quiver) on the (x, y)-plane of an Axes3D object? The
> behaviour I desire is exactly that of
>
> http://matplotlib.sourceforge.net/mpl_to
On Fri, Jul 20, 2012 at 10:55 PM, C M wrote:
> How possible would it be to wrap y axis tick labels after a certain
> text length? I have a horizontal bar plot where some bars' labels are
> too long and therefore cut off. I can scrunch the width of the whole
> plot to accommodate them, but I'd m
On Sat, Jul 21, 2012 at 1:21 PM, klo uo wrote:
> Hi,
>
> I read previous mail about "colormaps" which reminded me to a question
> I had about MPL colors.
> Colors in MPL plots are dark, and pale, and not is some specific color
> theme but it's just pale dark.
> I thought that usually people make
On Sat, Jul 21, 2012 at 10:27 PM, JonBL wrote:
>
> I have a line plot where the x-axis values are numbers, with displayed tick
> mark values of 0, 100, 200 ... 500 - a total of 6 tick marks. These values
> represent the number of days since a certain date. I have a function which
> converts a num
On Tue, Jul 24, 2012 at 10:10 AM, Sami Niemi wrote:
> Hi,
>
> I have not managed to rotate the axes label text when generating a 3D
> plot, while in 2D everything works just fine. Here's a short snippet to
> demonstrate:
>
> import matplotlib.pyplot as plt
> from mpl_toolkits.mplot3d import Axes3
On Tue, Jul 24, 2012 at 10:52 AM, Sami Niemi wrote:
> Thanks Ben for your explanation. I have filed a feature request:
> https://github.com/matplotlib/matplotlib/issues/1037
>
>
> Cheers,
> Sami
>
>
Sami,
I did take a quick peek at the code to assess how much effort it would take
to make it work
On Tuesday, July 24, 2012, Vladan Divljak wrote:
> On Wed, Jul 25, 2012 at 4:22 AM, Eric Firing wrote:
>
>>
>> It sounds like maybe you missed http://pydap.org.
>>
>
> I have it :)
> I installed it yesterday.
> On a first sight, it seemed to me like a tool for users interested in
> making local da
On Wednesday, July 25, 2012, Rutger Kassies wrote:
> Dear list,
>
> I am trying to plot an image using imshow for which i want to have full
> control of the interpolation taking place. I would rather not have any
> interpolation at all, but if the input image is very small, it may be
> interpolate
On Thursday, July 26, 2012, Joshua Koehler wrote:
> Hi all,
>
> I am getting the following error message:
>
> 'Figure' object has no attribute 'show'
>
> When running matplotlib in Ubuntu 12.04, with matplotlib 1.2.x and pylab
> 1.6.2.
>
> The code is set up as such:
>
> fig = pylab.figure()
> ...
On Friday, July 27, 2012, JonBL wrote:
>
> I'm unsure about the role of numpy method arange in Matplotlib plots. All
> Matplotlib examples I have seen call numpy's method arange, and pass the
> result as the first arg to Matplotlib's plot method.
>
> But the following works as expected:
>
> --- qu
On Sunday, July 29, 2012, Vlastimil Brom wrote:
> Hi all,
> I'd like to ask about the possibility to eventually reuse the gui of
> pylab for showing and manipulating the plots in the custom application
> (written in wxpython).
> Basically, I'd like to add some application specific controls to the
On Sun, Jul 29, 2012 at 7:39 PM, Vlastimil Brom wrote:
> 2012/7/30 Benjamin Root :
> >
> >
> > On Sunday, July 29, 2012, Vlastimil Brom wrote:
> >>
> >> Hi all,
> >> I'd like to ask about the possibility to eventually reuse the gui of
>
On Thursday, August 2, 2012, surfcast23 wrote:
>
>
>
> surfcast23 wrote:
> >
> > In the documentation it says that Axes3D.plot_wireframe(X, Y, Z, *args,
> > **kwargs) takes 2D arrays as the first two arguments. Do the arrays have
> > to have the same size dimensions?
> >
> >
>
> Any one know?
Wo
On Thursday, August 2, 2012, surfcast23 wrote:
>
> Okay thank you! The Matlab code I am basing this on takes arrays of
> different
> shapes with different sized elements ie
> x = 1 512
> y = 101 1
> and I guess automatically makes the the same shape. Can you point me in the
> direction of docu
On Thursday, August 2, 2012, surfcast23 wrote:
>
> Wouldn't
>
> X= np.ones((1, 45))
> Y= np.zeros((32, 1))
>
> change the existing values of the elements to ones and zeros?
>
>
I was just demonstrating what np.broadcast_arrays() does. Take your x and
y arrays and put them through this function an
On Friday, August 3, 2012, surfcast23 wrote:
>
> I tested it out and it does change all the values to ones and zeros. Is
> there
> a way to broadcast and keep the original values that were in the arrays?
> Thanks for the help
>
>
>
Don't use ones() and zeros(). It was just a way to swtup a demons
601 - 700 of 1482 matches
Mail list logo