Re: [sage-support] “python3.8” cannot be opened because the developer cannot be verified.

2021-02-15 Thread Ishai Dan-Cohen
Awesome, thanks! On Thursday, February 4, 2021 at 8:39:21 PM UTC+2 dim...@gmail.com wrote: > to get Anywhere back, please run > > sudo spctl --master-disable > > in Terminal > > > > On Thu, 4 Feb 2021, 17:43 Ishai Dan-Cohen, wrote: > >> Hi Julian, >>

Re: [sage-support] what do i need to run sage in linux directly from usb boot

2021-01-31 Thread dan hayes
39 AM UTC-6 dim...@gmail.com wrote: > On Sat, Jan 30, 2021 at 3:27 PM dan hayes wrote: > > > > what is all this talk about download binaries, usb key, iso and all that > ? what do i need to make a bootable usb with linux and sage complete and > NOTHIng else. what is the difference

[sage-support] “python3.8” cannot be opened because the developer cannot be verified.

2021-01-31 Thread Ishai Dan-Cohen
I'm trying to run Sage on my MacBook Air running macOS Big Sur 11.1. I downloaded the dmg file sage-9.2-OSX_10.15.7-x86_64.dmg, ran it, and moved the folder SageMath into my applications folder. I then try to run sage by double clicking "sage", but I get the error message " “python3.8” cannot be

[sage-support] what do i need to run sage in linux directly from usb boot

2021-01-30 Thread dan hayes
what is all this talk about download binaries, usb key, iso and all that ? what do i need to make a bootable usb with linux and sage complete and NOTHIng else. what is the difference between binaries , key, iso and usb key why do u not have just one file setup.exe? also i already have and am us

Re: [sage-support] Re: Jupiter Server fails to start on macOS Catalina

2020-04-05 Thread 'Dan Brooks' via sage-support
I had the same problem as the OP. Jupyter Server would not start after install of the .app.dmg package. I can report success launching Sage from the Applications icon after the following steps: 1) Grant Full Disk Access in System Preferences->Security->Privacy (as suggested previously) 2) La

[sage-support] splitting field problem

2016-04-22 Thread Dan Ismailescu
The following quadratic polynomial $P(X)= -51813033263*X^2+(-1291618080*sqrt(23)*sqrt(91)-7932964704*sqrt(91)*sqrt(2)-16045600662*sqrt(23)-13979137536*sqrt(2))*X+1551583008*sqrt(23)*sqrt(91)*sqrt(2)-29605395456*sqrt(23)*sqrt(2)-20092874592*sqrt(91)+95826938671$ can be factored as $(1/5181303326

[sage-support] Re: please test SageTeX 3.0

2015-08-26 Thread Dan Drake
...and, if anyone is in the mood to review a SageTeX-related ticket, here's an easy one about documentation: http://trac.sagemath.org/ticket/14343 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving

[sage-support] please test SageTeX 3.0

2015-08-26 Thread Dan Drake
rade (http://trac.sagemath.org/ticket/19072) which should be updated shortly. Dan -- 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.

Re: [sage-support] how to create a long dict?

2015-05-19 Thread Dan Drake
s there exist other way to do this? Hope to get your help, thanks > very much. Try just "dict()": dict(zip(keys, values)) {(0, 1): 0, (1, 2): 1} Here's how zip() works, if you don't already know: https://docs.python.org/3.5/library/functions.html#zip Dan -- --- Da

Re: [sage-support] latex and hold parameter

2015-01-20 Thread Dan Drake
n = 5 \end{sagesilent} blah blah $120/\sage{n}! = 120/\sage{factorial(n)} = \sage{120/factorial(n)}$. Another option here is to use a symbolic variable: \begin{sagesilent} n = var('n') \end{sagesilent} blah blah $120/\sage{factorial(n)}$ which,

Re: [sage-support] Joint Mathematics Meetings in San Antonio

2015-01-07 Thread Dan Drake
On Tue, 06 Jan 2015 at 12:39PM -0800, William Stein wrote: > Who is also going to the Joint Mathematics Meetings in San Antonio? I'll be there. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- -- You received this message because you are subscribed to the Google Group

Re: [sage-support] use load('f.sage') but with namespacing like 'import'

2015-01-02 Thread Dan Drake
On Wed, 31 Dec 2014 at 01:33PM -0600, Dan Drake wrote: > In a .sage script, I can use load('f.sage') to load all the stuff from > f.sage. But all the functions and definitions in f.sage get put into > the same namespace as the script. I'd like to get the kind of > name

[sage-support] use load('f.sage') but with namespacing like 'import'

2014-12-31 Thread Dan Drake
e, and this caused confusing behavior when it should have caused a "variable referenced before assignment" error.) I think I can manually preparse the loaded .sage file and then import that, but I'm wondering if there's a better way. Thanks, Dan -- --- Dan Drake - www.math

[sage-support] sage-mode installation finished, but isn't working?

2014-12-29 Thread Dan Drake
seemingly nothing else. I see something about sage-load.el and that wasn't generated, or I can't find it. Any ideas? Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- -- You received this message because you are subscribed to the Google Groups "sage-support&qu

Re: [sage-support] Solving system of equations

2014-12-02 Thread Dan Drake
x27;m doing wrong. In addition the problems Jim pointed out, "sys" is already defined as a Python module. You can overwrite that definition, as he suggested, but be aware that you won't be able to import and use the sys module then. (See https://docs.python.org/2.7/library/sys.html for wh

Re: [sage-support] Re: export 3D three.js graphics?

2014-12-02 Thread Dan Drake
On Mon, 01 Dec 2014 at 06:34PM -0800, William Stein wrote: > That's a way to make a *static* image. I strongly suspect that is not > at all what Dan is asking for. He is probably asking for a way to > embed a dynamic image in a website, with some combination of > javascript,

Re: [sage-support] export 3D three.js graphics?

2014-11-28 Thread Dan Drake
-10,10),(y,-10,10), threejs=true) Are those using three.js? We are using Javascript stuff and not Java anymore, right? I guess what I'm really asking for is how to export whatever Javascript code we generate to make the 3D graphics so that I can use it elsewhere. Dan -- --- Dan Drake

