[Matplotlib-users] weird behaviour in x axis

2010-09-11 Thread freeeeeekk
Im trying to do a very simple x vs y plot. Where the x values range between 3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I plot it using the code below, the resulting plot is shown in the first of the two plots below. Everything goes well except for the x axis, for some re

Re: [Matplotlib-users] Adjusting Image size

2010-09-11 Thread Alan G Isaac
On 9/10/2010 5:27 AM, Nils Wagner wrote: > what is needed to save a figure when the size is given in > pixels, i.e. 1024x772 ? > The default is 800x600 pixels. Did you already get an answer? My understanding is that you set the figure size in *inches*, and then by setting its ``dpi`` you determine

Re: [Matplotlib-users] colorbar questions ...

2010-09-11 Thread Oz Nahum
Hi Everyone again, So, with the weekend comes some time to think and I found an answer to another question of mine. I know now how to remove xticks in colorbar, and I also know how to customize the widths of the lines in the color bar. import matplotlib import numpy as np import matplotlib.cm as

Re: [Matplotlib-users] MacOS X install and ppc flag

2010-09-11 Thread Friedrich Romstedt
2010/9/4 Thomas Robitaille : > export MACOSX_DEPLOYMENT_TARGET=10.6 > export CFLAGS="-arch i386 -arch x86_64" > export CPPFLAGS="-arch i386 -arch x86_64" > export FFLAGS="-arch i386 -arch x86_64" > export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch > x86_64" So you're on 10.

Re: [Matplotlib-users] Installing matplotlib on MacOS X 10.6.4

2010-09-11 Thread Friedrich Romstedt
2010/9/10 Yannis Haralambous : > when I launch the DMG installer > matplotlib-1.0.0-python.org-py2.6-macosx10.4.mpkg > I get an error message, that my volume does not contain "System Python 2.6". > I'm running a standard MacOS X 10.6.4 with python 2.6.1 running from /usr/bin > And I do have Python

Re: [Matplotlib-users] Line plot orientation

2010-09-11 Thread Tony S Yu
On Sep 11, 2010, at 12:00 PM, Radek Machulka wrote: > Hi Folks, > > I am trying to do something similar to > http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_hist.html, > but with a line plots instead of histograms. > My problem is how to set orientation of line plot if there is

[Matplotlib-users] Line plot orientation

2010-09-11 Thread Radek Machulka
Hi Folks, I am trying to do something similar to http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_hist.html, but with a line plots instead of histograms. My problem is how to set orientation of line plot if there is no 'orientation' argument (line axHisty.hist(y, bins=bins, orient