[Matplotlib-users] cannot import name cbook

2011-03-30 Thread Samuel Teixeira Santos
why? anyone knows?

TemplateSyntaxError at /accounts/profile/

Caught ViewDoesNotExist while rendering: Could not import
irrigaweb.pedotrans.views. Error was: cannot import name cbook

Request Method:GETRequest URL:
http://hirrigaweb.cpac.embrapa.br/accounts/profile/Django
Version:1.2.5Exception
Type:TemplateSyntaxErrorException Value:

Caught ViewDoesNotExist while rendering: Could not import
irrigaweb.pedotrans.views. Error was: cannot import name cbook

Exception 
Location:/opt/python27/lib/python2.7/site-packages/django/core/urlresolvers.py
in _get_callback, line 132Python Executable:/usr/bin/pythonPython Version:
2.7.1Python 
Path:['/opt/python27/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/opt/python27/lib/python2.7/site-packages/python_ldap-2.3.13-py2.7-linux-i686.egg',
'/opt/python27/lib/python2.7/site-packages/lxml-2.3-py2.7-linux-i686.egg',
'/opt/python27/lib/python2.7/site-packages/sorl_thumbnail-10.12.1-py2.7.egg',
'/opt/python27/lib/python2.7/site-packages/stripogram-1.5-py2.7.egg',
'/opt/python27/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-linux-i686.egg',
'/opt/python27/lib/python2.7/site-packages/urwid-0.9.9.1-py2.7-linux-i686.egg',
'/opt/python27/lib/python27.zip', '/opt/python27/lib/python2.7',
'/opt/python27/lib/python2.7/plat-linux2',
'/opt/python27/lib/python2.7/lib-tk', '/opt/python27/lib/python2.7/lib-old',
'/opt/python27/lib/python2.7/lib-dynload',
'/opt/python27/lib/python2.7/site-packages',
'/opt/python27/lib/python2.7/site-packages/PIL', '/var/www/cpac',
'/var/www/cpac']Server time:Qua, 30 Mar 2011 12:17:38 -0500
Template error

In template /var/www/cpac/irrigaweb/templates/cpac/base.html, error at line
*46*
Caught ViewDoesNotExist while rendering: Could not import
irrigaweb.pedotrans.views. Error was: cannot import name cbook36 /td
37td width=45% class=copyright bUsuário: /b{{ usuarioAdmin
}}/td
38 td width=45% class=copyright bEntrada: /b{{ data }}/td 39/tr
40 tr 41 td class=copyright bPerfil: /b{{ lotacaoCurriculo }}/td
42 td class=copyright spanbIP de acesso: /b{{ ip_addr_rem
}}/span/td 43 /tr 44 td colspan=2  45 div align=center 46 a
href=/ img src=/publico/imagens/btInicio.jpg alt=Menu //aa
href={%url auth_logout%}?next=/img src=/publico/imagens/btSair.jpg
alt=Sair //a 47 /div 48 /td 49 /tr 50 /table/td 51
/tr 52/table
53 /div 54/div
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] hz to khz

2010-07-28 Thread Samuel Teixeira Santos
I think her problem is something like that

His values on X Axis is a range between 3000 to 3400

without this division by 1000.0 his graphic processing normally

but instead on X axis to show the range between 3000 to 3400
she needs to show this values transform in Hz (I think) that's why the
division by 1000.0

only problem when this division occur
the values o X axis became 3.0 to 3.4
and that's what she's send to plot

she should send the original values (3000 to 3400) and some how change the X
values that appear on X axis by another way

because the way it's goes, plot function receive a little range on X axis to
plot a graphic
incompatible to Y axis values, that are passing on Sseries variable

that's why she's graphics not show after that division
and appear when the division is remove from the code.

so... she question should be something like

I send to plot on X axis values between 3000 to 3400
but on X axis they must appear as 3.0 to 3.4

how can I change the values on X axis
without change the real X axis values I send...

... did I help...? I hope so...

see ya all