[sage-support] export 3D three.js graphics?

2014-11-28 Thread Dan Drake
Hi, If I have a 2D plot, I can save it to an image file and then include that image on any web page I like. Is there a corresponding way to export a three.js plot so that I can include it on a web page? Thanks, Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- -- You received

[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 + 6*

[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

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Dan Drake
my Sage code folder and I use it. I guess I was holding a hammer and it made his problem look like a nail... Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: [sage-devel] How to input a large system of equations?

2014-09-18 Thread Dan Drake
rn reduce(lambda x, y: f(x), range(n), arg) So the above list is [applyntimes(f, x, n) for n in range(whatever)] Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] using ? with sage-mode locks up emacs

2014-06-26 Thread Dan Drake
On Wed, 25 Jun 2014 at 10:06AM -0600, Ivan Andrus wrote: > Upgrade to 0.11. At least I don’t have any problems, and there was a > similar issue fixed. That seems to have fixed it. Thanks! Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: D

Re: [sage-support] Solving equation

2014-05-28 Thread Dan Drake
it? Try find_root(). You want a root of d(y) - 1, so try: find_root(lambda x: d(x) -1, -1, 1) which gives 0.6667. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Fwd: Sagemath cloud

2014-04-08 Thread Dan Drake
plot (x^(8/3), (x,-5,5)) Try plot(sign(x)*abs(x)^(8/3),-1,1) That's in the documentation for plot -- do plot? and look for the above construction (but with 1/3, not 8/3). Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: Sagetex issues

2014-03-19 Thread Dan Drake
ike to include some documentation of this. What exactly did you use for the user command to run Sage? Thanks, Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: Sagetex issues

2014-03-18 Thread Dan Drake
er Commands. I used the first entry and called it "Run Sage". For the command, you can use sage %.sagetex.sage Hit OK to save that. Then after you typeset your document, use Alt-Shift-F1 to run Sage. On my computer, this creates the files in the correct directory. Does that h

Re: [sage-support] Re: Sagetex issues

2014-03-12 Thread Dan Drake
s so > they're not empty). Ahh, that's very helpful. It looks like the Sage app on OS X is using your home directory as the working directory. So we need to look at how that works and get it to use the right directory. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: Sagetex issues

2014-03-12 Thread Dan Drake
That leads me to think that the script you're using to run Sage on that file isn't working in the correct directory. Are you using TeXShop? How are you trying to run Sage? You might try putting "pwd" into that script by itself on a line; that will print the directory the

Re: [sage-support] Re: Sagetex issues

2014-03-11 Thread Dan Drake
e doesn't exist. When you typeset example.tex, what files get created? (As for your other message, I think it's very unlikely that there's a permissions issue.) Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: Sagetex issues

2014-03-10 Thread Dan Drake
hat your TeX is using a version of sagetex.sty that is generating example.sage, not example.sagetex.sage. What do you get if you do kpsewhich sagetex.sty in a terminal? Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

[sage-support] [ali.moha...@stu.yazd.ac.ir: a question about SAGE software]

2014-02-13 Thread Dan Drake
ware? > would you please send me commands which help me to export a file from SAGE > to MatLab software. > ???I appreciate if you hint me. > > Thanks in advance???. > > ???Sincerely Yours???, > ???Ali Mohades??? - End forwarded message - -- --- D

Re: [sage-support] Sagetex and TeXShop

2013-12-05 Thread Dan Drake
tores the scripts that run Sage (I think it defaults to ~/Library/TeXShop/Engines/Inactive/Sage), but you can edit that script -- there should be something in it that runs Sage on "something.sage" (where "something" is perhaps $1 or other shell stuff); you should cha

Re: [sage-support] Re: Inability to compute limit.

2013-11-08 Thread Dan Drake
On Fri, 08 Nov 2013 at 01:41PM -0800, kcrisman wrote: > Dan, I'm on a train with horrible internet - can you open a ticket, post to > the Maxima list, etc.? Thanks! This is now http://trac.sagemath.org/ticket/15386. Dan -- --- Dan Drake - www.math.wisc.

Re: [sage-support] Re: Inability to compute limit.

2013-11-08 Thread Dan Drake
d by the n^2 in the denominator. Not sure what it's doing to find the limit. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

[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] 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) but

