[sage-support] Number of digits in html

2012-05-18 Thread Prof. Dr. Ulrich Tipp
If I write the following code X = [0.1, 0.2] html("Values: %s"%X) the output is Values: [10.1, 0.200] How can I suppress the trailing zeros? How can I change the number of digits shown? -- To post to this group, send email to sage-support@googlegroups.com To unsubs

Re: [sage-support] Re: Problem building sage-4.7.2

2012-01-16 Thread Prof. Dr. Ulrich Tipp
Hello, I downloaded the readline-6.2.p3 and now the build goes through. Thank you very much. Ulrich -- 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

[sage-support] Problem building sage-4.7.2

2012-01-15 Thread Prof. Dr. Ulrich Tipp
resolve the problem? Ulrich Tipp -- Prof. Dr. Ulrich Tipp FB 03 Elektrotechnik und Informatik Hochschule Niederrhein Reinarzstr. 49 47805 Krefeld -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr

Re: [sage-support] edge labels in trees

2011-04-07 Thread Prof. Dr. Ulrich Tipp
self._pos = self._graph.layout(**self._options) > self._pos = dict((k,(float(v[0]), float(v[1]))) for k,v in > self._pos.iteritems()) > > import sage.graphs.graph_plot > sage.graphs.graph_plot.GraphPlot.set_pos = set_pos > > > which should work around the problem in the meant

[sage-support] edge labels in trees

2011-04-06 Thread Prof. Dr. Ulrich Tipp
I want to show a tree with edge labels. I tried out G1 = Graph({1:{5:0},2:{5:1},3:{6:1},4:{7:0},5:{6:0},6:{7:1}}) show(G1,edge_labels=true) show(G1,layout="tree",edge_labels=true) In the first graphic the labels are positioned on the edges but in the second one they are not. Why is this? How can

[sage-support] Notebook access

2010-11-25 Thread Prof. Dr. Ulrich Tipp
I would like to make worksheets with some interaction available to students in such a way that they can change values in the interaction part but are not able to change/edit the code. How is this possible? When I use "publish", interaction is not possible, if I "share", the student can change every