Hi everybody.
In the tutorial:
Alternatively, evaluating c.save('filename.png')
will save the plot to the given file.
I tried it, then searched my disk for the relevant filename
with no result. Is it a bug? What directory ought it to be in?
If I try to read in a file, what is th
On 9/2/11 7:24 PM, Chris Seberino wrote:
If you alter typsetting with pretty_print_default, then it works fine
but it does not magically
add/remove the check in the checkbox of the worksheet.
In other words, adding prety_print_default() to init.sage works but
the worksheet still shows an uncheck
On Sep 2, 6:49 pm, Jason Grout wrote:
> Type pretty_print_default() in an input cell and press shift-enter. All
> future output will be typeset automatically.
>
> Can you try to put pretty_print_default() in the init.sage and see if
> that works?
Jason
Thankfully that works great. There is o
On 9/2/11 3:51 PM, Chris Seberino wrote:
On Sep 2, 3:20 pm, William Stein wrote:
Unfortunately, I don't think there is support for this feature at present.
If there were, it would likely be implemented via the Settings link in
the notebook for a given user.
Just to make sure we are talking
> Consider: g = graph({1:[2,3,4,5],2:[3,5],4:[3,5]}).
Hahahahhahaaha ! Dead right :-)
And the code works anyway because the tree it returns actually is *NOT* a
BFS tree :-)
sage: g.lex_BFS(tree = True)[1].edges()
[(2, 1, None), (3, 2, None), (4, 5, None), (5, 2, None)]
Two (obvious) black patch
On Sep 2, 3:20 pm, William Stein wrote:
> Unfortunately, I don't think there is support for this feature at present.
> If there were, it would likely be implemented via the Settings link in
> the notebook for a given user.
Just to make sure we are talking about the same thing
So there is n
Hi,
Unfortunately, I don't think there is support for this feature at present.
If there were, it would likely be implemented via the Settings link in
the notebook for a given user.
On Fri, Sep 2, 2011 at 11:49 AM, Chris Seberino wrote:
> How make typesetting be the default in all notebooks?
>
>
Thanks,
This really has clarified everything :)
Much appreciated,
Vince
On 2 Sep 2011 14:49, "D. S. McNeil" wrote:
> In your code, ComSet is a Python list (not a set) as are many of its
> components, and you use len(x) to get the size:
>
> sage: ComSet, type(ComSet), len(ComSet)
> ([[[0, 1], [0,
Hi Nathann,
First, thank you for taking time to give a very detailed reply.
I'm sorry but I'm not yet done bothering you :-]
I think this is wrong:
> When v is considered for removal, it is a leaf of the lex-BFS tree.
> Its father (and first discoverer) is named x, and we suppose that
> there is a
How make typesetting be the default in all notebooks?
(i.e. I don't want users to have to check the Typeset checkbox all the
time.)
Sincerely,
Chris Seberino
P.S. I tried googling for it but could not find the answer.
--
To post to this group, send email to sage-support@googlegroups.com
To un
Hellooo Jan !
It is 20:20, it is almost dark outside and I am getting home by bike.
Worst of all, I am being assaulted by hungry mosquitoes. I re-read it
the following enough times to be sure that if I miswrote "v" instead
of "x" somewhere, reading it again wouldn't have changed anything.
Whe
On Fri, Sep 2, 2011 at 10:00 AM, Maarten Derickx
wrote:
> From the location of your sage install
> ~/Documents/sage-4.7.1-linux-32bit-ubuntu_10.04_lts-
> i686-Linux
>
> I see you downloaded a prebuild binairy, I guess what's going wrong is that
> this binary was compiled in such a way that it's no
>From the location of your sage install
~/Documents/sage-4.7.1-linux-32bit-ubuntu_10.04_lts-
i686-Linux
I see you downloaded a prebuild binairy, I guess what's going wrong is that
this binary was compiled in such a way that it's not compatible with your
system. This
post https://groups.google
Hi Nathann,
after this line (line 9520 in
http://trac.sagemath.org/sage_trac/attachment/ticket/11735/trac_11735.patch):
g.delete_vertices([vv for vv in g.neighbors(v) if vv != y and vv !=
x])
How can one be sure that x and y are still connected? (otherwise no
path x -- y exists)
I don't know whet
In your code, ComSet is a Python list (not a set) as are many of its
components, and you use len(x) to get the size:
sage: ComSet, type(ComSet), len(ComSet)
([[[0, 1], [0, 2], [1, 2]], [[0, 1, 2]], [[0, 1], [0, 2], [1, 2]]],
, 3)
sage: ComSet[0], type(ComSet[0]), len(ComSet[0])
([[0, 1], [0, 2], [
> var('x, y, z');
> @interact
> def _(a=(-1,1,.1),b=(-1,1,.1),c=(-2,2,.2)):
> A1 = implicit_plot3d(z==c,(x,-2.1,2),(y,-2,2),(z,-2,2),
> color='red', opacity=0.25, axes=true)
> A2 = implicit_plot3d(y==c,(x,-2.1,2),(y,-2,2),(z,-2,2),
> color='orange', opacity=0.25, axes=true)
> A3 = impli
On Sep 1, 11:19 pm, "Justin C. Walker" wrote:
> On Sep 1, 2011, at 19:31 , robin hankin wrote:
>
> > Hi.
>
> > sage 4.7.1, macosx 10.6.8, firefox 5.0.
>
> > When I use the sage notebook the following happens:
>
> > var('x')
> > integral(exp(x),x)
>
> > Traceback (click to the left of this block
I'm afraid that's not working. Appartently len has been removed and replaced
with cardinality(). Thanks for the tip about ".[tab]". However I still seem
to be rather stuck:
If I run this code:
Columns=3
Rows=3
RowVector=[2,3,2]
ComSet=[]
for j in range(Columns):
C=Combinations(range(Rows),RowV
Many thanks for this. Apologies for incomplete code: Columns=3.
Vince
On 2 Sep 2011 12:01, "Robert Bradshaw" wrote:
> On Fri, Sep 2, 2011 at 3:44 AM, Vince wrote:
>> Dear all,
>>
>> If I have a list, how do I obtain the cardinality of the list, the
>> command Cardinality() doesn't seem to always
On Fri, Sep 2, 2011 at 3:44 AM, Vince wrote:
> Dear all,
>
> If I have a list, how do I obtain the cardinality of the list, the
> command Cardinality() doesn't seem to always work. For example, the
> following code produces a set ComSet of sets of combinations.
>
> Rows=3
> RowVector=[2,3,2]
> Com
Dear all,
If I have a list, how do I obtain the cardinality of the list, the
command Cardinality() doesn't seem to always work. For example, the
following code produces a set ComSet of sets of combinations.
Rows=3
RowVector=[2,3,2]
ComSet=[]
for j in range(Columns):
C=Combinations(range(Rows)
I am trying to try out SAGE on my Dell Latitude D410 laptop, which has
a dual boot system running Vista and Ubuntu [Linux tony-laptop
2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:08:37 UTC 2011 i686 GNU/
Linux]. I downloaded SAGE 4.7 yesterday but the installation process
warned that it might not
22 matches
Mail list logo