[Matplotlib-users] TypeError: coercing to Unicode: need string or buffer, dict found

2012-05-23 Thread Waléria Antunes David
Hi, Anyone know how to solve this error? Exception Type: TypeError Exception Value: coercing to Unicode: need string or buffer, dict found Can you help me?? See mycode: http://dpaste.com/751460/ And see my Traceback: http://dpaste.com/750773/ Thanks,

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 72, Issue 25

2012-05-23 Thread Waléria Antunes David
Hi Mike, About this question: TypeError: coercing to Unicode: need string or buffer, dict found The version of matplotlib that i'm using is matplotlib-0.99.1-py2.6 And how do I remove the font cache in ~ / .matplotlib / fontList.cache My Operating System is Windows. Thanks, On Wed, May 23,

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
See this pdf attachedthe yscale has these values: 1, 10, 100, 1000 I need this. My code: http://pastebin.com/HKCGQWez Can you help me, please?? Thanks, On Mon, Feb 21, 2011 at 4:41 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Feb 21, 2011 at 1:32 PM, Waléria Antunes David

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
you how I did it). M On 2/22/11 7:47 AM, Waléria Antunes David wrote: I tried what Ben said: ax.set_ylim(bottom=1) ..., but changed nothing. See my code: http://pastebin.com/Jt3BTp0C (line 14) See my image generated - attached. thanks, On Tue, Feb 22, 2011 at 9:37 AM, Mike Kaufman mck

Re: [Matplotlib-users] xscale and yscale

2011-02-22 Thread Waléria Antunes David
provide a stripped example which runs standalone? As a general rule you should set limits at the very end of the plotting code in order to prevent them from being superseded by another command! Thanks, Daniel 2011/2/22 Waléria Antunes David waleriantu...@gmail.com: I tried what Ben said

[Matplotlib-users] Errorbar plot

2011-02-22 Thread Waléria Antunes David
Hi all, I have this line about errorbar plot, but i need a errorbar this: http://img14.imageshack.us/i/exampled.jpg/ (in blue) My line about errorbar: plt.errorbar(x, y, yerr=e, capsize=6, elinewidth=2, marker='_', linestyle='', markeredgecolor='r',color='r', label='Pontos') Can you help me?

[Matplotlib-users] errorbar plot

2011-02-22 Thread Waléria Antunes David
Hi all, I have this line about errorbar plot, but i need a errorbar this: http://img14.imageshack.us/i/exampled.jpg/ (in blue) My line about errorbar: plt.errorbar(x, y, yerr=e, capsize=6, elinewidth=2, marker='_', linestyle='', markeredgecolor='r',color='r', label='Pontos') Can you help me?

Re: [Matplotlib-users] Errorbar plot

2011-02-22 Thread Waléria Antunes David
Hi Daniel, Yes, i tried import errorbari did this: import matplotlib.errobar , but occurred an error: Exception Type: ImportError Exception Value: No module named errobar Thanks, On Tue, Feb 22, 2011 at 3:59 PM, matplotlib-users-requ...@lists.sourceforge.net wrote: Send

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
, 2011 at 10:23 AM, Waléria Antunes David waleriantu...@gmail.com wrote: See my code: http://pastebin.com/xtgKteuW I need that tn the x-axis should have a scale like this: 0 - 2 - 4 - 6 - 8 - 10 - 12 - 14 and in the y-axis a scale: 1 - 10 - 100 -1000 . See my images, the image correct_graph

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 57, Issue 60

