[Matplotlib-users] Scattered symbols data

2010-07-19 Thread Clear
Hello, I would like to know if it is possible to display the following feature using matplotlib. Say that you have a 2D plot(x,y) with a lot of data. You plot the data using a 2D solid line. Would be possible to add some circles/squared or whatever to the solid line? When I say some I mean only

[Matplotlib-users] radar_chart in matplotlib doc does not work

2010-07-19 Thread texas_ranger
The source code for radar_chart.py located in the Matplotlib docs at http://matplotlib.sourceforge.net/examples/api/radar_chart.html?highlight=radar%20chart does not work. Seems to be problem with legend. Can someone tell me what's wrong with the source code so I can correct my copy? --

[Matplotlib-users] Double y-axis with the same 0

2010-07-19 Thread Daniele Padula
Hi everybody, I have a problem with a plot. I attach a figure to be easily understandable. As you can see from the figure, I have in the same area a line and a bar plot. The problem is that y=0 for right y axis is different with respect to left y axis one. I want the two y=0 to be the same.

Re: [Matplotlib-users] Scattered symbols data

2010-07-19 Thread João Luís Silva
On 07/15/2010 02:36 PM, Clear wrote: Hello, I would like to know if it is possible to display the following feature using matplotlib. Say that you have a 2D plot(x,y) with a lot of data. You plot the data using a 2D solid line. Would be possible to add some circles/squared or whatever to

Re: [Matplotlib-users] Display the 'full' value on y axis

2010-07-19 Thread Malte Dik
Hi, as you can see here (lotlib.sourceforge.net/api/ticker_api.html), you need to set your formatter to either ScalarFormatter and set it up, so no offset is used or FormatStrFormatter with something like %d. Kind regards, Malte Dik

Re: [Matplotlib-users] Scattered symbols data

2010-07-19 Thread Clear
plt.plot(x,np.sin(x),-s,markevery=N/50) I have tried your option but a message is returned to me which says that markevery is an unknown property. I have included exactly the code you propose. May I guess why I am getting such error? Clear -- View this message in context:

Re: [Matplotlib-users] radar_chart in matplotlib doc does not work

2010-07-19 Thread Benjamin Root
On Thu, Jul 15, 2010 at 2:44 PM, texas_ranger dwba...@gmail.com wrote: The source code for radar_chart.py located in the Matplotlib docs at http://matplotlib.sourceforge.net/examples/api/radar_chart.html?highlight=radar%20chart does not work. Seems to be problem with legend. Can someone

Re: [Matplotlib-users] Scattered symbols data

2010-07-19 Thread João Luís Silva
On 07/19/2010 03:11 PM, Clear wrote: plt.plot(x,np.sin(x),-s,markevery=N/50) I have tried your option but a message is returned to me which says that markevery is an unknown property. I have included exactly the code you propose. May I guess why I am getting such error? Clear Are you

[Matplotlib-users] centering xticks in bar plot

2010-07-19 Thread Bala subramanian
Friends, Attached a script test.py and 2 data files using with which i am trying to make a bar plot. The output is coming nice, but the x-ticks are placed at the left edge of the first bar. I want to make the xticks at the center between the two bars to have a better visualization. I dnt get

Re: [Matplotlib-users] problem with twinx and autofmt_xdate

2010-07-19 Thread Benjamin Root
On Wed, Jul 14, 2010 at 4:54 AM, Robert Hancock r...@agelada.co.uk wrote: Hi I am trying to use autofmt_xdate() on graphs with more than 1 y-axis. But it seems that even calling twinx() causes errors. On python 2.5 matplotlib 0.98 a call to twinx() seems to switch off the functioning of

Re: [Matplotlib-users] Scattered symbols data

2010-07-19 Thread Clear
My MPL version is '0.98.5.2' and my OS is Ubuntu 9.04. I tried again but it is still giving me that error. Weird. João Luís Silva-2 wrote: On 07/19/2010 03:11 PM, Clear wrote: plt.plot(x,np.sin(x),-s,markevery=N/50) I have tried your option but a message is returned to me which says

Re: [Matplotlib-users] centering xticks in bar plot

2010-07-19 Thread Benjamin Root
On Mon, Jul 19, 2010 at 9:55 AM, Bala subramanian bala.biophys...@gmail.com wrote: Friends, Attached a script test.py and 2 data files using with which i am trying to make a bar plot. The output is coming nice, but the x-ticks are placed at the left edge of the first bar. I want to make the

[Matplotlib-users] Axes3D and tricontours.

2010-07-19 Thread Daniel Welling
Greetings, MPL Users. I have been experimenting with Axes3D with the hopes that I could create some 3d lines and then project some contours on different planes in the 3D axes object, much like the contour3d_demo3.py example (but with lines instead of the 3d wireframe.) The catch, however, is

[Matplotlib-users] Installation problem

2010-07-19 Thread Stavros Macrakis
I loaded matplotlib following the instructions in http://matplotlib.sourceforge.net/users/shell.html, including setting up the matplotlibrc file. But the xlabel command hangs. In detail: bash-3.2$ python -i Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32