Re: [Matplotlib-users] Setting the axis of an imshow plot

2008-11-03 Thread Edin Salkovic
On Mon, Nov 3, 2008 at 9:08 PM, Edin Salkovic <[EMAIL PROTECTED]> wrote: > On Mon, Nov 3, 2008 at 8:23 PM, Edin Salkovic <[EMAIL PROTECTED]> wrote: >> Am I missing something obvious? > > xticklabels/yticklabels did the job. > > Sorry for the noise. Actually, with

Re: [Matplotlib-users] Setting the axis of an imshow plot

2008-11-03 Thread Edin Salkovic
On Mon, Nov 3, 2008 at 10:47 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Try the extent kwarg for imshow: > > *extent*: [ None | scalars (left, right, bottom, top) ] >Eata values of the axes. The default assigns zero-based row, >column indices to the *x*, *y* centers of the pixe

[Matplotlib-users] Problems with building from source on windows with MinGW

2006-12-23 Thread Edin Salkovic
Hi, I'm having problems with building mpl from SVN on WinXP, Python 2.5, latest numpy. I'm using MinGW from the enthought edition. I remember building it without problems just few weeks ago. The build process finishes without error. Then, when I try: from pylab import * it crashes import ma

Re: [Matplotlib-users] Problems with building from source on windows with MinGW

2006-12-26 Thread Edin Salkovic
On 12/26/06, John Hunter <[EMAIL PROTECTED]> wrote: > Did you rm -rf your build dir (and sometimes site-packages/matplotlib) > before rebuilding. This is usually the cause of such crashes. Yes I have. I even reinstalled windows (not related to matplotlib :), and I had the same problems. I'll ex

Re: [Matplotlib-users] Native file format

2007-02-07 Thread Edin Salkovic
On 2/4/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Jan Strube wrote: > > Hi List, > > is there a way to store matplotlib figures in something like a native > > file format? > > I am thinking of something that keeps track of all the objects > > (patches(?)) in a mpl figure, so that later you could

Re: [Matplotlib-users] newbie: easy question (I hope)

2007-02-16 Thread Edin Salkovic
On 2/16/07, Chiara Caronna <[EMAIL PROTECTED]> wrote: > Hello, > I would like to plot some data while the interpreter continues > calculating... > if I just write > plot(x,y) > show() > > Then the code stops until I close the window... how should I do? > Thanks in advance > Chiara Hi Chiara, Try

Re: [Matplotlib-users] Documentation for 0.90

2007-02-20 Thread Edin Salkovic
Hi Damian, For the users_guide.tex see: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/users_guide/users_guide.tex?view=log You can checkout the SVN dir where the users guide is located at: https://svn.sourceforge.net/svnroot/matplotlib/trunk/users_guide Best, Edin On 2/20/07, D

Re: [Matplotlib-users] matplotlib, math greek letters and latex

2007-03-13 Thread Edin Salkovic
Hi Antonino, If your using the version 0.90 (or SVN) of matplotlib you can also use mathtext2. To enable it, put these lines in your matplotlibrc file: mathtext.mathtext2 : True mathtext.nonascii : FreeSerif.ttf # Or any unicode font or, you can set it for your particular script: rcParams['math

Re: [Matplotlib-users] Default Reply-to-sender

2007-03-26 Thread Edin Salkovic
On 3/24/07, Bill Baxter <[EMAIL PROTECTED]> wrote: > Did you guys make a conscious decision to have the matplotlib list > send replies only to the sender of the message rather than the list? > > This seems to be the default at SourceForge, so it's conceivable you > just haven't bothered to change i

[Matplotlib-users] A site using matplotlib

2007-03-26 Thread Edin Salkovic
I don't now if it's appropriate to post this here, but there's a new Python/Pylons powered website that uses matplotlib. Think of it as a success story for mpl: http://www.marketshares.com.au I'm not affiliated in any way with the site owner/creator. Best, Edin

