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,
>>
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
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
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
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
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
...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
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.
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
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,
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
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
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
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
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
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,
-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
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
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*
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
ing TeX and convert to some
XML dialect!)
Dan
--
--- Dan Drake
- www.math.wisc.edu/~ddrake/
---
signature.asc
Description: Digital signature
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
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
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
ith a testcase. I'd like to see what is
happening.
Dan
--
--- Dan Drake
- http://math.pugetsound.edu/~ddrake
---
signature.asc
Description: Digital signature
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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'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
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
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
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
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
'
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
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
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
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
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
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:/
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
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
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
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
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
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
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,
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
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
--
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
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, "
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
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
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
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
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
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
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
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 - 100 of 380 matches
Mail list logo