kcrisman wrote: > >> All right, extending Robert's patch, I've posted up trac #1908 at: >> >> http://sagetrac.org/sage_trac/ticket/1908 >> >> This lets you do what you showed above: >> >> sage: show([circle((0,0),n) for n in [1..3]]) # three circles >> >> (note the extra "]" at the end, though). >> >> To plot concentric circles, of course, you use: >> >> sage: sum([circle((0,0),n) for n in [1..3]]) >> >> Also the following are tiled: >> >> sage: show(graphs(3), layout='circular', vertex_size=50, >> vertex_labels=False, graph_border=True) >> sage: show(list(graphs(3)), layout='circular', vertex_size=50, >> vertex_labels=False, graph_border=True) >> sage: show(graphs(4), layout='circular', vertex_size=50, >> vertex_labels=False, graph_border=True) >> sage: show([plot(sin(i*x)) for i in range(30)]) # Two pages of images >> sage: show([sin(i*x) for i in range(2)]) >> sage: show([sin(i*x) for i in range(30)], columns=1, rows=10) > > As someone with not enough time or expertise to contribute this sort > of truly useful functionality but with LOTS of ideas for making Sage > better, I humbly thank both Jason and Robert for all this hard work. I > don't think there could be a much better solution within the Sage/ > Python framework for these issues. I especially like the contrast > between > > sage: sum([circle((0,0),n) for n in [1..3]]) > > and > > sage: show([circle((0,0),n) for n in [1..3]]) # three circles >
Thanks. I think it turned out well too. We really, really, *really* appreciate your suggestions and feedback. We need more people to use Sage and give feedback or write documentation or write code; whatever they are comfortable with or want to learn. We're also very interested in what features Sage needs to be more useful in the classroom and for students. One of the huge advantages we have being open-source is that anyone and everyone can contribute in whatever way they can. In fact, that is needed for the project to survive and flourish. So thank *you* too! > As a final comment, I'll note that the following behavior with objects > which automatically display is interesting: > > sage: C=circle((0,0),1);P=plot(sin,0,1) > sage: [C,P] > [, ] > > and then a display of circle above a plot of sin (in the notebook) or > two separate pictures (in the command line). I have no idea what, if > any, connection should be made with this work, though. I think it is just printing out the list for you to see and the "print" function for a graphics object displays the object, so you see each object "printed" out. It would be nice if the text display indicated this, instead of "[, ]". Maybe something like "[<Graphic object>, <Graphic object>]", since the objects actually are there. It misleadingly looks like you have an empty list. This bug (displaying an apparently empty list, but really there are graphic objects in it) is trac #1912. It should be a very easy fix for someone that knows how graphic objects are printed (and someone who remembers the difference between repr and string or something like that :). > > Finally, sorry for the typo earlier! But *that* at least I would > expect my students to get - otherwise it misses the point of learning > to use computers. Excel or Firefox would balk at weird syntax too. > > Thank you all, and hope to contribute more suggestions in the future. Thank you! Happy Saging, or Sageing, or whatever you would say! Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---