2011-02-21 Thread Waléria Antunes David
I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you help me, please. Thanks, On Mon, Feb 21, 2011 at 1:51 PM, matplotlib-users-requ...@lists.sourceforge.net wrote: Send Matplotlib-users mailing list submissions to matplotlib-users@lists.sourceforge.net To

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you help me, please. Thanks, On Mon, Feb 21, 2011 at 1:51 PM, Waléria Antunes David waleriantu...@gmail.com wrote: So...now my xscale is correct but the yscale ...i need that in the yscale should have a scale like

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I don't know how to do this. Can you help me? On Mon, Feb 21, 2011 at 3:32 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Feb 21, 2011 at 12:24 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I need the yscale so: 1 - 10 - 100 - 1000 . See my image attached. Can you help me

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
I don't understand...i need that the yscale has these values: 1,10,100,1000 But i don't know how... Thanks, On Mon, Feb 21, 2011 at 3:58 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Feb 21, 2011 at 12:54 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I did what you sai

Re: [Matplotlib-users] xscale and yscale

2011-02-21 Thread Waléria Antunes David
Can you help me...please. On Mon, Feb 21, 2011 at 4:02 PM, Waléria Antunes David waleriantu...@gmail.com wrote: I don't understand...i need that the yscale has these values: 1,10,100,1000 But i don't know how... Thanks, On Mon, Feb 21, 2011 at 3:58 PM, Benjamin Root ben.r...@ou.edu

Re: [Matplotlib-users] Help in graph

2010-10-19 Thread Waléria Antunes David
, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I have a graph. I plotted using python, matplotlib. And i have an example. I need to let the x-axis of my graph, and how do I change plt.ylabel ('Y', size = 10) as the example. Example: In my graph, the x-axis this way: 0.0

[Matplotlib-users] Equation

2010-10-13 Thread Waléria Antunes David
Hi all, I know here is a group for matplotlib, but can anyone help me? I need to pass this integral equation for for scipy.integrate pack for python. My integral equation is attached. Can anyone help me? Thanks Waleria. attachment:

Re: [Matplotlib-users] Graph

2010-10-08 Thread Waléria Antunes David
?? Thanks, Waleria. On Thu, Oct 7, 2010 at 5:06 PM, Tony S Yu tsy...@gmail.com wrote: On Oct 7, 2010, at 3:38 PM, Waléria Antunes David wrote: Hi, I did like the links below, but seeing as it was my chart. See My code: http://pastebin.com/KcjHAPLN On Thu, Oct 7, 2010 at 3:08 PM, John Hunter

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
: On Wed, Oct 6, 2010 at 2:36 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I used the 'ax.set_xscale (' log ')', but the points were even more confused. What I need is to increase from 0.0 to 0.2 points, 0.2 to 0.4 ... increase the size of the graph. However I do not know

Re: [Matplotlib-users] Graph

2010-10-07 Thread Waléria Antunes David
Root ben.r...@ou.edu wrote: On Wed, Oct 6, 2010 at 2:36 PM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I used the 'ax.set_xscale (' log ')', but the points were even more confused. What I need is to increase from 0.0 to 0.2 points, 0.2 to 0.4 ... increase the size

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) but the error continue: http://pastebin.com/UwgKS3s5 Thanks, Waleria. On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root ben.r...@ou.edu wrote: On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David waleriantu

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, You were right, the error was being cause because this '^' .. problem solved. Thank you very much On Tue, Oct 5, 2010 at 11:38 AM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Benjamin, I tried

[Matplotlib-users] ERROR

2010-10-04 Thread Waléria Antunes David
Hi all, My problem is this error: http://pastebin.com/bfu29WuFhttp://pastebin.com/ZPzdC5c8 my code: http://pastebin.com/KzwEmucN What could be? Thanks Waleria -- Virtualization is moving to the mainstream and

[Matplotlib-users] Error

2010-09-15 Thread Waléria Antunes David
Hi, My problem is that: http://pastebin.com/ZPzdC5c8 but on my code: http://pastebin.com/Rgbm2Fgd I include the *use* command as a firstline what could be? Thanks Waleria -- Start uncovering the many advantages of

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 79

2010-07-29 Thread Waléria Antunes David
On Thu, Jul 29, 2010 at 8:45 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi I made the changes as bellow and it displays the x-axis values formatted as expected, see my current image and my code. But, now i need to change the scale and the numbers of decimal places in order