[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

Re: [sage-support] makestatic.py doesn't work?

2013-10-03 Thread Dan Drake
ted. I'll take a look at your errors and see if I can figure out what's going on. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

[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 gr

Re: [sage-support] sagetex and beamer

2013-09-13 Thread Dan Drake
ing TeX and convert to some XML dialect!) Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] sagetex and beamer

2013-09-12 Thread Dan Drake
There may be a limit to how far you can push the Beamer/SageTeX combo. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

[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 sub

Re: [sage-support] Another infelicity in sagetex : example.tex does not run with tikz prts uncommented (they did...)

2013-08-16 Thread Dan Drake
a problem, it's almost always with TeX or at the Python level in Sage. Dan -- --- Dan Drake - www.math.wisc.edu/~ddrake/ --- signature.asc Description: Digital signature

Re: [sage-support] Re: Problem with sagetex with a large file (many sage calculations)

2013-05-04 Thread Dan Drake
ith a testcase. I'd like to see what is happening. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] Re: sage is filling up my directory with files

2013-04-24 Thread Dan Drake
gt; > on. (I attached code contained in a file called 'threshold.sage'. I get > > the same behavior from other attached files.) These files remain in the > > directory after i quit Sage. Could someone tell me what's wrong? > > > > Thanks, > > Dave > > > Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] Re: No DPI information in PNG files (parametric_plot3d)

2013-04-24 Thread Dan Drake
the image different DPI values. The computer cannot, without input from me, figure out what I want. Discussions like this are part of why I would like vector-based output for our 3D plotting. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description

Re: [sage-support] Re: No DPI information in PNG files (parametric_plot3d)

2013-04-24 Thread Dan Drake
that I don't know about, but it seems like this is something we can't solve for the user. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] Short and localized measurement units names. Also typesetting

2013-04-24 Thread Dan Drake
SIunitx to add the units. I'd like to see units typeset themselves with SIunitx, but I'm not sure how that would work with the notebook and MathJax. Dan References: [1] http://ctan.org/pkg/siunitx -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] No DPI information in PNG files (parametric_plot3d)

2013-04-23 Thread Dan Drake
lib. > P.S. Note that i have to specify [png] when invoking sageplot, > otherwise SageTeX will fall back to png, but then claim that png is > unsupported (bullshit) SageTeX uses the ifpdf package to detect PDF output; that message is printed whenever \ifpdf is false. But that package doesn

Re: [sage-support] Re: Sage+TeX for Windows dummies

2013-04-22 Thread Dan Drake
On Mon, 22 Apr 2013 at 05:55AM -0700, kcrisman wrote: > Dan, this seems like it might be a useful thing to include with SageTeX, > unless TeXWorks is planning on including this in an update. It's just a > shell script, and could be put in an appropriate directory along with

Re: [sage-support] Re: Sage+TeX for Windows dummies

2013-04-19 Thread Dan Drake
the Texworks site that they have some kind of scripting functionality -- what you want is something that automatically runs Sage after typesetting. If they don't have that, you can always open a terminal and run Sage there whenever you change any of the SageTeX commands in your do