Re: [Matplotlib-users] problems building/installing

2007-04-04 Thread Edin Salkovic
On 4/4/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote: > 2. How do I install an EGG file? For detailed instructions about eggs see: http://peak.telecommunity.com/DevCenter/EasyInstall Quick instructions: Download: http://peak.telecommunity.com/dist/ez_setup.py and run it. then run easy_install m

Re: [Matplotlib-users] mathtext.mathtext2 KeyError

2007-06-27 Thread Edin Salkovic
Hi Steve, On 6/27/07, Steve Sweet <[EMAIL PROTECTED]> wrote: > Hi, > > I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is > identical to RedHat Enterprise). One of my users is running a script > that previously worked with matplotlib on another system. I'm seeing > the following err

Re: [Matplotlib-users] Problems installing matplotlib

2007-06-28 Thread Edin Salkovic
Hi Alexander, On 6/28/07, Alexander Dietz <[EMAIL PROTECTED]> wrote: > Hi, > > I have problems installing matplotlib 0.90.1. An error occurs when doing > "python setup.py build": > > /usr/include/features.h:150:1: warning: this is the location of the previous > definition > src/_ns_backend_agg.cpp

Re: [Matplotlib-users] Trouble with recent mpl

2007-07-05 Thread Edin Salkovic
Hi Nils, It seems there's a problem with some of the text instances (label, title etc.) that have TeX expressions in them. You can also attach the problematic script (or part of it) here. Best, Edin On 7/5/07, Nils Wagner <[EMAIL PROTECTED]> wrote: > Hi all, > > I rerun a program which I have

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-06 Thread Edin Salkovic
Hi kaushik, On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote: > Hi, > > When I do > > m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg') Shouldn't that be: r'$\sum_{n=1}^{100}$' # i.e. a "raw" string. or: '$\\sum_{n=1}^{100}$' # Escaped backslash Does this help? Cheers,

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-06 Thread Edin Salkovic
On 7/6/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote: > Hi Edin, > > Edin Salkovic wrote: > >> > >> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg') > > > > Shouldn't that be: > > r'$\sum_

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-10 Thread Edin Salkovic
On 7/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > On 7/6/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote: > > Hi Edin, (...) > > Actually the original string renders as desired. Its the svg save that > > causes the problem. > > > > I gather this is d

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-10 Thread Edin Salkovic
On 7/10/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote: > Thanks Edin! Yes, that worked! You're welcome! > There is still an issue with sub/super > scripts though. They are inverted i.e. superscripts become subscripts. > I'm attaching an example, created using > > m.text(0 ,0 ,'$\sum_{n=1}^{100} = 9

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-10 Thread Edin Salkovic
On 7/10/07, Kaushik Ghose <[EMAIL PROTECTED]> wrote: > Hi Edin, > Good point. I tried just now on Firefox and got the same error. > For an image of what I mean see this > http://python-pieces.blogspot.com/2007/07/latex-and-svg-export.html > > > I'm attaching the svg output here in case someone want

Re: [Matplotlib-users] Latex equations and SVG export

2007-07-11 Thread Edin Salkovic
On 7/10/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > On 7/10/07, John Hunter <[EMAIL PROTECTED]> wrote: > > Hey Edin, if you get a minute, could you contribute a patch against > > the faq in htdocs/faq.html.template explaining how to install the > > bakom

[Matplotlib-users] Problem with SVN checkout

2006-10-02 Thread Edin Salkovic
I don't know if this is really a problem. I sometimes do a matplotlib SVN co from the Windows half :) of my laptop (I have a dial-up connection and a winmodem without linux drivers) and then reboot to linux in order to build the source. Then I get an error due to __init__.py having windows line en

Re: [Matplotlib-users] How to write a 2D list into a file?

2006-10-10 Thread Edin Salkovic
On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I mean in the original data format, without any characters like "[]," > Thanks > > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's