2010/7/28 Benjamin Root ben.r...@ou.edu

 On Wed, Jul 28, 2010 at 2:39 PM, Angus McMorland amcm...@gmail.comwrote:

 On 28 July 2010 15:25, Waléria Antunes David waleriantu...@gmail.com
 wrote:
  Hello all,
 
  Well, my problem is ... My current code is as follow bellow:
  http://pastebin.com/7p2N5d64

 Hi Waléria,

 We can't easily fix your problem without knowing what data f and
 Sserie contain. It would help us to help you if you could post a
 standalone example that shows your problem without relying on external
 data.

 Angus.
 --
 AJC McMorland
 Post-doctoral research fellow
 Neurobiology, University of Pittsburgh


 Angus is correct that providing a stand-alone version of the script that
 replicates your problem would be most useful.  I would like to mention a
 couple of possible improvements to your code.  These improvements may or may
 not fix your issue, but they will improve your current code.

 1) Use list comprehensions

 Change

 y=[]
 for n in f:
 y.append(n/Decimal(1000))
 y = numpy.array(y)

 into:

 y = numpy.array(f) / 1000.0

 Also,

 ax.grid('TRUE')

 should be:

  ax.grid(True)

 I hope this helps.  If not, then please send a stand-alone example that
 duplicates the problem you are having.
 Ben Root



 --
 The Palm PDK Hot Apps Program offers developers who use the
 Plug-In Development Kit to bring their C/C++ apps to Palm for a share
 of $1 Million in cash or HP Products. Visit us here for more details:
 http://p.sf.net/sfu/dev2dev-palm
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] remove matplotlib

2010-07-07 Thread Samuel Teixeira Santos
Hi all

on my server (ubuntu 8.04 lts)
I installed matplotlib

and was that kind of installation who compile various files with gcc,
gfortran and so on

now I wanna remove them
to install the new version...

could anyone help me with this? because I don't wann to do something who
could be bad to the server...

thanks in advanced...
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.99.3

2010-06-01 Thread Samuel Teixeira Santos
I just want confirm because I new here

on my server I have this scpy 0.7.2, numpy 1.4.1, matplotlib 0.99.1.1.

may I keep that?

thanks

2010/6/1 John Hunter jdh2...@gmail.com

 On Tue, Jun 1, 2010 at 8:34 AM, Alan G Isaac alan.is...@gmail.com wrote:
  On 6/1/2010 9:06 AM, John Hunter wrote:

  For the binaries, what is the recommended NumPy version?
  I assume the current release (1.4.1)?

 Are you on windows?  The windows binaries are build against numpy
 1.3.0 so any and numpy since then should be good since they are
 forward but not backward compatible.  At lease that is my
 understanding.  The OSX binaries are built against numpy 1.2.1 so any
 numpy after than should work.


  (Also wondering, not that it's any of my business, whether the
  current refactoring project for NumPy has implications for the
  upcoming MPL 1.0 relase.)

 Are you referring to the refactoring to try and make numpy more
 accessible as a C library?   That has no implications for 1.0, since
 we are hoping to get that out soon and the numpy project is
 multi-month at least.  In any case, mpl 1.0 should be able to be
 compiled against all the recent numpys in the wild.

  PS Btw, it gets said often but once more won't hurt:
  Matplotlib is wonderful!

 Thanks!  Jae-Joon Lee, Michael Droettboom, Ryan May, and Eric Firing
 have been doing the heavy lifting on the regular development work, and
 we continue to see lots of fantastic contributions from users.  I'm
 just trying to keep up :-)  There is really a lot of fantastic stuff
 in the upcoming 1.0 so I look forward to getting that out soon.


 JDH


 --

 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--

___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] ANN: matplotlib-0.99.3

2010-06-01 Thread Samuel Teixeira Santos
I will prefer update it very soon

thanks for the response


2010/6/1 John Hunter jdh2...@gmail.com

 On Tue, Jun 1, 2010 at 9:09 AM, Samuel Teixeira Santos
 arcano...@gmail.com wrote:
  I just want confirm because I new here
 
  on my server I have this scpy 0.7.2, numpy 1.4.1, matplotlib 0.99.1.1.

 You can, but I recommend upgrading mpl to 0.99.3 or setting
 'path.simplify : False' in your matplotlibrc because there is a
 serious bug in the path simplification algorithm in 0.99.1 that was
 fixed in 0.99.3.  You can work around the bug by turning off
 path.simplify or you can upgrade your mpl.

 path.simplify is an rc parameter which can be customized according the
 instructions at
 http://matplotlib.sourceforge.net/users/customizing.html


 JDH

--

___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] overflow...

2010-04-19 Thread Samuel Teixeira Santos
anyone could give me a hint about?



2010/4/16 Samuel Teixeira Santos arcano...@gmail.com

 Hi all...

 my code is that: http://dpaste.com/184551/

 the problem is that code is using on an web app.

 When I request the graph after press submit button
 they generate the graph perfect

 I do that for 6, 7 times with the same value to generate the graph
 so after that the graph breaks, like if exceed the values to generate the
 graph
 and became a single line...


 what I have to do to fix that?


 thanks in advanced...


 Samuel

 p.s.: I note if I restart the application (like go to home of my web app
 and restart the process to call the form to fill data and request the graph,
 they fix, but when I request again with the form already filled before, they
 break the graph on second request...

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] overflow...

2010-04-16 Thread Samuel Teixeira Santos
Hi all...

my code is that: http://dpaste.com/184551/

the problem is that code is using on an web app.

When I request the graph after press submit button
they generate the graph perfect

I do that for 6, 7 times with the same value to generate the graph
so after that the graph breaks, like if exceed the values to generate the
graph
and became a single line...


what I have to do to fix that?


thanks in advanced...


Samuel

p.s.: I note if I restart the application (like go to home of my web app and
restart the process to call the form to fill data and request the graph,
they fix, but when I request again with the form already filled before, they
break the graph on second request...
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib 0.6.0 - xscale('x') alternative

2010-04-14 Thread Samuel Teixeira Santos
Hi guys and girls :D

I have a problem with my ubuntu server that it is 8.4 version, and that
version only bring matplotlib package 0.6.0 version.

so I have to modify my code to this version

but one thing I can't: the xscale('log') - wich make the graphics in
logaritimic scale of base 10.

how I do that on matplotlib 0.6.0?

or can anyone give me a link for this reference?

thanks in advanced

see ya


Samuel
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] savefig 0.91

2010-03-16 Thread Samuel Teixeira Santos
Hi folks

I'm using ubuntu 8.04 lts and matplotlib 0.91

I cannot upgrade in this moment.

On my app (for web) I fix several errors (because I did her in 0.99)

My last error (I think it is) is on savefig

It tells me that cannot open file

on log error, appears on write_png method.

Is this permission on directory? or a bug?


thanks in advanced
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] savefig 0.91

2010-03-16 Thread Samuel Teixeira Santos
I fix it.

It was a dumb error

I using '\' on windows
and on ubuntu-linux I must use '/'...

sorry...
and thanks

2010/3/16 Michael Droettboom md...@stsci.edu

 Can you please post the entire traceback?

 Mike

 Samuel Teixeira Santos wrote:

 Hi folks

 I'm using ubuntu 8.04 lts and matplotlib 0.91

 I cannot upgrade in this moment.

 On my app (for web) I fix several errors (because I did her in 0.99)

 My last error (I think it is) is on savefig

 It tells me that cannot open file

 on log error, appears on write_png method.

 Is this permission on directory? or a bug?


 thanks in advanced
 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 

 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users



 --
 Michael Droettboom
 Science Software Branch
 Operations and Engineering Division
 Space Telescope Science Institute
 Operated by AURA for NASA


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] installling on ubuntu

2010-03-15 Thread Samuel Teixeira Santos
Hi all...

On this afternoon I installed on my ubuntu 8.04 server the python-matplotlib
package and his dependencies.

but If I pay attention right that package installed matplotlib 0.91

on my local desktop wich run windows, I installed the last version...

Anyone knows how do I de-install only matplotlib pack, let only the
dependancies
and install the most recent version?



thanks in advanced...


Samuel
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] reset graphic

2010-02-24 Thread Samuel Teixeira Santos
Hi all

Days ago I ask for tips about to improvemente my code on
http://dpaste.com/161149/

Today, it's work ok on my web app.

I fill it a form and when press submit I generate the graphic.

But, I fill it the form again and press submit again, it will generate a
second graphic
instead of reset the previous and created a new one.

so... What I need to restart my plot for not print new graphics with the
previous one or on them?

well. thanks in advanced all


Samuel
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] reset graphic

2010-02-24 Thread Samuel Teixeira Santos
I found a solutiont. sharing with everyone...

http://stackoverflow.com/questions/1874642/how-to-use-matplotlib-in-django

see ya

2010/2/24 Samuel Teixeira Santos arcano...@gmail.com

 Hi all

 Days ago I ask for tips about to improvemente my code on
 http://dpaste.com/161149/

 Today, it's work ok on my web app.

 I fill it a form and when press submit I generate the graphic.

 But, I fill it the form again and press submit again, it will generate a
 second graphic
 instead of reset the previous and created a new one.

 so... What I need to restart my plot for not print new graphics with the
 previous one or on them?

 well. thanks in advanced all


 Samuel

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] label not print theta symbol

2010-02-22 Thread Samuel Teixeira Santos
thanks both!
very nice LaTeX

2010/2/22 Darren Dale dsdal...@gmail.com

 On Mon, Feb 22, 2010 at 8:36 AM, Philipp Bender li...@rootiniert.de
 wrote:
  Hi,
 
  How do I print as label of an axis the Theta symbol - θ?
 
  you can take a look in the docs, there are examples how to use LaTeX for
 the
  labels. You get the letter in LaTeX with \theta or \Theta.

 But be sure to either use raw strings or escape properly: r\theta or
 \\theta


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] finish. now improvement - help

