Re: 2d graphics - what module to use?

2008-07-26 Thread sturlamolden
On Jul 26, 6:47 am, Matthew Fitzgibbons <[EMAIL PROTECTED]> wrote: > If you're using wx, there is also wx.lib.plot, which I found to be > _much_ faster than matplotlib in my application, especially when resizing. Yes. Matplotlib creates beautiful graphics, but are terribly slow on large data sets

Re: 2d graphics - what module to use?

2008-07-25 Thread Carl Banks
On Jul 25, 4:10 am, King <[EMAIL PROTECTED]> wrote: > Use python's default GUI tkinter's drawing functions or you can use > wxPython GUI kit or you can use pyopengl. > If you are only interested to draw sin waves or math functions that > you should give try to matlab atwww.mathworks.com If you're

Re: 2d graphics - what module to use?

2008-07-25 Thread Matthew Fitzgibbons
ly the best option. I prefer to embed matplotlib in wxPython. wxAgg is an excellent backend. For more general 2D graphics, there are several options, including: - pygame (uses SDL) - aggdraw module - pycairo - pyopengl - wxPython's device context (ditto for other GUI libraries) -- http:/

Re: 2d graphics - what module to use?

2008-07-25 Thread sturlamolden
option. I prefer to embed matplotlib in wxPython. wxAgg is an excellent backend. For more general 2D graphics, there are several options, including: - pygame (uses SDL) - aggdraw module - pycairo - pyopengl - wxPython's device context (ditto for other GUI libraries) -- http://mail.py

Re: 2d graphics - what module to use?

2008-07-25 Thread Boris Borcic
Pierre Dagenais wrote: What is the easiest way to draw to a window? I'd like to draw something like sine waves from a mathematical equation. Newbie to python. -- http://mail.python.org/mailman/listinfo/python-list For very simple things, the standard module turtle might be your best bet. BB

Re: 2d graphics - what module to use?

2008-07-25 Thread arsyed
On Fri, Jul 25, 2008 at 2:13 AM, Pierre Dagenais <[EMAIL PROTECTED]> wrote: > What is the easiest way to draw to a window? I'd like to draw something > like sine waves from a mathematical equation. > Newbie to python. > -- > http://mail.python.org/mailman/listinfo/python-list > I'd recommend matp

Re: 2d graphics - what module to use?

2008-07-25 Thread Guilhem Faure
You can try R cran also. Very powerfull and free. And with R you can use Rpy, a library R for python and can access to R function and R graph in a python script. Other mathematic library exist in python : Matplotlib for exemple. Summary : to draw graph easely in python : Rpy lib or Matplotlib. If

Re: 2d graphics - what module to use?

2008-07-25 Thread Lorenzo Gatti
On 25 Lug, 08:13, Pierre Dagenais <[EMAIL PROTECTED]> wrote: > What is the easiest way to draw to a window? I'd like to draw something >   like sine waves from a mathematical equation. > Newbie to python. What you are really asking for is what GUI library you should use; every one allows you to dr

Re: 2d graphics - what module to use?

2008-07-25 Thread King
Use python's default GUI tkinter's drawing functions or you can use wxPython GUI kit or you can use pyopengl. If you are only interested to draw sin waves or math functions that you should give try to matlab at www.mathworks.com -- http://mail.python.org/mailman/listinfo/python-list

2d graphics - what module to use?

2008-07-24 Thread Pierre Dagenais
What is the easiest way to draw to a window? I'd like to draw something like sine waves from a mathematical equation. Newbie to python. -- http://mail.python.org/mailman/listinfo/python-list

Re: 2d graphics - drawing a vescica piscis in Python

2008-06-18 Thread Terrence Brannon
On Jun 17, 3:45 pm, Terrence Brannon <[EMAIL PROTECTED]> wrote: > Hello, I have written a program to draw a vescica piscis en.wikipedia.org/wiki/Vesica_piscis> actually, I mis-spelled the term. It should be vesica piscis or vesica pisces. I put a "c" after the "s" -- vescica --- and that is wrong

Re: 2d graphics - drawing a vescica piscis in Python

2008-06-17 Thread Lie
On Jun 18, 2:45 am, Terrence Brannon <[EMAIL PROTECTED]> wrote: > Hello, I have written a program to draw a vescica piscis en.wikipedia.org/wiki/Vesica_piscis> > > from turtle import * > > def main(): >     setup(width=400, height=400) > >     r = 50 >     color("black") >     circle(r) >     colo

Re: 2d graphics - drawing a vescica piscis in Python