Re: [sage-support] Re: Sage+TeX for Windows dummies

2013-04-18 Thread Dan Drake
On Sat, 13 Apr 2013 at 06:46PM -0700, kcrisman wrote: > Dan, do you have any tips for using SageTeX on Windows? I'm a bit late here, but sadly my only tip is: switch to OS X or Linux. Which I know is not always a good option. Until we have a working Cygwin port, I don't see any goo

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 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 it hap

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 bu

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 wrote: > Are you talking about sagenb.org? Which server are you using? What > authentic

[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] generate latex from symbolic expression without \;

2013-04-09 Thread Dan Drake
havior is avoided, so that the above will return "2 > x" instead? I would also like to remove those hard-coded spaces. It makes SageTeX much less pleasant, since the output looks weird. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] Re: Help with SageTeX

2013-04-07 Thread Dan Drake
On Sun, 07 Apr 2013 at 01:34AM -0700, Gabriel wrote: > Any ideas on this problem of double questions marks "??" in LaTeX with > SageTeX ? If you're seeing those, you haven't run Sage on the generated .sagetex.sage file, or haven't typeset again after doing so. Dan

Re: [sage-support] Re: Fwd: sage.maa.org

2013-04-04 Thread Dan Drake
On Thu, 04 Apr 2013 at 05:06AM -0700, kcrisman wrote: > Now that I think about it, you shouldn't be able to make an account on it > anyway... Dan, that's probably because OpenID is now allowed or something. > In principle, one should have to know "the mag

[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 g

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread Dan Drake
On Sat, 09 Mar 2013 at 06:06PM +, John Cremona wrote: > Thanks, I have that file too: so the only error is in the > documentation which gives the wrong path to the file. This is now http://trac.sagemath.org/sage_trac/ticket/14264 . Dan -- --- Dan Drake - http://math.pugetsou

Re: [sage-support] Re: sagetex documentation

2013-03-09 Thread Dan Drake
p a compiler! I do notice that the share/doc/sagetex directory doesn't have the example.tex file, which it should. I'll try to fix that and change the documentation. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] sage vs matlab

2013-03-04 Thread Dan Aldrich
I've been using Sage for about 3 years now. One thing that hit me was when I got into the 3rd year Electrical Engineering classes, my Matlab usage was increasing because professors wanted all homework done in Matlab not Sage. Scipy have a decent library of signal processing functions. Matlab w

[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 rece

Re: [sage-support] Re: Sagetex

2013-02-24 Thread Dan Drake
that > has the new sagetex.sty, but I don't know how to do that and the web > wasn't helping, so I'll update texlive instead.) A simpler fix is to simply delete or rename the sagetex.sty in the TeXLive installation. But upgrading works too. :) Glad to hear it's fix

Re: [sage-support] Re: Sagetex

2013-02-22 Thread Dan Drake
Your TeX installation might somehow be using an older .sty file (despite your symlink, which seems like it should work fine) and generating a bad .sage file. That's my best guess right now. Inside Sage, you could do import sagetex sagetex.__version__ and see if it matches what t

Re: [sage-support] Re: sagetex difficulty

2012-12-15 Thread Dan Drake
On Sat, 15 Dec 2012 at 10:55AM -0800, pong wrote: > Hi Dan my intention is to generate tests using sagetex and sage. So I will > have something like > > m = 'undefined' if denom==0 else (y2-y1)/(x2-x1) > > . > > then print out m at some point. So $\sage{m

Re: [sage-support] Re: sagetex difficulty

2012-12-15 Thread Dan Drake
mpletely oblivious to the difference between \sage{r"\nabla"} and \sage{"\nabla"}, so you can always use the former to get your intended behavior. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] Matrix question

2012-11-26 Thread Dan Drake
not sure if that's a "logical reason", but most people seem to like it. Should we have a "strict inverse" that throws a ValueError -- or ZeroDivisionError -- when the parent isn't a field? (That's not rhetorical or sarcastic, I really wonder if anyone thinks that's a good idea.) Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] java style output format

2012-11-26 Thread Dan Drake
re's a nice way to overload some of that stuff and define your own outputs, so that "exp()" becomes "Math.exp()", just like latex(sin(x)) is \sin\left(x\right) Thoughts? Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

[sage-support] graphics_array only shows axes labels on final plot

