Re: plotting slows down

2014-01-14 Thread Norman Elliott
On Monday, 13 January 2014 08:15:08 UTC, Norman Elliott wrote: > First let me say I have not done much python programming! > > I am running Python 2.7.3. > > I am trying to use python as a front end to a simple oscilloscope. > > Ultimately I intend to use it with my micropython board. > > >

Re: plotting slows down

2014-01-14 Thread Chris Angelico
On Wed, Jan 15, 2014 at 12:15 AM, Rustom Mody wrote: > However it can also mean that gedit sets tabstops at 4 character intervals > Which will mean you will see 4 characters (in gedit) and everyone else will > see a > tab. This is a recipe for trouble. Not a recipe for trouble normally, it's jus

Re: plotting slows down

2014-01-14 Thread Rustom Mody
On Tuesday, January 14, 2014 6:34:43 PM UTC+5:30, Norman Elliott wrote: > @Dave, no problem. I am using gedit to write the files and have it set to > translate tabs into 4 spaces which is what was recommended to me as the right > amount of indenting for python scripts. Dunno what you mean by 'tr

Re: plotting slows down

2014-01-14 Thread Norman Elliott
@Dave, no problem. I am using gedit to write the files and have it set to translate tabs into 4 spaces which is what was recommended to me as the right amount of indenting for python scripts. On Monday, 13 January 2014 08:15:08 UTC, Norman Elliott wrote: > First let me say I have not done much

Re: plotting slows down

2014-01-14 Thread Dave Angel
Norman Elliott Wrote in message: > > I cannot see how to change from html to text mode in chromium or within the > group. > You already did post in text mode, my error. The new newsreader I'm using apparently eats tabs. -- DaveA Android NewsGroup Reader http://www.piaohong.tk/ne

Re: plotting slows down

2014-01-13 Thread Terry Reedy
On 1/13/2014 12:45 PM, Chris Angelico wrote: On Tue, Jan 14, 2014 at 4:39 AM, Ian Kelly wrote: On Mon, Jan 13, 2014 at 6:26 AM, Dave Angel wrote: Next, please repost any source code with indentation preserved. Your message shows it all flushed to the left margin, probably due to posting

Re: plotting slows down

2014-01-13 Thread Norman Elliott
On Monday, 13 January 2014 18:05:52 UTC, Dave Angel wrote: > Chris Angelico Wrote in message: > Well Ian's suggestion has really done the job. Now each iteration takes just 0.14 seconds now. changed to: [code] win = GraphWin("My Circle", xpos, ypos, autoflush=False) [/code] and added [code]

Re: plotting slows down

2014-01-13 Thread Ian Kelly
On Mon, Jan 13, 2014 at 1:15 AM, wrote: > First let me say I have not done much python programming! > I am running Python 2.7.3. > I am trying to use python as a front end to a simple oscilloscope. > Ultimately I intend to use it with my micropython board. > > At the moment I am just developing i

Re: plotting slows down

2014-01-13 Thread Dave Angel
Chris Angelico Wrote in message: > On Tue, Jan 14, 2014 at 4:39 AM, Ian Kelly wrote: >> On Mon, Jan 13, 2014 at 6:26 AM, Dave Angel wrote: >>> Next, please repost any source code with indentation preserved. >>> Your message shows it all flushed to the left margin, probably >>> due to posting

Re: plotting slows down

2014-01-13 Thread Chris Angelico
On Tue, Jan 14, 2014 at 4:39 AM, Ian Kelly wrote: > On Mon, Jan 13, 2014 at 6:26 AM, Dave Angel wrote: >> Next, please repost any source code with indentation preserved. >> Your message shows it all flushed to the left margin, probably >> due to posting in html mode. Use text mode here. > > Th

Re: plotting slows down

2014-01-13 Thread Ian Kelly
On Mon, Jan 13, 2014 at 6:26 AM, Dave Angel wrote: > Next, please repost any source code with indentation preserved. > Your message shows it all flushed to the left margin, probably > due to posting in html mode. Use text mode here. That's odd, the message that I got includes proper indentatio

Re: plotting slows down

2014-01-13 Thread Norman Elliott
I am running ubuntu 12.04 with all updates installed. I got the graphics here: http://mcsp.wartburg.edu/zelle/python/graphics/graphics/index.html I cannot see how to change from html to text mode in chromium or within the group. I read the link about double spacing so I will watch out for it. -

Re: plotting slows down

2014-01-13 Thread Norman Elliott
On Monday, 13 January 2014 08:15:08 UTC, Norman Elliott wrote: > First let me say I have not done much python programming! > > I am running Python 2.7.3. > > I am trying to use python as a front end to a simple oscilloscope. > > Ultimately I intend to use it with my micropython board. > > >

plotting slows down

2014-01-13 Thread norman . elliott
First let me say I have not done much python programming! I am running Python 2.7.3. I am trying to use python as a front end to a simple oscilloscope. Ultimately I intend to use it with my micropython board. At the moment I am just developing it. All it does is use a module I found called graphi