[Matplotlib-users] matplotlib and matlab figures?

2012-01-24 Thread Piter_
Hi all. Hi all. Can I open matlab figure in matplotlib without conversion in any other format? I am 90% sure the answer for my question if not. But I give a 10% lazy hope that it is possible. Thanks -- Keep Your Developer

[Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi all. I want to use Times New Roman font for my pictures. Searching the list I have found this solution: __ pylab.rc('font', family='serif') pylab.rc('font', serif='Times New Roman') pylab.rc('text', usetex='false') .. yl=pylab.ylabel(r'Difference

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi. Thank for the reply. I use debian stable with matplotlib and python from debian repository, emacs python mode. I had a look on the topic here http://old.nabble.com/how-to-use-different-font-for-serif-td32905458.html I don't have any warning messages. Have no clue there to look further :(

Re: [Matplotlib-users] need help with Times New Roman font.

2011-12-07 Thread Piter_
Hi Could you post the version number: my version is '0.99.3' It looks like after deleting fontList.cache file everything works. But I got another question. Why I don't get warnings even if I try font like fadslkhflkjdvhsdlfvfdls. Thanks in advance. Petro

[Matplotlib-users] latex and mathin y x labels?

2011-12-04 Thread Piter_
Hi all. I have tried to add fractions, superscript and some other symbols in axis labels using latex or mathtext. But then they are different to much from other text. Is there any trick to make them look the same? Thanks. Petro.

Re: [Matplotlib-users] please help with arrow drawing.

2011-10-21 Thread Piter_
Thanks. The annotate function works. Does anybody knows a way to add some text above or belove an arrow? Now I do it using text command and coordinates for text. May be it possible to do directly with annotate command? Thanks. Petro.

[Matplotlib-users] please help with arrow drawing.

2011-10-17 Thread Piter_
Hi all I want to draw an two headed arrow between two points. But I get a line. What I am doing wrong? I actually try to plot an image similar to this one: http://upload.wikimedia.org/wikipedia/commons/a/a3/Parameters_of_the_Marcus_Equation.JPG may be I can use an annotate function for this.

[Matplotlib-users] sector colouring?

2010-09-27 Thread Piter_
Hi all. Is it possiblle in matplotlib to draw something like this? http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Integral_example.svg/420px-Integral_example.svg.png Thanks. Petro. -- Start uncovering the many

[Matplotlib-users] Plot a matrix in one command?

2009-10-27 Thread Piter_
Hi all. I have a matrix M: First column is X ans the rest are Ys. Lets say 100 of them (1000 sometimes). So far I can plot it like plot(M(:,1), M(:,2),M(:,1),M(:,3)... and so on and so on) Is there any possibility to do it in matlab way? Like: plot(M(:,1),M(:,2:end)) This is main thing stopping

[Matplotlib-users] Cant load file as an array.

2009-10-27 Thread Piter_
Hi all. I have a problem with loading file of following format: first 1024 rows are tab delimited and contain from 2 to 256 elements (in different files different number of columns) after that 5 empty lines and at the end some 20 text lines for description. I could manage to do it in this way,