Re: [Matplotlib-users] dates for x-axis

2012-04-18 Thread questions anon
I am not exactly sure how to use datetime objects instead of strings. This is the code I am working with at the moment and the code works except for the dates, they are just weird numbers along the x-axis. Any help will be greatly appreciated. import numpy as np import matplotlib.pyplot as plt

[Matplotlib-users] how to set scatter plot point size after drawing the plot?

2012-04-18 Thread Chao YUE
Dear all, I draw a scatter plot. it returns matplotlib.collections.PathCollection object. then how can I set the size of the markers? for a matplotlib.lines.Line2D object, there is a method set_markersize which can be used to set markersize. but no such method for

[Matplotlib-users] install/link matplotlib backend in parallel python version

2012-04-18 Thread Naljer
Hi, I would like to use the pre-installed backends like TKAgg an so on with python2.7. My standard-python is 2.6 and python 2.7 doesnt find the backends. python2.7: import matplotlib matplotlib.use('TkAgg') from pylab import * error something like: no tkinter installed Please help! :-) --

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread Werner F. Bruhin
On 18/02/2010 22:41, Werner F. Bruhin wrote: Using numpy with /arch nosse solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch on/off the SSEx support? I am running again into crashes with matplotlib/numpy on Windows XP running on

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread francesco oteri
Hi Werner Il giorno 18 aprile 2012 16:00, Werner F. Bruhin werner.bru...@free.fr ha scritto: On 18/02/2010 22:41, Werner F. Bruhin wrote: Using numpy with /arch nosse solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch

[Matplotlib-users] Plot data for a 24 by 16 array of subplots and allow zooming into any one of them.

2012-04-18 Thread hari jayaram
Hi I am fairly new to matplotlib. I have 384 x,y plots that I want to arrange into a 24 by 16 array of subplots with each subplot being at-least 4 inches by 4 inches. I am creating the figure using a large size so that everything will fit fig = plt.figure(figsize=(96,64),dpi=72) I then have

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread Benjamin Root
On Wed, Apr 18, 2012 at 10:00 AM, Werner F. Bruhin werner.bru...@free.frwrote: On 18/02/2010 22:41, Werner F. Bruhin wrote: Using numpy with /arch nosse solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch on/off the SSEx

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread Christoph Gohlke
On 4/18/2012 7:00 AM, Werner F. Bruhin wrote: On 18/02/2010 22:41, Werner F. Bruhin wrote: Using numpy with /arch nosse solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch on/off the SSEx support? I am running again into

Re: [Matplotlib-users] Plot data for a 24 by 16 array of subplots and allow zooming into any one of them.

2012-04-18 Thread Benjamin Root
On Wed, Apr 18, 2012 at 12:40 PM, hari jayaram hari...@gmail.com wrote: Hi I am fairly new to matplotlib. I have 384 x,y plots that I want to arrange into a 24 by 16 array of subplots with each subplot being at-least 4 inches by 4 inches. I am creating the figure using a large size so

[Matplotlib-users] Stem 3d

2012-04-18 Thread José Alexandre Nalon
Hello, I need to plot 2d sequences of two kinds. I wanted them to look like a stem plot because of other plots that are in the same text. There are actually two kinds of plots that I need: one is a standard two-dimensional domain, with points in the domain over a rectangular grid; the other is a

Re: [Matplotlib-users] Stem 3d

2012-04-18 Thread Benjamin Root
On Wed, Apr 18, 2012 at 2:41 PM, José Alexandre Nalon na...@terra.com.brwrote: Hello, I need to plot 2d sequences of two kinds. I wanted them to look like a stem plot because of other plots that are in the same text. There are actually two kinds of plots that I need: one is a standard

Re: [Matplotlib-users] Stem 3d

2012-04-18 Thread Benjamin Root
On Wed, Apr 18, 2012 at 3:27 PM, José Alexandre Nalon na...@terra.com.brwrote: Hello, Feel free to add a feature request to github. I know I already have a long list there, but in a few weeks I should be able to hack at them again and that list is what will help me remember what needs to

[Matplotlib-users] Error autoscaling histogram with histtype='step'

2012-04-18 Thread Joshua Lande
I am running into problems where histograms are not autoscaling correctly. I have filed a bug report on github: https://github.com/matplotlib/matplotlib/issues/841 Below is a copy of the github bug report: --- I am running into problems where histograms are not autoscaling correctly. Below is

Re: [Matplotlib-users] dates for x-axis

2012-04-18 Thread questions anon
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 attribute 'datetime' and if I added 'import datetime' at the top of my script it had an error where I loop through combining

Re: [Matplotlib-users] Bug in legend?

2012-04-18 Thread Jae-Joon Lee
Handling alpha can become very tricky with matplotlib. The problem is not specific for legend thing, but how attribute of patches are updated when the update_from method is called. Here is an example. from matplotlib.patches import Patch pa1 = Patch(alpha=None, fc='none', ec='b') pb1 =