[sage-support] Re: direction arrows for a parametric curve

2014-05-19 Thread LFS
Hi The problem is in scaling the arrows. I used arrow. look for plots with arrow. http://sage.math.canterbury.ac.nz/home/pub/138 (2d is at the bottom- no problem, 3d is in the middle and requires jmol) http://sage.math.canterbury.ac.nz/home/pub/142 Original credit for this idea is to Katie

[sage-support] Re: sage vs matlab

2013-03-04 Thread LFS
I know this is probably not so important in the grand scheme of things but I was helping my DIL (daughter in law) with numerical maths class (electrical engineer) and at every step I found Matlab/Octave with their major commands obscured what was happening. For example, she needed to

Re: [sage-support] Re: Light version of sage for undergraduate students

2013-02-07 Thread LFS
a new video http://www.youtube.com/watch?v=cx6cx788aHc. Hope I got it correct and sorry to be so slow. :) Best, Linda On Thursday, 7 February 2013 14:08:41 UTC+1, William wrote: On Wed, Feb 6, 2013 at 2:06 PM, Keshav Kini kesha...@gmail.comjavascript: wrote: LFS lfah...@gmail.com javascript

[sage-support] Re: line of intersection of two planes

2013-02-06 Thread LFS
Hiya John, When I saw this I realized that Sage could parametrize the intersection of two surfaces given explicitly! Absolutely cool. Thanks for your reply and Asad for your question. var('x y z') f(x,y)=(6 - 3*x - 2*y)/6 g(x,y)=(2 + 2*x + 9*y)/11 P1 = plot3d(f, (x, -5, 5), (y, -6, 6),

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread LFS
It is SO unfortunate that the sagenb.org published worksheets had to be turned off - often a half hour of searching there yielded untold stores of fruit. 1. It REALLY is unfortunate. I used those published worksheets ALL the time. Without them I NEVER would have continued on with Sage.

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread LFS
Hiya Harald - I will try. I am really, really bad with forums. That is why I posted the link to the public page. I think the version is 4.8. (Can't use sagenb since no public posting.) Here is the minimal code version I used in an example (for people like me who don't understand all the

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-31 Thread LFS
the fonts rather small - i used dpi=50 (I am sure you can fix this with font size on the labels ...) On Thursday, 31 January 2013 17:08:55 UTC+1, Harald Schilly wrote: On Thu, Jan 31, 2013 at 4:50 PM, LFS lfah...@gmail.com javascript:wrote: Here is the minimal code version ok

[sage-support] Re: parametric_plot and xmin/xmax

2013-01-30 Thread LFS
I don't know if you are desperate (then this is a decent idea) or trying to teach others (not so good an idea) When desperate, I add invisible points and use show(). (Unfortunately invisible points depend on your plot type since alpha=0 is for 2d and opacity=0 is for 3d...HINT to developers to

[sage-support] Re: parametric_plot and xmin/xmax

2013-01-30 Thread LFS
Thanks. If asked, I vote for opacity. It is memorable. :) On Wednesday, 30 January 2013 10:34:04 UTC+1, P Purkayastha wrote: On 01/30/2013 05:02 PM, LFS wrote: I don't know if you are desperate (then this is a decent idea) or trying to teach others (not so good an idea) When desperate

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-30 Thread LFS
Hi guys - I am sure that there is much more available. But actually William you hit the nail on the head. The page I used was a small undergraduate student project and its contents are useful and accessible. That is the level I want - so a student or someone like me can use Sage in place of

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-29 Thread LFS
I have to admit that I did not find very much in sage for descriptive statistics. I have put what I found in my sagemath page: http://sagemath.wikispaces.com/Statistics If anyone can add anything to this, that would be great. I really want sage - my goal is sage as a reasonably easy to use foss

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-29 Thread LFS
Thanks for the reply! I used everything I found on this: http://www.sagemath.org/doc/reference/sage/stats/basic_stats.html and I had looked at 9671 and said Argh. kcrisman wrote On an unrelated note, I'll put in a plug for some enterprising people to make more videos to put on LFS

[sage-support] Link explaining types of decimal numbers

2013-01-23 Thread LFS
Hi - I would appreciate if someone could point me to a link explaining the difference (if there is a difference) between: * type 'sage.rings.real_mpfr.RealLiteral' * (Here I input x=3.) *type 'float'* (Here I input xx=float(3)) *type 'sage.rings.real_mpfr.RealNumber'* (Here I input 1/x) . My

Re: [sage-support] Link explaining types of decimal numbers

2013-01-23 Thread LFS
, not just 53 bits (as it would be if 1.2 was parsed to 53 bits then passed in to RealField(1000)). For all of the above, see RR?, RDF?, etc. for (lots!) more documentation. - Robert On Wed, Jan 23, 2013 at 8:59 AM, LFS lfah...@gmail.com javascript: wrote: Hi - I would appreciate

[sage-support] Re: matplotlib animations

2013-01-20 Thread LFS
http://sage.math.canterbury.ac.nz/home/pub/246 (Sorry posted notebook and not published version.) Linda, I wasn't able to access your notebook. -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to

[sage-support] Re: matplotlib animations

2013-01-19 Thread LFS
Hi - I am like the a total amateur with sage, but here is a page that I did with animation - credit: Nils Brun http://sage.math.canterbury.ac.nz/home/lfahlberg/58/ I see it is still working. It has 5-6 plots so with the current java problems, be prepared to click on Run a gazillion times. The

[sage-support] Re: matplotlib animations

2013-01-19 Thread LFS
P.S. the animation iterates 5 times and stops (you can see the code * iterations=5*) so if the point stops moving before you get all there, just change the number or reload. :) -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this

[sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-19 Thread LFS
Very badly written since I am in a hurry - IMHO: After struggling for the last 2 weeks, I would say Excel and GeoGebra have more functions for the statistics math classroom (e.g. RandomBetween, CountIf). They are much more intuitive and better documented. And it seems to me that Sage without

Re: [sage-support] Re: Sage versus Excel (spreadsheets in general): Are my arguments correct and complete?

2013-01-19 Thread LFS
Thank-you. Perhaps we could add that somewhere, e.g. http://modular.math.washington.edu/edu/2012/1062/projects/final/le-kofmehl/Math480_Quick_Reference_Statistics_Final.pdf I tried everything on this page, everything on the forum, absolutely everything I could find doing a search on: sage plot

[sage-support] Taylor Polynomial possible bug in return

2013-01-10 Thread LFS
Hiya, Probably I am just doing something wrong ... I have a cubic polynomial p(x) with regular coefficients and I wanted coefficients around e.g. (x-1). So I did p1=p.taylor(x,1,3). I get: x |-- 0.085*(x - 1)^3 - 0.255*(x - 1)^2 + 0.34*x + 1.23 The polynomial is correct, but look at the last

[sage-support] Re: Taylor Polynomial possible bug in return

2013-01-10 Thread LFS
Little more: I see canterbury is using 4.8. Maybe this is fixed in version 5? -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send email to

Re: [sage-support] Taylor Polynomial possible bug in return

2013-01-10 Thread LFS
Hiya Burcin, Thanks for reply! For my cubic polynomials p0 and p1, I did get the following to work: p0=p.series(x==xD[0],4) p1=q.series(x==xD[1],4) print p0; p1 x |-- 1.0601 + 0.59497*x + (-0.08502)*x^3 x |-- 1.5698 + 0.34008*(x - 1)

[sage-support] Re: NumPy Array with generator

2012-12-31 Thread LFS
P.S. Sorry there is an error in the above post. Of course the counter should be integer. This is the best I could do. x0=0.;xend=2.*pi;n=8.;h=(xend-x0)/n; y=numpy.ones(n+1) y=[y[j]*cos(x0+j*h) for j in [0..n]] y If anyone knows of an easier or more intuitive way OR how to this array to print

[sage-support] Re: NumPy Array with generator

2012-12-31 Thread LFS
Thanks indeed Juan, it did help immensely! I couldn't get array to work and your example finally clicked for me. In the end, I used: w=numpy.array([cos(x0+j*h) for j in range(n+1)], float) THANKS. Linda -- You received this message because you are subscribed to the Google Groups sage-support

[sage-support] Re: NumPy Array with generator

2012-12-31 Thread LFS
Thank you Harald. Actually, I think I do need the whole list/array with the function evaluated - either as a list or an array. (I am working the TriDiagonal Algorithm.). I am an in-between person. I have found that the students make no connection between their engineering classes that often

Re: [sage-support] Re: NumPy Array with generator

2012-12-31 Thread LFS
Short letter indeed! Full of extremely useful information on so many levels. Thank-you SO much. Linda -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this

[sage-support] NumPy Array with generator

2012-12-30 Thread LFS
Hiya all - Firstly Happy Holidays and a Good New Year in 2013 (no cool dates anymore though like 20:12 20-12-2012) Anyway - I have looked everywhere for days and days. How do you generate a numpy array like X[j] where e.g. X[j]=cos(j) for j in [x0,xend,step=h]. I have a count number n. I can't

[sage-support] Re: Sage Usage Survey

2012-12-30 Thread LFS
Hiya Jan, Probably you are after more sophisticated users than me (I teach undergraduate and graduate engineering mathematics), but I did not understand question 2. (I could never get how to download Sage so I use it on my windows machines via the Chrome browser. Since the publisher on

[sage-support] How do you stop sage in the middle of a block?

2012-11-20 Thread LFS
How do you get sage out of a loop early? How do you get sage to totally stop in the middle of a block? for n in (0..2): for m in (0..3): p=2*m print p if p==2: print 'I want out of loop' m=4 if n==1: print 'I want to stop Sage' print 'Did not stop Sage' I want to get

[sage-support] Re: How do you stop sage in the middle of a block?

2012-11-20 Thread LFS
Thank-you both! The 'break' did what I wanted for now and will test os._exit() in a bit. Really appreciate your help. -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To

[sage-support] Why don't I get random numbers?

2012-10-21 Thread LFS
Hiya guys! I have a function: def GDD(num,P): D=GeneralDiscreteDistribution(P) D.reset_distribution() L=[D.get_random_element() for _ in range(num)] return L and then commands P=[0.5,0.33, 0.17] L=GDD(num,P) I am definitely not getting random distributions within my lists L (i.e.

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Hiya Dmitrii Thanks so much for your quick reply, but I am still getting the same problem. I go to excel and use a RandBetween[1,1000] and just sort them according to my probability and all is good, i.e. the histogram of the expected values is normally distributed. Here I keep getting

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Hiya Dimitri, It might actually be working. Not sure, but when I increased the number of sets ns, it does looks better. Still alot of repeats, but the histogram looks better. Linda On Sunday, 21 October 2012 12:30:13 UTC+2, LFS wrote: Hiya Dmitrii Thanks so much for your quick reply, but I

Re: [sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Hiya Dave, What would the line of code look like to reseed it with the epoch thing each time I call it? Thanks so much, Linda -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com.

Re: [sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Thanks Dave - If I have a moment I will try the scatter plot method to check. That seems like a useful idea for student. (This was just for a class lesson on testing the CLT and I am way over my time allotment :)) Thanks to both you and Dimitri for feedback! Linda -- You received this message

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Yes - I think Dimitri's solution is working! (I changed the published file to his algorithm and upped the number of sets ns for the CLT and I also seem to be now be getting good empirical data.) Thank-you all! Linda -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Actually Dmitrii with this change it is giving me exactly the same empirical data each time! -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com. To unsubscribe from this group, send

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
I am not sure, but your image looks like the bottom histogram, which is the normal distribution. The middle histogram is from the empirical data. Linda -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to

[sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
. On Sunday, 21 October 2012 13:56:06 UTC+2, Dima Pasechnik wrote: On 2012-10-21, LFS lfah...@gmail.com javascript: wrote: --=_Part_87_6472836.1350820122321 Content-Type: text/plain; charset=ISO-8859-1 Actually Dmitrii with this change it is giving me exactly the same empirical data each

Re: [sage-support] Re: Why don't I get random numbers?

2012-10-21 Thread LFS
Oh I agree Dave for several reasons (not least of all that Excel is not free, nor is it math based). However I have to admit that I have not been happy with any non-Excel program for just teaching probability and statistics. Too complicated and the kiddies will give up. It took me 4 days to get

[sage-support] Re: numerical integration problem

2012-08-10 Thread LFS
Hiya - I have had this experience myself even with rather simple functions and small intervals with sage (and with various other programming and math apps). Feel free to ignore this ... I am a complete ignoramus at how sage works, but my experience has been that you should try nudging your

[sage-support] Re: Public worksheets

2012-07-25 Thread LFS
Oh - I wondered why they were disabled. Finally saw this. I am wondering does disabling javascript mean no embedded GeoGebra worksheets? Could we have a list of safe users? Thanks, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Call for Papers: Symbolic computation with Sage in mathematical education and research

2012-04-19 Thread LFS
Hopefully doing this correctly since not exactly a question. Just wanted to make sure this group new about this. Special Issue for Papers: Tbilisi Mathematical Journal TMJ, Symbolic computation with Sage in mathematical education and research.* Link at bottom of:*

[sage-support] changes in parameter_plot

2012-02-10 Thread LFS
Hiya - is there something new in parameter_plot? I was using parameter_plot for both 2d and 3d plots and now something is not working. Thanks, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: changes in parameter_plot

2012-02-10 Thread LFS
No - because I now see it was my error. Very sorry. Should never write in at night :) Argh, Linda -- 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

[sage-support] Re: Programming animation

2012-02-09 Thread LFS
the reitteration (of the entire cycle)? Thanks again to everyone for their support. Linda On Feb 8, 6:09 pm, LFS lfahlb...@gmail.com wrote: @Nils Got the animation to work - Really pleased!  (Momentarily nothing will publish - when it does I will add the link.) Thanks for writing the script so simply. I

[sage-support] Re: Programming animation

2012-02-09 Thread LFS
of the working code into a new worksheet, immediately saved and published; after that no changes were allowed to be saved :).) @Nils Is there a way to have a delay between iterations of the whole cycle? Thanks! Thank-you all for your support. Linda On Feb 8, 6:09 pm, LFS lfahlb...@gmail.com wrote

[sage-support] Re: Programming animation

2012-02-08 Thread LFS
@Nils Got the animation to work - Really pleased! (Momentarily nothing will publish - when it does I will add the link.) Thanks for writing the script so simply. I was able to change things I wanted to change. BTW - if anyone copies and pastes the script from above, there is an bad line break

[sage-support] Re: Programming animation

2012-02-07 Thread LFS
find things. Best, Linda On Feb 6, 9:39 pm, kcrisman kcris...@gmail.com wrote: On Feb 6, 2:58 pm, Socius ant...@gmail.com wrote: On 6 Feb, 18:57, LFS lfahlb...@gmail.com wrote: I have to admit that I use GeoGebra for almost everything not 3d. It is absolutely fantastic (I do videos

[sage-support] Re: Programming animation

2012-02-07 Thread LFS
in-class demos and then assign similar problems where they create worksheets themselves. (This is mostly probability and statistics to IT engineers and we use scratch.) and on and on i go Linda On Feb 7, 2:22 pm, Jason Grout jason-s...@creativetrax.com wrote: On 2/7/12 5:13 AM, LFS wrote

[sage-support] Re: Programming animation

2012-02-06 Thread LFS
their probability results). On Feb 6, 5:31 pm, Socius ant...@gmail.com wrote: On 5 Feb, 17:20, LFS lfahlb...@gmail.com wrote: Hiya! Is there a relatively simple way to get a point to animate a point through a cycle keeping in mind my low programming skills ((like adding a wait between iterations

[sage-support] Programming animation

2012-02-05 Thread LFS
Hiya! Is there a relatively simple way to get a point to animate a point through a cycle keeping in mind my low programming skills ((like adding a wait between iterations?) ? I made this video with stop animation and an animated gif but it was a real pain.

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-29 Thread LFS
Thanks! Both of these tips are very important to me so extra thanks. Linda -- 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

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-28 Thread LFS
Found problem. The mathjax works great if all equations are properly input! However in sage editor, if you have an open span tag and you edit before the end /span tag, it will sometimes do a dreamweaver thing of closing the spantag and reopening it. You cannot see this in the editor. This may

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-28 Thread LFS
Just adding one more comment for search purposes: If you see your equation being cut off from text field into sage field, it means your translator is using 3 braces in a row {{{ Sage interprets {{{ as the beginning of a sage field. So check your translation. I had this problem using my equation

[sage-support] mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-27 Thread LFS
Hiya - we are looking at an array inside big left brace ... On my wikispaces page (you have to open the + details ...), big brace renders properly. http://sagemath.wikispaces.com/Surface+integral+function However On the sagenb page, you get encoding problems: http://sagenb.org/home/pub/4147/

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-27 Thread LFS
tags that mathjax cannot understand (and you don't see here, but do see in the html)). On Jan 27, 4:04 pm, Jason Grout jason-s...@creativetrax.com wrote: On 1/27/12 8:34 AM, LFS wrote: Hiya - we are looking at an array inside big left brace ... On my wikispaces page (you have to open

[sage-support] Re: mathjax big braces not rendering properly on sagenb nor publishing properly

2012-01-27 Thread LFS
, Linda On Jan 27, 7:55 pm, Jason Grout jason-s...@creativetrax.com wrote: On 1/27/12 11:11 AM, LFS wrote: Hiya Jason Thanks Jason for reply! http://test.sagenb.org/home/pub/27 Everything seems to work fine. However, I had to go into the html and fix it a zillion times. I highly

[sage-support] Re: plots in 3d are not published?

2012-01-18 Thread LFS
Thanks Jason for everything you are doing. I would really appreciate it if you would write here when we can publish 3d plots in sagenb. Thanks kcrisman for the confirm. At least I now know that I am not doing it wrong. Best Linda On Jan 18, 1:36 am, kcrisman kcris...@gmail.com wrote: BTW: I

[sage-support] Re: plots in 3d are not published?

2012-01-17 Thread LFS
Thanks so much everyone for working on this. 1. Tested again at sagenb with newly published worksheet: http://sagenb.org/home/pub/4060/ The 3d plots are still NOT being published. They publish on both the 4.7 http://sage.math.canterbury.ac.nz/home/pub/141/ and 4.7.1

[sage-support] Re: plots in 3d are not published?

2012-01-17 Thread LFS
Hiya Jason. That is what I assumed. But I need the 3d plots to publish :) So back to canterbury and 4.7. BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work with plot3d. There is no sample at the documentation: http://www.sagemath.org/doc/reference/sage/plot/plot3d/plot3d.html

[sage-support] Re: Animation with sage?

2012-01-15 Thread LFS
Thanks Rych! I appreciate your testing both the animation and the 3d plots. I see the http://dev.math.canterbury.ac.nz/ is 4.7.1 Is this a permanent site? Is there a document that tells the differences between 4.7, 4.7.1 and 4.7.2? (So far I have only found that line3d doesn't work in 4.7.)

[sage-support] Animation with sage?

2012-01-12 Thread LFS
Hi - I seem to be always asking questions... I wanted to animate flux. I found these links: http://www.sagemath.org/doc/reference/sage/plot/animate.html and http://wiki.sagemath.org/animate I tried the code, but it would not evaluate. It wanted me to install something called ImageMagick, which

[sage-support] Re: Animation with sage?

2012-01-12 Thread LFS
Thanks Alistair! I have been using the 4.7 notebook as it publishes 3d plots (the 4.7.2 does not), but your remark sent me back to the 4.7.2 notebook and voila - it must have ImageMagik on that service - since I got an animation to work! Really appreciate all the help everyone!. Linda -- To

[sage-support] Re: List of operations on vector functions?

2012-01-11 Thread LFS
Many thanks! Linda -- 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 URL: http://www.sagemath.org

[sage-support] List of operations on vector functions?

2012-01-10 Thread LFS
Hi I looked around quite a bit but probably not in the right places? I found I can define a vector function and how to get its derivative vector function. Is there a way to get at the component functions and/or a way to calculate the magnitude function of rprime? var ('t') r=vector(t,t^2,t^3)

[sage-support] Re: plots in 3d are not published?

2012-01-03 Thread LFS
Thank-you for all the replies! I appreciate all the help. == 2d plots are generated with jmol in the published worksheets; == 3d plots are NOT generated. == (If possible) I want my user/viewer to be able to view the published worksheet without having to install anything (except be java enabled).

[sage-support] plots in 3d are not published?

2012-01-02 Thread LFS
Hi - I am a new user of sage, but I very much like the ability to do (better than) mathematica quality mathematics and 3d plots legally :) However, when I publish my sage worksheet so that I can link to it and a non-sage user can view it, the 3d plots are not generated (neither plot3d nor