[Matplotlib-users] Matplotlib wraps the graph

2006-10-25 Thread Trond Danielsen
Hello everyone!

I have a problem with matplotlib: If the input data has values larger
than 130, the graph wraps around. Is this a known problem?

I am using matplotlib 0.87.3 on fedora core 5.
-- 
Trond Danielsen

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users



Re: [Matplotlib-users] Matplotlib wraps the graph

2006-10-25 Thread John Hunter
> "Trond" == Trond Danielsen <[EMAIL PROTECTED]> writes:

Trond> Hello everyone!  I have a problem with matplotlib: If the
Trond> input data has values larger than 130, the graph wraps
Trond> around. Is this a known problem?

Trond> I am using matplotlib 0.87.3 on fedora core 5.  -- Trond
Trond> Danielsen

I've never seen this before.  Can you provide a free-standing,
complete example?

JDH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Compiling MPL 0.87.6 on Solaris with Sun Studio

2006-10-25 Thread Michael C. Mancini
Hello all.  I'm a long time MATLAB user and relatively new Python user who has decided to take the plunge and try MPL.  My workstation is an Ultra 60 running Solaris 10 (6/06) with Sun Studio 11.  I have compiled and installed Python 
2.5, numpy1.0rc3 and scipy 0.5.1 all with the Sun compilers.  I would like to install MPL with the TkAgg frontend, and compile it with the Sun compiler.So far, it doesn't work.  I have the following environment variables in my .profile pointing to the Sun compilers:
export CC=/opt/SUNWspro/bin/ccexport CXX=/opt/SUNWspro/bin/CCbut MPL tries to always compile with the C compiler!  I try tricking it by pointing the CC variable to the CXX path.  This works, at first.  The output follows.  I read this as meaning that there are two problems: one is that MPL doesn't have an understanding of separate executibles for C and C++, and the other is that there is some sort of incompatibility between Sun's C++ compiler and SWIG.  Are there any Sun people out there that have some thoughts (or success stories they can share?)
Thanks in advance,Mike M.bash-3.00$ python setup.py buildGTK requires pygtkGTKAgg requires pygtkrunning buildrunning build_pyrunning build_extbuilding 'matplotlib._agg' extension
C compiler: /opt/SUNWspro/bin/CC -DNDEBUG -O -xcode=pic32compile options: '-Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5 -c'CC: agg23/src/agg_trans_affine.cppCC: agg23/src/agg_vcgen_stroke.cpp
CC: agg23/src/agg_vcgen_dash.cppCC: agg23/src/agg_rasterizer_scanline_aa.cppCC: agg23/src/agg_path_storage.cppCC: agg23/src/agg_curves.cppCC: src/agg.cxx"swig/agg_buffer.h", line 26: Warning: height hides agg::buffer::height.
"swig/agg_buffer.h", line 26: Warning: stride hides agg::buffer::stride. >> Signal 11:    while processing src/agg.cxx at line 24137."swig/agg_buffer.h", line 26: Warning: height hides agg::buffer::height.
"swig/agg_buffer.h", line 26: Warning: stride hides agg::buffer::stride. >> Signal 11:    while processing src/agg.cxx at line 24137.error: Command "/opt/SUNWspro/bin/CC -DNDEBUG -O -xcode=pic32 -Iagg23/include -Isrc -Iswig -I/usr/local/include/python2.5 -c src/agg.cxx -o build/temp.solaris-
2.10-sun4u-2.5/src/agg.o" failed with exit status 1
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Limit on the number of plot calls

2006-10-25 Thread David Huard
Hi, is there a limit to the number of times one can call ax.plot(x,y) ?Thanks,David
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] matplotlib window not responding in windows

2006-10-25 Thread Emmanuel
I'm trying to run a program that plot experimental datas during measurement (to check if experiment is okay). I started doing directly measuring one point and plotting it import matplotlibmatplotlib.use('TkAgg')
...from pylab import *...ion()while cond:    measure()    plot(X[-1:],Y[-1:],"o") #plot data point 1) with ipython, the graph stays hidden by the ipython windowlauching by direct double click, it is okay plot is not hidden but after 2 click on the plotting window, it freezes or if I try to move the window, it does not move then the plot window is "not responding" anymore.
I thought I would solve this using a seperate thread for the plot. I tried but no chanceclass update_plot(threading.Thread):    def run(self):    global X,Y,end    xlabel('X')    ylabel('Y')
    title('Y(X)')    grid(True)    ion()    while end!=1:    plot(X[-1:],Y[-1:],"o")    #show()    time.sleep(0.2)
I've seen the FAQ and some few mails in the list, I didn't really get the way to solve this problem ? If not possible, maybe I could look for other options for plotting but I wouldn't like. I'm pretty much accostumed to matplotlib (usually working on linux were there is not that problem or limitation).
At first glance the only matplotlib example that works OK is dynamic_demo_wx.pyI think I shall learn a bit of wxpython and adapt dynamic_demo_wx.py for my case?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Limit on the number of plot calls

2006-10-25 Thread Eric Firing
David Huard wrote:
> Hi,
> is there a limit to the number of times one can call ax.plot(x,y) ?

None that I can see; if you seem to be running into such a limit, then 
it sounds like a bug.

Eric

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Matplotlib wraps the graph

2006-10-25 Thread Darren Dale
Could this be a data type issue?

from numpy import arange
arange(120, 130, dtype=Int8)

Out: array([ 120,  121,  122,  123,  124,  125,  126,  127, -128, -127], 
dtype=int8)


On Wednesday 25 October 2006 09:51, John Hunter wrote:
> > "Trond" == Trond Danielsen <[EMAIL PROTECTED]> writes:
>
> Trond> Hello everyone!  I have a problem with matplotlib: If the
> Trond> input data has values larger than 130, the graph wraps
> Trond> around. Is this a known problem?
>
> Trond> I am using matplotlib 0.87.3 on fedora core 5.  -- Trond
> Trond> Danielsen
>
> I've never seen this before.  Can you provide a free-standing,
> complete example?
>
> JDH
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-- 
Darren S. Dale, Ph.D.
Staff Scientist
Cornell High Energy Synchrotron Source
Cornell University
275 Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853

[EMAIL PROTECTED]
office: (607) 255-3819
fax: (607) 255-9001
http://www.chess.cornell.edu

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] windrose 0.5

2006-10-25 Thread Derek Hohls
Lionel
 
Is it possible to change the font sizes on the 
(a) direction labels (N, S, E, W)
(b)  % values labelling the rings?
 
Thanks
Derek


-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users