Re: TeX $\times$ symbol not working in matplotlib?

2014-04-19 Thread gwhite
On Friday, April 18, 2014 8:46:13 PM UTC-7, Larry Hudson wrote: > On 04/18/2014 04:14 PM, gwhite wrote: > > > [snip] > > I'm not sure when a backslash continuation might be needed, or if that > > requirement has been designed out of Python. > > ['the

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
On Friday, April 18, 2014 10:04:17 AM UTC-7, Peter Otten wrote: > gwhite wrote: > > > plt.title(' '.join([r'$\mathrm{poles}$', r'$(\times)$',\ > > r'$\mathrm{\&}$', r'$\mathrm{zeros}$', > >

Re: TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
On Friday, April 18, 2014 9:24:55 AM UTC-7, Chris "Kwpolska" Warrick wrote: > On Fri, Apr 18, 2014 at 6:18 PM, gwhite wrote: > > > I am trying to understand how to get the TeX "\times" symbol to work. It > > is in the title() string in the code I pasted i

TeX $\times$ symbol not working in matplotlib?

2014-04-18 Thread gwhite
Hi, I am trying to understand how to get the TeX "\times" symbol to work. It is in the title() string in the code I pasted in. The "\circ" symbol seems fine, by comparison. "\times" ends up as "imes" in the figure title. I am probably doing something dumb (hey, maybe a lot of dumb things!),

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 3:43 pm, MRAB wrote: > On 02/09/2012 21:58, gwhite wrote: > > > > > > > > > On Sep 2, 1:16 pm, Dave Angel wrote: > >> On 09/02/2012 03:50 PM, gwhite wrote: > > >> > On Sep 2, 12:43 pm, Dave Angel wrote: > >> >> O

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 2:47 pm, Chris Angelico wrote: > On Mon, Sep 3, 2012 at 7:18 AM, gwhite wrote: > > Thanks again, Terry.  There is a lot to the language, I am finding > > out.  I am a HW engineer, not really a programmer.  Python seems a lot > > more sophisticated than MATLAB. >

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 1:49 pm, Terry Reedy wrote: > On 9/2/2012 3:26 PM, gwhite wrote: > > > On the "rework" thing, yes, I suppose I could construct the line as a > > single string prior to print.    There would be things like `for` > > loops and conditionals to do so.  Th

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 1:37 pm, Dennis Lee Bieber wrote: > On Sun, 2 Sep 2012 10:23:53 -0700 (PDT), gwhite > declaimed the following in gmane.comp.python.general: > > > > > "A space is written before each object is (converted and) written, > > unless the output system

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 1:16 pm, Dave Angel wrote: > On 09/02/2012 03:50 PM, gwhite wrote: > > > > > > > > > > > On Sep 2, 12:43 pm, Dave Angel wrote: > >> On 09/02/2012 03:34 PM, gwhite wrote: > > >>> > >>> btw, I also thought the defau

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 11:33 am, Terry Reedy wrote: > On 9/2/2012 1:23 PM, gwhite wrote: > > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>> print 1,;print 2, > > 1 2 > > You have di

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 12:43 pm, Dave Angel wrote: > On 09/02/2012 03:34 PM, gwhite wrote: > > > > > > btw, I also thought the default "add a CR LF" to the end was odd too. > > But at least that one had a simple way out. > > But it (print on Python 2.x) doesn&#x

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 10:45 am, Joel Goldstick wrote: > On Sun, Sep 2, 2012 at 1:23 PM, gwhite wrote: > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>> print 1,;print 2, > > 1 2 > &

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 12:26 pm, gwhite wrote: > On Sep 2, 10:55 am, Chris Rebert wrote: > > > > > > > > > > > On Sun, Sep 2, 2012 at 10:23 AM, gwhite wrote: > > > I can't figure out how to stop the "add a space at the beginning" > > > b

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 10:55 am, Chris Rebert wrote: > On Sun, Sep 2, 2012 at 10:23 AM, gwhite wrote: > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>> print 1,;print 2, > > 1 2 > > &g

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 11:33 am, Terry Reedy wrote: > On 9/2/2012 1:23 PM, gwhite wrote: > > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>> print 1,;print 2, > > 1 2 > > You have di

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 10:55 am, Chris Rebert wrote: > On Sun, Sep 2, 2012 at 10:23 AM, gwhite wrote: > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>> print 1,;print 2, > > 1 2 > > &g

Re: newbie ``print`` question

2012-09-02 Thread gwhite
On Sep 2, 10:49 am, mblume wrote: > Am Sun, 02 Sep 2012 10:23:53 -0700 schrieb gwhite: > > > > > > > > > > > I can't figure out how to stop the "add a space at the beginning" > > behavior of the print function. > > >>>>

newbie ``print`` question

2012-09-02 Thread gwhite
I can't figure out how to stop the "add a space at the beginning" behavior of the print function. >>> print 1,;print 2, 1 2 See the space in between the 1 and the 2 at the output print to the command console? The help for print is: "A space is written before each object is (converted and) writt

Re: Newbie questions on import & cmd line run

2012-05-18 Thread gwhite
On May 16, 9:54 pm, alex23 wrote: > On May 17, 11:45 am, gwhite wrote: > > > 1.  If running from the system command line, or the Sypder "run" > > button, "__name__" is "__main__" rather than "newbie00", as seen > > above. > &

Re: Newbie questions on import & cmd line run

2012-05-18 Thread gwhite
On May 16, 9:33 pm, Steven D'Aprano wrote: > On Wed, 16 May 2012 18:45:39 -0700, gwhite wrote: > > #! > > # Filename: newbie00.py > > "Supposed to"? Nothing -- it is completely optional. > > #! ("hash-bang") lines currently do nothing on Win

Newbie questions on import & cmd line run

2012-05-16 Thread gwhite
Hi, I am a newbie running the latest pythonxy (2.7.2.1) & spyder and python 2.7.2. I suspect my questions are mostly basic to python, and not specific to Spyder or iPython. Note: Up until now, I mainly used MATLAB, and thus need to de-program myself appropriately. I use Win7-64. I wrote the f