[sage-support] Re: keyboard shortcuts

2011-05-05 Thread clodemil
According to http://www.sagemath.org/doc/reference/sagenb/notebook/config.html I made another typo: Comment/Uncomment Blocks: Highlight text and press ctrl-. to comment it and ctrl-, to uncomment it. Alternatively, use ctrl-3 and ctrl-4. But the problem remains: ctrl-. does not work with either key

[sage-support] Re: keyboard shortcuts

2011-05-04 Thread clodemil
Marshall, Thank you for your answer. Yes this happens in the notebook. And I mistyped "Ctrl+;" for "Ctrl+," sorry! I thought at first the issue was with my diNovo Edge keyboard (without numpad: figures accessed through shift key, so that "Ctrl+3" becomes "Ctrl+Shift+3" and does not comment, neit

[sage-support] keyboard shortcuts

2011-05-03 Thread clodemil
Commenting with select multiple lines >"Ctrl+," does not work Commenting line by line with "AltGr+#" works Uncommenting with select multiple lines >"Ctrl+;" does work Keyboard: Logitech diNovo Edge (no NumPad) sage-4.6.1-linux-32bit-ubuntu_10.04_lts-i686-Linux/sage Ubuntu 11.04 under VmWare

Re: [sage-support]

2011-04-24 Thread clodemil
Thank you > Unfortunately, N is the name of the built-in numerical evaluation > function: N is used as such, not as a name Claude -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For

Re: [sage-support]

2011-04-23 Thread clodemil
Many thanks On Apr 23, 4:13 pm, "D. S. McNeil" wrote: > (3) Avoid "n" as a variable. I promise to!! > (4) Choose something else -- nn, or nap, or whatever -- and use it > instead ("nn = numerical_approx", and then "nn(3.2445,digits=2)". N does the job > It's more Pythonic to write somethi

[sage-support] results into list

2011-04-17 Thread clodemil
Hi all, # Measurements are taken three times in one session and entered in a continuous list "t": t=[ 151, 129, 126, 158, 163, 165, 150, 120, 147, 148, 134, 114, 180, 167, 159, 196, 175, 162, 135, 145, 135, 176, 172, 184, 149, 150, 152, 185, 185, 168, 143, 151, 142, 178, 172, 164, 147, 146, 142,

[sage-support] Re: commenting out

2011-04-02 Thread clodemil
Many thanks! Claude. On Apr 1, 12:50 pm, Håkan Granath wrote: > > In Python one can comment out a whole block of text with Alt+3, how > > can I do that in Sage ? > > See this page: > > http://www.sagemath.org/doc/reference/sagenb/notebook/config.html > > /Håkan -- To post to this group, send e

[sage-support] commenting out

2011-04-01 Thread clodemil
Hi all, In Python one can comment out a whole block of text with Alt+3, how can I do that in Sage ? TIA. Claude -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

[sage-support] Re: date call

2011-04-01 Thread clodemil
Thank you all, very useful. Claude On Mar 31, 4:08 pm, Dan Drake wrote: > On Thu, 31 Mar 2011 at 05:36AM -0700, clodemil wrote: > > Is it possible to call up the calendar date and time, to be used in, > > for instance, m=list(measurement,date) ? > > Python (and hence

[sage-support] date call

2011-03-31 Thread clodemil
Hi all, Is it possible to call up the calendar date and time, to be used in, for instance, m=list(measurement,date) ? TIA Claude. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For m

[sage-support] Re: list updating

2011-03-29 Thread clodemil
> Sys, Dia, Pulse =zip(*mesures) > mesures.append([181,88,58]) > Sys[-1],Dia[-1],Pulse[-1] > > of course you can use zip to go the other way too: > mesures = zip(Sys, Dia, Pulse) > > On Sat, Mar 26, 2011 at 5:32 AM, clodemil wrote: > > Hi All, > > > Measurem

[sage-support] Re: function output to list

2011-03-26 Thread clodemil
Alastair, Everything sorted. Many thanks. Claude. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support UR

[sage-support] Re: accented characters

2011-03-26 Thread clodemil
Mike, But that can't be used in: ["Mar 15h30 apres 2 h d'effort"] Claude. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.googl

[sage-support] Re: accented characters

2011-03-26 Thread clodemil
Mike, Thanks for your response. > How are you trying to use these characters? My mother tongue is french ! Claude. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, v

[sage-support] list updating

2011-03-26 Thread clodemil
Hi All, Measurements are taken for blood pressure and entered as 3-tuples: [P_systolic,P_diastolic,Pulse_rate] and put in a list mesures=[[172,91,57],[181,88,58],[146,88,56],[191,85,59],[171,92,50], [157,93,55],[180,84,48],[142,77,60],[169,80,45],[162,76,59], [167,104,73],[166,81,53],[145,78,59],

[sage-support] accented characters

2011-03-26 Thread clodemil
Hi All, Sage does not accept accented characters like: é è à give a syntax error. If in a string it is accepted but coded like:" après" becomes 'apr \xc3\xa8s' I suppose it is a question of font encoding. What can I do ? Of course, my keyboard layout in Ubuntu 10.10 is properly set to belgian fren

[sage-support] Re: function output to list

2011-03-26 Thread clodemil
syntax error(most certainly my mistake, but what?) >#Why are you using enumerate here, as you don't use k? I use k in another step of the program. Thanks again. Claude. On Mar 25, 8:24 am, Alastair Irving wrote: > On 25/03/2011 13:15, clodemil wrote:> Hi all, > &

[sage-support] function output to list

2011-03-25 Thread clodemil
Hi all, Here is a list: mesures=[[172,91,57],[181,88,58],[146,88,56],[191,85,59],[171,92,50], [157,93,55],[180,84,48],[142,77,60],[169,80,45],[162,76,59], [167,104,73],[166,81,53],[145,78,59],[163,98,58],[192,90,50], [184,85,60],[151,77,56]] # [[P systolic,P diastolic,Pulse rate]] and a function

[sage-support] Re: background color in list_plot

2011-03-23 Thread clodemil
HI kcrisman , Thank you for your response. The process looks a bit frightening for someone as green as I am! But after some deep breathing... Claude. On Mar 23, 1:16 pm, kcrisman wrote: > On Mar 23, 6:19 am, clodemil wrote: > > > Hi Jason, > > > I know the question i

[sage-support] Re: background color in list_plot

2011-03-23 Thread clodemil
, 4:21 pm, clodemil wrote: > Thank you for your quick answer. > > > What do you mean by > > fillcolor? > > I mean the option existing in plot, like: > plot(tan(x),-1,1,fill=True,fillcolor='red') > > Thanks, > > Claude. > On Mar 22, 2:52 pm, Jason Gr

[sage-support] Re: background color in list_plot

2011-03-22 Thread clodemil
Thank you for your quick answer. > What do you mean by > fillcolor? I mean the option existing in plot, like: plot(tan(x),-1,1,fill=True,fillcolor='red') Thanks, Claude. On Mar 22, 2:52 pm, Jason Grout wrote: > On 3/22/11 5:27 AM, clodemil wrote: > > > Hello, &

[sage-support] background color in list_plot

2011-03-22 Thread clodemil
Hello, Is there a way to add a background color and/or a fillcolor to a list_plot ? TIAFYKA -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http: