Hi Jason,
Setting axes_pad=.1 does work. Thanks! However, I tried your
codes in the previous email. The resulting graph has nodes "clump
together". I guess the problem is with the value 1.5. When I changed
that to a smaller value say .05 then things work just fine. Even
though, sqrt(area/pi)
On Thu, Oct 22, 2009 at 11:03 PM, Jason Grout
wrote:
>
> William Stein wrote:
>> On Thu, Oct 22, 2009 at 10:09 PM, pong wrote:
>>> I am using SAGE 4.1.2 notebook on firefox on a Mac.
>>>
>>> k=graphs.CompleteGraph(6)
>>> show(k)
>>>
>>> displays K_6 but the vertices got truncated. I don't have t
William Stein wrote:
> On Thu, Oct 22, 2009 at 10:09 PM, pong wrote:
>> I am using SAGE 4.1.2 notebook on firefox on a Mac.
>>
>> k=graphs.CompleteGraph(6)
>> show(k)
>>
>> displays K_6 but the vertices got truncated. I don't have this problem
>> on a linux machine running SAGE 4.1.1 notebook on
pong wrote:
> I am using SAGE 4.1.2 notebook on firefox on a Mac.
>
> k=graphs.CompleteGraph(6)
> show(k)
>
> displays K_6 but the vertices got truncated. I don't have this problem
> on a linux machine running SAGE 4.1.1 notebook on firefox.
>
> Any help?
> I would like to include the pic but I
Thanks for the reply.
Is it a bug of SAGE 4.1.2 or just the Mac distribution? I guess my
question is if I upgrade SAGE to the latest version on my linux
machine, will I get the same problem?
On Oct 22, 10:22 pm, William Stein wrote:
> On Thu, Oct 22, 2009 at 10:09 PM, pong wrote:
>
> > I am u
On Thu, Oct 22, 2009 at 10:09 PM, pong wrote:
>
> I am using SAGE 4.1.2 notebook on firefox on a Mac.
>
> k=graphs.CompleteGraph(6)
> show(k)
>
> displays K_6 but the vertices got truncated. I don't have this problem
> on a linux machine running SAGE 4.1.1 notebook on firefox.
>
> Any help?
> I w
I am using SAGE 4.1.2 notebook on firefox on a Mac.
k=graphs.CompleteGraph(6)
show(k)
displays K_6 but the vertices got truncated. I don't have this problem
on a linux machine running SAGE 4.1.1 notebook on firefox.
Any help?
I would like to include the pic but I don't see how on using this
dis
On Thu, Oct 22, 2009 at 12:00 PM, Mariah Lenox wrote:
>
> I have a sage script that generates some graphs
> and text. When I load the script in a cell of a sage worksheet,
> I get everything I expect ... plus a message
>
> "WARNING: Output truncated"
>
> and a link for "full_output.txt".
>
> If
On Thu, Oct 22, 2009 at 1:48 PM, Jim Clark wrote:
>
> Here's another case that was working in the tinyMCE cell in Sage 4.0,
> produces the error "Couldn't find \end for begin{cases}" in Sage 4.1.2,
> but works in a normal (html) cell:
>
> %html
> For the potential defined by:$$ V(x) = \begin{case
On Thu, Oct 22, 2009 at 01:11:18PM -0400, Mariah Lenox wrote:
>
> Would a sage developer please check in this (very minor)
> patch to the symbolic/expression.pyx documentation.
>
[...]
Up at
http://trac.sagemath.org/sage_trac/ticket/7265
--
Alex Ghitza -- Lecturer in Mathematics -- The Unive
I want to take the expression sqrt(16) from a function parameter and
return the sqrt(16) not 4. Is this possible?
Thanx
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-supp
Here's another case that was working in the tinyMCE cell in Sage 4.0,
produces the error "Couldn't find \end for begin{cases}" in Sage 4.1.2,
but works in a normal (html) cell:
%html
For the potential defined by:$$ V(x) = \begin{cases}
0 & 0 \leq x \leq a\cr
\infty & x<0, x > a
\end{cases}$$
I have a sage script that generates some graphs
and text. When I load the script in a cell of a sage worksheet,
I get everything I expect ... plus a message
"WARNING: Output truncated"
and a link for "full_output.txt".
If I "save & quit" the worksheet, then
restart the worksheet, now I do NOT
On Oct 22, 2009, at 2:15 PM, Nasser Abbasi wrote:
Hi,
how do you run matlab command from sage like this above? I have sage
4.1.2 and matlab 2008b installed on my windows XP PC, but when I run
the above, it tells me it can't start matlab:
a = random_matrix(RDF,2000)
timeit('a*a')
5 loops, bes
On Oct 22, 11:59 am, William Stein wrote:
>
> Here's a benchmark (the first thing I tried):
>
> sage: a = random_matrix(RDF,2000)
> sage: timeit('a*a')
> 5 loops, best of 3: 1.8 s per loop
> sage: b = matlab('rand(2000)')
> sage: timeit('b*b')
> 5 loops, best of 3: 3.4 s per loop
>
> Sage is t
On Oct 22, 6:59 pm, William Stein wrote:
> Here's a benchmark (the first thing I tried):
nice+thx for this idea, i did the same on my machine using matlab
2009a (most recent i guess?)
sage: a = random_matrix(RDF,2000)
sage: timeit('a*a')
5 loops, best of 3: 3.28 s per loop
sage: b = matlab('r
Would a sage developer please check in this (very minor)
patch to the symbolic/expression.pyx documentation.
# HG changeset patch
# User Mariah Lenox
# Date 1256231140 14400
# Node ID aaf2842929eca5d009d6a580a494e5f728517785
# Parent 5bf36a37cd0c2ce42b6bf42038e84a1968d3ad8b
user: Mariah Lenox
On Thu, Oct 22, 2009 at 9:41 AM, Marshall Hampton wrote:
>
> You might find this helpful:
>
> http://www.scipy.org/PerformancePython
>
> Generally I think numpy's numerical linear algebra is comparable to
> matlab's.
>
> -Marshall
Here's a benchmark (the first thing I tried):
sage: a = random_m
I frequently shift-click over a cell and define my problems over the
cell using Latex. On importing my old work sheets most of those look
fine. Arrays that are 1X2 are fine however all of the 2x2 arrays
don't wwork in the html cell. If I include the same Latex code inside
my cell using html it
You might find this helpful:
http://www.scipy.org/PerformancePython
Generally I think numpy's numerical linear algebra is comparable to
matlab's.
-Marshall
On Oct 22, 8:15 am, Harald Schilly wrote:
> not really, at least not that i'm aware of. you should ask this at
> numpy/scipy since they a
On Thu, Oct 22, 2009 at 8:00 AM, Mike Hansen wrote:
>
> 2009/10/22 Thierry Dumont :
>> Is there any way to pass such memory size option to gap.console() ?
>
> Currently, GAP is started with the following command:
>
> sage: gap._Expect__command
> 'gap -r -L /home/mike/.sage//gap/workspace-28694698
2009/10/22 Thierry Dumont :
> Is there any way to pass such memory size option to gap.console() ?
Currently, GAP is started with the following command:
sage: gap._Expect__command
'gap -r -L /home/mike/.sage//gap/workspace-2869469835351106948 -b -p
-T -o G /opt/sage/data//extcode/gap/sage.g'
One of our Sage users want to make computations with Gap, from inside Sage.
So his commands are:
>sage
>gap.console()
then he can read his Gap program, start to run it, but the program
aborts by lack of memory.
Classically, he uses gap directly, by typing:
> gap -o 4G (to get 4 Giga Bytes).
I
not really, at least not that i'm aware of. you should ask this at
numpy/scipy since they are much more similar to matlab ... (these
libraries are part of sage)
basically, python is slower in some respect, e.g. loops, since they
involve much more complex objects (i.e. python objects!). on the othe
Hi Joaquim!
On 22 Okt., 14:22, Joaquim Puig wrote:
> ... Is there any set of
> benchmarks of SAGE vs Matlab?
I don't know about Matlab. But there is
http://www.sagemath.org/tour-benchmarks.html
which is Sage vs. Magma. So, if nothing else is available, it might be
better than nothing.
Cheers,
Hi all,
I am preparing a presentation of SAGE for my department and I wanted
to illustrate it with few comparisons with other computer packages
(speed, simplicity of use, semantics). Many people in my department
work with Matlab and I wanted to compare speed. Is there any set of
benchmarks of SAG
Ok, thanks for the answer. I'm in Montevideo, Uruguay. The University
i'm talking about is "Universidad Católica del Uruguay Dámaso Antonio
Larrañaga" (the Catholic University of Uruguay). We use either Sage or
Maxima (whatever the wants to use) as a tool for Calculus 2, still we
get to learn both
Hi Burcin,
I found a work around in my case:
model_sol1_l=lambda x:exp(x)**sol1_l[a]*exp(sol1_l[b])
instead of
>model_sol1_l(I)=model_exp.subs(sol1_l)
Then it is at least possible to call the function, but the arguments
have to be of real type or floats
Greets and thanks,
Stefan
On Oct 2
Hi,
just came back to check for any progress in this thread. Tried your
patch and it seems to work fine for me.
Thanks a lot,
Felix
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email
Hi Stefan,
On Wed, 21 Oct 2009 19:49:58 -0700 (PDT)
Ichnich wrote:
>
> Hi,
>
> something does not work anymore in my notebook (with version 4.1.2
> ubuntu 64bit):
>
>
>
> var('a,b,c,I')
> model(I)=a*I+b
> model_exp = exp(I)**a*(b)
> sol1_l={b: 5.0, a: 1.1}
> model_sol1_l(I)=model_exp.subs(
Hi,
something does not work anymore in my notebook (with version 4.1.2
ubuntu 64bit):
var('a,b,c,I')
model(I)=a*I+b
model_exp = exp(I)**a*(b)
sol1_l={b: 5.0, a: 1.1}
model_sol1_l(I)=model_exp.subs(sol1_l)
The notebook hangs-up. It's critical on the parameter a, if you change
it to 1.0 it's o.
31 matches
Mail list logo