[sage-support] Newbie question

2009-09-16 Thread Dan Aldrich
I've been using sagenb for a few weeks now and have the hang of most of the easy things. Is there a way to generate tables of a user defined function? I'm still switching over to Excel or the TI calculator to do that. Thanks, -d --~--~-~--~~~---~--~~ To post

[sage-support] derivative function

2009-09-17 Thread Dan Aldrich
y=|x| 1st derivative should be +1 x0 and -1,X0 f(x) = abs(x) Dx = x.derivative() p1 = plot (f(x),(-5,5),color='black') p2 = plot (Dx, (0,5),color = 'red') p3 = plot (Dx, (-5,0),color = 'blue') show (p1+p2+p3) -d --~--~-~--~~~---~--~~ To post to this group,

[sage-support] trig axis labels

2009-11-11 Thread Dan Aldrich
Is there a way to label x-axis in terms of pi, say like pi/2, pi, 3pi/2? Thanks, -d --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] sagenb popup

2009-12-03 Thread Dan Aldrich
FYI, just started getting this pop-up today on sagenb.com. Things are working fine once I get past this. It looks like jsMath failed to set up properly (error code -7). I will try to keep going, but it could get ugly. -d -- To post to this group, send email to sage-support@googlegroups.com

Re: [sage-support] ploting x^(1/3)

2009-12-18 Thread Dan Aldrich
Two options I can think of, probably a lot more from the elders here: 1) turn off verbose set_verbose(-1) f(x) = x^(1/3) plot(f(x),(-5,5)) 2) Don't plot negative f(x) = x^(1/3) plot(f(x),(0,5)) -d At 09:55 AM 12/18/2009, you wrote: Why when I want

[sage-support] axis labels using sagenb

2010-01-24 Thread Dan Aldrich
Is there any flexibility on where axis labels are placed? I'd like to see them under the x axis and vertically along the y. Seems like there should be more than just axes_labels= tag. Thanks, -d -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Text in plot3d

2010-09-07 Thread Dan Aldrich
OK, this should be simple enough, but haven't found a way to add some text to simple 3d plot: f(x,y) = x^2 + y^2 plot3d(f, (x,-10,10), (y,-10,10)) Any suggestions? Thanks, -d -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] exact vs approximate values

2011-08-27 Thread Dan Aldrich
Can the user control either to print an approximate value or an exact value? I tried to print the value of an integral under a bell curve: integrate(e^((-x^2)), x, -3, 3) and get: sqrt(pi)*erf(3) Thanks, -d -- To post to this group, send email to

Re: [sage-support] Warnings and lines

2011-09-06 Thread Dan Aldrich
Two questions, how to turn off divide by 0 warnings and how to draw a line over a plot. I was trying to draw a horizontal line at the equilibrium solution at y = -3. set_verbose(-1) #Turn off warning s1 = -3 p1 = plot_slope_field(((y+3)/(1-y)), (x,-6,6), (y,-6,6)).show(aspect_ratio=1) p2 =

[sage-support] Slope field question

2011-09-16 Thread Dan Aldrich
Looking at the published slope field examples, plotting a solution seemed a bit more difficult than I expected. Some packages just let you click on the point you want the solution go go through. I don't expect anything that simple but is there a way to plot a solution on the slope field if you

[sage-support] fill between

2011-10-10 Thread Dan Aldrich
Been trying to set up my graphs so I can select fill areas of a distribution curve. So far all I've been able to do is fill the entire curve. Any suggestions? Thanks, -d # distribution function f(x) = 1/sqrt(2*pi)*e^(.5*(-x^2)) # plus/minus 1 sigma s = 1 p = plot(f,(-pi,pi),ymax = .4,

Re: [sage-support] Re: fill between

2011-10-11 Thread Dan Aldrich
I'm trying to fill in the bell curve between two points, like plus and minus 1 sigma. -d At 09:19 PM 10/10/2011, you wrote: What exactly are you trying to fill? Can you find a picture showing an example of what you are trying to achieve? -- To post to this group, send email to

[sage-support] vector field question

2012-06-04 Thread Dan Aldrich
I've used sage for a while now and have used the vector field for equations. I'm a bit stumped on this one. I want to make an 2D electric field chart from an array of voltage measurements like an isobar chart only lines of equal voltage potential. I've searched, but haven't found sample code.

Re: [sage-support] Re: vector field question