2008-06-17 Thread Matimus
On Jun 17, 12:45 pm, Terrence Brannon <[EMAIL PROTECTED]> wrote: > Hello, I have written a program to draw a vescica piscis en.wikipedia.org/wiki/Vesica_piscis> > > from turtle import * > > def main(): >     setup(width=400, height=400) > >     r = 50 >     color("black") >     circle(r) >     col

Re: 2d graphics - drawing a vescica piscis in Python

2008-06-17 Thread Mensanator
On Jun 17, 2:45 pm, Terrence Brannon <[EMAIL PROTECTED]> wrote: > Hello, I have written a program to draw a vescica piscis en.wikipedia.org/wiki/Vesica_piscis> > > from turtle import * > > def main(): >     setup(width=400, height=400) > >     r = 50 >     color("black") >     circle(r) >     colo

2d graphics - drawing a vescica piscis in Python

2008-06-17 Thread Terrence Brannon
Hello, I have written a program to draw a vescica piscis from turtle import * def main(): setup(width=400, height=400) r = 50 color("black") circle(r) color("white") forward(r) color("black") circle(r) x = raw_input('please enter a string:') if __name__ == '

Re: WebBased Vector 2D Graphics

2007-10-16 Thread crazychrisy54
On Oct 5, 12:41 pm, Robin Becker <[EMAIL PROTECTED]> wrote: > Diez B. Roggisch wrote: > > [EMAIL PROTECTED] wrote: > > ... > > > You certainly need to get on speed with webdevelopment. Otherwise you will > > fail miserably. > > > There are several options here: > > > - rendering a server-side

Re: WebBased Vector 2D Graphics

2007-10-06 Thread Dorai
On Oct 5, 4:28 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi there > > > I currently have a Python program outputing to the command line, > > durations of 'completed Steps' and 'data items' in relation to time > > i.e. > > > --jfh > >

Re: WebBased Vector 2D Graphics

2007-10-05 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > On Oct 5, 11:43 am, Bjoern Schliessmann > The above approaches allow you to directly print to the web page. > > Would this mean I wouldn't be able to have any fancy graphics > outputed such as the rectangles I mentioned before with different > filled in colours? No, it

Re: WebBased Vector 2D Graphics

2007-10-05 Thread Robin Becker
Diez B. Roggisch wrote: > [EMAIL PROTECTED] wrote: > ... > > You certainly need to get on speed with webdevelopment. Otherwise you will > fail miserably. > > There are several options here: > > - rendering a server-side image, deliver that embedded in a html-page > > - render using html

Re: WebBased Vector 2D Graphics

2007-10-05 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hi there > > I currently have a Python program outputing to the command line, > durations of 'completed Steps' and 'data items' in relation to time > i.e. > > > --jfh > -kl//kl started after jfh finished > % D

Re: WebBased Vector 2D Graphics

2007-10-05 Thread cjt22
On Oct 5, 11:43 am, Bjoern Schliessmann wrote: > [EMAIL PROTECTED] wrote: > > Is there any way this web programming can be done in python. > > Sure. Minimalistic approaches include using CGI > (http://docs.python.org/lib/module-cgi.html) > or using Apache with mod_python directly. There are also

Re: WebBased Vector 2D Graphics

2007-10-05 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > Is there any way this web programming can be done in python. Sure. Minimalistic approaches include using CGI (http://docs.python.org/lib/module-cgi.html) or using Apache with mod_python directly. There are also web frameworks for Python, but I don't know much about th

WebBased Vector 2D Graphics

2007-10-05 Thread cjt22
Hi there I currently have a Python program outputing to the command line, durations of 'completed Steps' and 'data items' in relation to time i.e. --jfh -kl//kl started after jfh finished % Ds //new data arrived at this point in time

2D graphics

2005-10-10 Thread Peres
Dear Fredrik, Thanks for your answer. yes it means animated on the screen. I downloaded Python2.4, pygame and vision, but the animation is slow, and i cannot set a graphic priority to my program. Someone suggested PyopenGL.sourceforge, but it seems complicated. Thanks again   Valerie -- http

Re: 2D graphics

2005-10-10 Thread Fredrik Lundh
"Peres" wrote: > As a Python beginner, I feel a bit lost among all possible libraries... > so I wondered whether soemone could help me find my way... I > just need to generate animated sequences of 2D primitives (dots > and lines), as fast as possible, checking the computer clock for > the time el

2D graphics

2005-10-10 Thread Peres
Hello, As a Python beginner, I feel a bit lost among all possible libraries... so I wondered whether soemone could help me find my way... I just need to generate animated sequences of 2D primitives (dots and lines), as fast as possible, checking the computer clock for the time elapsed for eac