2010-02-19 Thread Samuel Teixeira Santos
anyone? please?


Samuel

2010/2/18 Samuel Teixeira Santos arcano...@gmail.com

 Hi all.

 I finish my test code to learn the basics of matplotlib.

 Here my simplest code: http://dpaste.com/161149/

 Now what I ask is for suggestions about turn this in better code

 Because in some sites that teach using matplotlib, using some functions
 like add a supblot etc
 and I don't know if this way I did is the better, but it was the simplest I
 got it.

 So... please make suggestions what interest to do for this code be faster
 and better
 Any type!

 And one question: There is a way to do in each point I draw relative to the
 'second' graph (x2,y2)
 to put a specific legend?

 in attach i put a comparative figure between the equivalente graph in excel

 thanks for all in advanced

 see ya


 Samuel

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib axis define

2010-02-11 Thread Samuel Teixeira Santos
Hi all

I'm noob on matplotlib on python

and I need to do excel graphic like (model.jpg) that I send attached.

I send it too my test code for that

My problem is to set the values on y and x axis

how I do it?

thanks in advanced
# -*- coding: utf-8 -*-
from decimal import Decimal

y=[Decimal('0.3041997084285048793446312110'), 
Decimal('0.3041811120982812429734672735'), 
Decimal('0.3041586008929715390350375366'), 
Decimal('0.3041326478700651884918449742'), 
Decimal('0.3041035792459110687414956042'), 
Decimal('0.3040716389305317969883516979'), 
Decimal('0.3040370190056943726355391828'), 
Decimal('0.3039998763354236109640693846'), 
Decimal('0.3039603425231051434729103751'), 
Decimal('0.3039185303035350714640090501'), 
Decimal('0.3038745378649594754802712117'), 
Decimal('0.3038284518931050349228492634'), 
Decimal('0.3037303013157358388145146537'), 
Decimal('0.3036783698876388202495693043'), 
Decimal('0.3036246135388058002644503367'), 
Decimal('0.3035690857187649546055776374'), 
Decimal('0.3035118359225733232985072989'), 
Decimal('0.3034529102064387430820630960'), 
Decimal('0.3027798308296002483823593898'), 
Decimal('0.3019747799126658047321072371'), 
Decimal('0.3010595626751769086882851904'), 
Decimal('0.3000504843910340202763428443'), 
Decimal('0.2989606698104426040434113406'), 
Decimal('0.2978011455914110301509835818'), 
Decimal('0.2965814242208845926010044833'), 
Decimal('0.2953098521515828700938805931'), 
Decimal('0.2939938339016535952485540052'), 
Decimal('0.2926399857027685846714651451'), 
Decimal('0.2912542467050261664773915582'), 
Decimal('0.2898419633541847137900856664'), 
Decimal('0.288407956091484767905372'), 
Decimal('0.2869565739529259676416421710'), 
Decimal('0.2854917405773616724446679145'), 
Decimal('0.2840169938920561838932972437'), 
Decimal('0.2825355209776950316856977412'), 
Decimal('0.2810501891298752300565699492'), 
Decimal('0.2530398800717247021535893133'), 
Decimal('0.2309593282901911270323471566'), 
Decimal('0.2142248288114558358413671724'), 
Decimal('0.2013198591032495347111055987'), 
Decimal('0.1911048080932635279916693404'), 
Decimal('0.1828168101439619902156148570'), 
Decimal('0.1759472033051957360143949273'), 
Decimal('0.1701494956228995244136332946'), 
Decimal('0.1651812738049817427569102300'), 
Decimal('0.1480327912592802041987336541'), 
Decimal('0.1377158741268375390344888336'), 
Decimal('0.1306910617724526170054856744'), 
Decimal('0.1255330889933308327695803461'), 
Decimal('0.1215487905337388255028562821'), 
Decimal('0.1183569033660768681595931242'), 
Decimal('0.1157287111457510779727799369'), 
Decimal('0.1135178566558123755075563813'), 
Decimal('0.1116258850568561542189771708'), 
Decimal('0.1099838725178337221454044654'), 
Decimal('0.1085419726700384590105347580'), 
Decimal('0.1072631467404932434072879819'), 
Decimal('0.1061192356086297651474504552'), 
Decimal('0.1050884072158080865363934958'), 
Decimal('0.1043334716140861254810893687'), 
Decimal('0.1033005693930824423996036004'), 
Decimal('0.1025186055369403393962066223'), 
Decimal('0.1017983854707960971280910413'), 
Decimal('0.09940010650120277239400512213'), 
Decimal('0.09755584274949988113748876745'), 
Decimal('0.09608280592970019748916863039'), 
Decimal('0.09487248638771297021511871199'), 
Decimal('0.09385595137090260551637864016'), 
Decimal('0.09298707461257284768573005693'), 
Decimal('0.09223369403246902869720064622'), 
Decimal('0.09157262184937054787957562771'), 
Decimal('0.09098667068685246134841009967'), 
Decimal('0.09046279979357594355255331919'), 
Decimal('0.08999091520111926307741922487'), 
Decimal('0.08956306789557021895282081016'), 
Decimal('0.08917290300510101286609973635'), 
Decimal('0.08881527223605659165755623012'), 
Decimal('0.08839214273205423057465385692'), 
Decimal('0.08818145632861301828547916695'), 
Decimal('0.08789885141864609564589281926'), 
Decimal('0.08763567457015281090584469616'), 
Decimal('0.08738982949516953082784067755'), 
Decimal('0.08715952155240858367614678101'), 
Decimal('0.08694320432541564991702617169'), 
Decimal('0.08673953730326870462655463881'), 
Decimal('0.08654735203979727709035602654'), 
Decimal('0.08636562485710431638877620200'), 
Decimal('0.08619345465056452099941506608'), 
Decimal('0.08603004470711568574821284350'), 
Decimal('0.08587468770771509864601566552'), 
Decimal('0.08572675327619531920987689779'), 
Decimal('0.08558567757959197545385559924'), 
Decimal('0.08545095459267629930008504016'), 
Decimal('0.08532212872131176389071802292'), 
Decimal('0.08519878854207047655135178819'), 
Decimal('0.08508056146411939254364355471'), 
Decimal('0.08496710915723189654691208846'), 
Decimal('0.08485812361947675422749917393'), 
Decimal('0.08475332378159534560914071150'), 
Decimal('0.08465245256372754764842491632'), 
Decimal('0.08455527431506202470084773481'), 
Decimal('0.08446157257898387425834816114'), 
Decimal('0.08437114813599492559990198572'), 
Decimal('0.08428381728456899879544582613'), 
Decimal('0.08419941032654730116548635256'), 
Decimal('0.08411777022896698490334200456'), 

Re: [Matplotlib-users] matplotlib axis define

2010-02-11 Thread Samuel Teixeira Santos
Pierre

You right

look on excel grahic, I found a logarithmic scale option marked
my bad.

really thanks

see ya

2010/2/11 Samuel Teixeira Santos arcano...@gmail.com

 hi again

 accuatly, I want redefine my axis points ( it's seems call 'ticks' on
 pyplot, I want redefine his range )
 to be the same as my excel graphic.

 I did it's not a logaritmic because to calc thats 'y' points I use another
 formula...

 and on Excel it's X Y Scatter Graphic type...

 I'm trying now change th xticks and yticks...

 thanks :D



 2010/2/11 Pierre de Buyl pdeb...@ulb.ac.be

 Here is what my code does. (attached file).



 But, There isn't a way to just setting the x,y values' axis easily?

 Do you mean the limits of the axes ?

 Add
 pp.axis([0.01,1,0,1])
 before pp.show()


  Because isn't a logaritmic (I think)...

 the x-axis is logarithmic in model.jpg.


  And I would like to mantain the same axis coord as in model.jpg, if it's
 possible...

 thanks anyway! :D


 You're welcome.

 Pierre



  2010/2/11 Pierre de Buyl pdeb...@ulb.ac.be
 Hello,

 It is not clear what exactly does not work in your file. I assumed it was
 the logarithmic scaling in x. Here is the code to produce that.
 A complete documentation is available on http://
 matplotlib.sourceforge.net/ , you might be especially interested by the
 examples http://matplotlib.sf.net/examples/index.html and the gallery
 http://matplotlib.sourceforge.net/gallery.html that provide codes to
 perform a wide range of graphics.

 Pierre

 from decimal import Decimal
 from matplotlib import pyplot as pp

 x = ...
 y = ...

 pp.xscale('log')
 pp.plot(x,y)
 pp.xlabel('h')
 pp.ylabel('q')
 pp.show()


 Le 11 févr. 10 à 13:51, Samuel Teixeira Santos a écrit :

 Hi all

 I'm noob on matplotlib on python

 and I need to do excel graphic like (model.jpg) that I send attached.

 I send it too my test code for that

 My problem is to set the values on y and x axis

 how I do it?

 thanks in
 advancedtest.pymodel.jpg--
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-
 dev2dev___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users







--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users