2012-10-17 Thread Dan Drake
and expected to see my axes labels on both plots -- but I only get the label on the *second* plot. If you switch p and q, you still get the label on the second plot. If I do [p, q, p], I only get the label on the final plot. This seems like a bug. Is there a workaround? (I have a talk this

Re: [sage-support] Re: can't exponentiate an mpmath mpf number

2012-10-16 Thread Dan Drake
gt; sage: a = mpmath.mpf('-0.0712959029907420240935') > sage: a.exp > -56 > sage: type(a.exp) > > > Yup, can't call that. Good find. This is now http://trac.sagemath.org/sage_trac/ticket/13608. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

[sage-support] can't exponentiate an mpmath mpf number

2012-10-16 Thread Dan Drake
exp(-0.0712959029907420240935) 0.93118631054266770709 And if I wrap the mpf in "N( )" to explicitly convert to a regular Sage float, it works. I'm using 5.3 on 64-bit Linux. Is this expected behavior, or a bug? Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

Re: [sage-support] SEGV in libatlas.so

2012-10-12 Thread Dan Drake
On Fri, 12 Oct 2012 at 05:21PM +0300, Georgi Guninski wrote: > Simpler testcase: > > g=graphs.CycleGraph(44);m=g.adjacency_matrix() > m^7 This works for me. You'll need to give more information before anyone can help you -- platform, whether you compiled yourself or use a

Re: [sage-support] Re: why I can use "sage-slide.tex" to generate math output

2012-10-03 Thread Dan Drake
' That is really strange. SageTeX's Python module doesn't have any openout function, and according to "hg grep", it never did. There's no openout anywhere in the Sage source. I have no idea where that came from. Upgrading to the most recent version of Sage sounds like the best thing to do here. Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake --- signature.asc Description: Digital signature

[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. T

[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] 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. Th

[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 t

Re: [sage-support] What's wrong with this comparison?

2012-09-12 Thread Dan Drake
use comparing floating-point numbers is tricky. As I understand, none of those numbers can be expressed exactly as a float, so internally Python/Sage/whatever is using an approximation -- and after the addition, the error is big enough to return False. Dan -- --- Dan Drake - http:/

[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

[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

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 Ald

[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] Package to Draw Geometrical Figures

2012-07-07 Thread Dan Drake
ething like tkz-euclide, but within sage. I don't know if this is exactly what you want, but do investigate GeoGebra (http://geogebra.org). With it, you can make very nice Euclidean figures and export them to HTML, TikZ, and others. It's not part of Sage, but it works very well and I like it

[sage-support] change the default viewpoint in a 3D plot?

2012-06-28 Thread Dan Drake
7;hsv') p2=plot3d(f(x,y),(x,-5,5),(y,-5,5)) p3=plot(g(x),(x,-5,5)) p4=plot(h(y),(y,-5,5)) show(p1,figsize=3) show(p2,figsize=3) Do we have a way of specifying a viewpoint when doing a 3d plot? Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~drake --- signature.asc Description: Digital signature

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,

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 mak

[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: 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 6/22/201

[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, "

Re: [sage-support] sagetex difficulty

2012-06-12 Thread Dan Drake
14:44 sage-5.0-sagetex.sty > lrwxrwxrwx 1 root root20 Jun 12 14:44 sagetex.sty -> sage-5.0-sagetex.sty > > and all is well! Using the symlink and a versioned filename is a nice idea. Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~drake --- signature.asc Description: Digital signature

Re: [sage-support] sagetex difficulty

2012-06-12 Thread Dan Drake
ex.sty" or whatever. You could also update to a newer version of TeXLive, but getting rid of the old sagetex.sty solves the immediate problem. Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~drake --- signature.asc Description: Digital signature

Re: [sage-support] sagetex difficulty

2012-06-11 Thread Dan Drake
twice) I get a dvi > file which looks perfect. That tells me that LaTeX must be getting confused somewhere. We just need to figure out what wrong version of sagetex.sty it is finding. Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~drake --- signature.asc Description: Digital signature

Re: [sage-support] Crash report: integral of ln(1+4/5*sin(x)) crashes Maxima and Sage

2012-06-07 Thread Dan Drake
eta13 sage-5.0.beta14 sage-5.0.rc0 sage-5.0.rc1 sage-5.0 sage-5.1.beta0 sage-5.1.beta1 sage-5.1.beta2 So we should look between 5.0.beta2 and 5.0.beta3, I guess. Dan -- --- Dan Drake - http://mathsci.kaist.ac.kr/~drake --- signature.asc Description: Digital signature

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 matpl

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, 0.00

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 st

[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. I

  1   2   3   4   >