2012-06-04 Thread Dan Aldrich
YES! I couldn't think of the term. I'll go back to searching for that. Thank you, -d At 06:25 PM 6/4/2012, you wrote: On Monday, June 4, 2012 3:12:00 PM UTC-7, Dan Aldrich wrote: I've used sage for a while now and have used the vector field for equations. I'm a bit stumped on this one. I

Re: [sage-support] Re: vector field question

2012-06-04 Thread Dan Aldrich
Well, I spoke too soon. I can plot the matrix, but not contour_plot it. V = matrix([ [0.020, 0.020, 0.016, 0.014, 0.011, 0.011], [0.021, 0.018, 0.016, 0.013, 0.010, 0.011], [0.017, 0.015, 0.015, 0.012, 0.010, 0.011], [0.013, 0.013, 0.011, 0.009, 0.007, 0.009], [0.011, 0.010,

Re: [sage-support] Re: vector field question

2012-06-05 Thread Dan Aldrich
Thank you Jason. That is very close to what I was looking for. I turned off the fill. Is there a way to label each contour line? I'd like to label the voltage gradient on the line like a topographic map. -d At 09:13 PM 6/4/2012, you wrote: There are several things you could do: Use the

[sage-support] CSV file I/O

2012-06-22 Thread Dan Aldrich
Trying to read in a .csv file into sagenb. data = list(csv.reader(file('C:/Documents and Settings/Dan/My Documents/Lab6.csv'))) Then I thought about using a file dialog instead: import csv import tkFileDialog filename = tkFileDialog.askopenfilename() csvfile = open(filename, rb) But that

Re: [sage-support] Re: CSV file I/O

2012-06-22 Thread Dan Aldrich
I think it's a file path problem, that's why I tried the file open dialog. I took a look at my path: '/sagenb/servers/sage_notebook-sagenb.sagenb/home/daldrich/24/data/' But that's on the sagenb server. Is there a way to upload my csv? That might make things simpler. -d At 01:43 PM

[sage-support] Missing worksheet contents

2012-06-23 Thread Dan Aldrich
One of my worksheet's contents has just disappeared. The worksheet is still listed on sagenb.org as an active worksheet, but when I open it, nothing happens. Not a major crisis, I was able to recover most of it from .zips I make and D/L, but just wanted to let someone know about it. -d --

Re: [sage-support] Re: Missing worksheet contents

2012-06-23 Thread Dan Aldrich
PM 6/23/2012, you wrote: On 6/23/12 2:07 PM, Dan Aldrich wrote: One of my worksheet's contents has just disappeared. The worksheet is still listed on sagenb.org as an active worksheet, but when I open it, nothing happens. Not a major crisis, I was able to recover most of it from .zips I make

Re: [sage-support] Re: Missing worksheet contents

2012-06-24 Thread Dan Aldrich
I inserted text in one of my graphs to show the RC constant (tau) of a cap. That would be the unicode character you're seeing. Something like: text($\\tau$ = 0,(tau + .02 ,f(tau))) -d At 10:52 PM 6/23/2012, you wrote: Interesting. I see errors in the server log about unicode characters,

[sage-support] reading SWS files

2012-07-17 Thread Dan Aldrich
I'm trying to recover a worksheet that doesn't open on sagnb. I downloaded and unziped the files. What format are the SWS files in? -d -- 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

Re: [sage-support] Re: reading SWS files

2012-07-17 Thread Dan Aldrich
Thank you. I tried winrar beforehand and the content was mangled. I'll get a copy on my mac and try tar. Perhaps the worksheet is mangled on the sagenb server and that's the root problem with this one worksheet. -d At 11:07 AM 7/17/2012, you wrote: On 7/17/12 9:59 AM, Dan Aldrich wrote

[sage-support] Public worksheets

2012-07-24 Thread Dan Aldrich
I know you've had problems w/ malicious user(s). How long will public worksheets be disabled? -d -- 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] Comlplex operators

2012-09-02 Thread Dan Aldrich
Is there a 'solve' type operator to solve the resultant of adding 3 different phasors? 6*e^(30*i) + ComplexNumber(-3,5) + 1*e^(45*i) Thanks, -d -- 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] Sagenb.org

2012-09-14 Thread Dan Aldrich
Haven't been able to access sagenb.org or .com for over a day. Is this a long term outage? Thank you, -d -- 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

[sage-support] Convolution

2012-09-17 Thread Dan Aldrich
Can't seem to get the convolution of these two functions. f(t) = unit_step(t) - unit_step(t-3) g(t) = unit_step(t) - unit_step(t-1) Matlab (argghh...) does it simply: conv(f,g). I tried the methods in the documentation: z = f.convolution(g), but no no luck getting it to work in sage.

[sage-support] Folders in sagenb

2012-09-22 Thread Dan Aldrich
Is there a way to have folders in sagenb to contain your worksheets? Would help organizing your worksheets. -d -- 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

[sage-support] Raspberry pi

2012-09-24 Thread Dan Aldrich
OK, this doesn't get me kicked off the list, nothing will... Has anyone considered porting sage over to the raspberry pi? -d -- 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] Loosing worksheets

2013-02-27 Thread Dan Aldrich
Just noticed today that worksheets I've made over the last few weeks have been not appearing in my active worksheet list. Anyone else seeing this? -d -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Routh–Hurwitz stability

2013-03-25 Thread Dan Aldrich
I'm looking for a library to do Routh–Hurwitz stability calculations. Are there any libraries in Sage that do this? Couldn't find them in scipy/numpy etc. Thanks, -d -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this

[sage-support] Lost worksheets

2013-04-17 Thread Dan Aldrich
I'm still having problems with worksheets getting lost. My older worksheets seem to be in place. Sometimes it happens the same day, I write a worksheet in the morning and in the evening it doesn't appear when I log in at home. -d -- You received this message because you are subscribed to the

Re: [sage-support] Re: Lost worksheets

2013-04-17 Thread Dan Aldrich
I use sagenb.org which redirects me to www.sagenb.org. I use my username/PW, I've been using sage before the google/FB authentication. My username is daldrich. -d On Apr 17, 2013, at 6:19 PM, Jason Grout jason-s...@creativetrax.com wrote: Are you talking about sagenb.org? Which server are

Re: [sage-support] Re: Lost worksheets

2013-04-17 Thread Dan Aldrich
OK, I just created a worksheet, foo1: http://www.sagenb.org/home/daldrich/47/ Been using sage for years now, I've never explicitly saved my worksheets. This one I created, ran, then logged off. Logging back on, it was there so don't think that's the problem. There are lost worksheets, sorry

Re: [sage-support] Re: Lost worksheets

2013-04-17 Thread Dan Aldrich
sagenb.org definitely redirects me to http://www.sagenb.org -d On Apr 17, 2013, at 6:19 PM, Jason Grout jason-s...@creativetrax.com wrote: On 4/17/13 5:11 PM, Dan Aldrich wrote: I'm still having problems with worksheets getting lost. My older worksheets seem to be in place. Sometimes

[sage-support] contour_plot question

2013-09-03 Thread Dan Aldrich
I'm trying to put a point on a contour plot. p1 = contour_plot(f(x,y), (x,-10,10),(y,-10,10)) p2 = point((0,0), color = 'red', point size = 30) show(p1+p2) I think the problem is apples and oranges related. Is there a way to do this? Thanks, -d -- You received this message because you are

[sage-support] complex variables

2013-09-14 Thread Dan Aldrich
Do complex variables have methods associated to do angle or magnitude of them? Just wondering if I need to write my own functions or they're already there. Thanks, -d -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this

[sage-support] Div, grad, curl

2013-10-04 Thread Dan Aldrich
Does sage have any functions for div/grad/curl/del squared? Thanks, -d -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com.

[sage-support] Lost worksheets

2013-10-06 Thread Dan Aldrich
A while back I mentioned that I was losing worksheets. I noticed today what was going on. I select new worksheet, but I don't get a new worksheet, but an older (usually the last opened) and comes up w/ a rename panel. Sometimes the worksheet number gets updated (daldrich/47 to daldrich/48)

[sage-support] Matrix printing

2013-10-15 Thread Dan Aldrich
Trying to format the output of a matrix, B. Sage reports: type 'print obj.str()' to see all of the entries) But print B.str() doesn't give me any format options. Is there a way control output like a regular print statement? Thanks, -d -- You received this message because you are subscribed to

[sage-support] Password recovery

2014-09-21 Thread Dan Aldrich
Password recovery for ask.sagemath doesn't seem to be working. -d -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To

[sage-support] Solving reliability problems in Sage

2014-09-21 Thread Dan Aldrich
Trying to solve a reliability problem, to find lamda and mu, is there a way to get a numerical result? I tried a couple different variations of solve, but never got it in terms of just lambda or mu. Thanks, -d lamda = var('lamda') mu = var('mu') ​ a2 = .5*(3*lamda + mu) - (.5*sqrt((lamda^2 +