[Matplotlib-users] hz to khz

2010-07-28 Thread Waléria Antunes David
Hello all, Well, my problem is ... My current code is as follow bellow: http://pastebin.com/7p2N5d64 and generates following image, the x-axis of the graph shows values em Hz, values that range from 3000 to 3400, my image is attached. But, i need the x-axis values is displayed in Khz, ranging

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 37

2010-07-26 Thread Waléria Antunes David
Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help me? On Thu, Jul 15, 2010 at 10:48 AM,

[Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help me?

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
Antunes David waleriantu...@gmail.com: Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help me

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
snippet would help us get you on the right track. -p *From:* Waléria Antunes David [mailto:waleriantu...@gmail.com] *Sent:* Monday, July 26, 2010 9:32 AM *To:* Matthieu Brucher *Cc:* matplotlib-users@lists.sourceforge.net *Subject:* Re: [Matplotlib-users] Hz to KHz I know...I tried but I'm

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
i don't understand.. On Mon, Jul 26, 2010 at 1:57 PM, Angus McMorland amcm...@gmail.com wrote: On 26 July 2010 12:47, Waléria Antunes David waleriantu...@gmail.com wrote: My code like this in django: http://pastebin.com/nzM5jvuc Are you perhaps suffering from integer division? How about

Re: [Matplotlib-users] Hz to KHz

2010-07-26 Thread Waléria Antunes David
very strictly. Hence: In [1]: 20/1000 Out[1]: 0 In [2]: 20.0/1000.0 Out[2]: 0.02 See the difference? -paul *From:* Waléria Antunes David [mailto:waleriantu...@gmail.com] *Sent:* Monday, July 26, 2010 10:01 AM *To:* Angus McMorland *Cc:* matplotlib-users@lists.sourceforge.net

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 37

2010-07-21 Thread Waléria Antunes David
Hello... I'm trying to use this to format the numbers (3000,3400) of the x axis, however when i do in the ILDE Python it's work.but if i do using Django as bellow the image doesn't appearlook IDLE Python: http://pastebin.com/q7FnHhPw Using Django: http://pastebin.com/GrcMP9iA Help

Re: [Matplotlib-users] scientific notation

2010-07-16 Thread Waléria Antunes David
Hi... I tried the first option, but failed see my image attached And the second option, i don't understand the variable 'val' ...? On Thu, Jul 15, 2010 at 3:22 PM, Ryan May rma...@gmail.com wrote: On Thu, Jul 15, 2010 at 8:41 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi

Re: [Matplotlib-users] scientific notation

2010-07-16 Thread Waléria Antunes David
I forgot of the my image. On Fri, Jul 16, 2010 at 9:10 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi... I tried the first option, but failed see my image attached And the second option, i don't understand the variable 'val' ...? On Thu, Jul 15, 2010 at 3:22 PM, Ryan

[Matplotlib-users] scientific notation

2010-07-15 Thread Waléria Antunes David
Hi all, I have a code base so that: from pylab import * x = arange (3000,3400) y = -108 * (3.0e14 ** 2)/x**2 pylab..title(Teste) pylab.savefig(imagem.png) plot(x, y) Well the values of the function range(3000,3400) are in Hz..i need to pass GHz which would be in scientific notation

Re: [Matplotlib-users] scientific notation

2010-07-15 Thread Waléria Antunes David
But, i don't know how do... I tried, but don't, most failed On Thu, Jul 15, 2010 at 11:25 AM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jul 15, 2010 at 8:41 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi all, I have a code base so that: from pylab import * x

Re: [Matplotlib-users] Question?

2010-06-09 Thread Waléria Antunes David
brazilian and i'm studying english and it is not very good.. On Wed, Jun 9, 2010 at 10:12 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hello... Benjamin, I made a correction in my functions, i added parentheses for the denominator in the functions, saw the images