Well I'm glad I could help by coming up with a good idea. I've got lots of questions so maybe a few other ideas might pop up too :-)
I would love to help but I know absolutely nothing about programming. In fact, playing with Sage has pretty much been my introduction to programming. I teach high school biology and would like my kids to work with some more mathematics. I'm also part of a national biomathematics program that is trying to write curriculum for the high school level to get younger folks interested and ahead of the game. I work with a team of high school and college math and biology teachers and researchers. Biology is becoming such an information science! As part of that, I have taken it upon myself to investigate Sage for possible inclusion in some of our modules. The students could start an account and work through some preset presentations and then inquire and investigate on their own. I think it would be great for them and they would learn some programming too (much as I am now). So when William says, "You" should implement it and post a patch, "I" would have no idea even where to begin. So he clearly means "you - Jason" and not "me" :-) So rest assured that I won't get to it before you. Not that I wouldn't be willing and/or don't appreciate what you all have done and the help you all have given me with my questions so far. William made my life MUCH easier already with his suggestions in other posts. If there is some other way I can help, I'd be happy to lend a hand. Tom On Aug 18, 7:11 pm, Jason Grout <[email protected]> wrote: > Jason Grout wrote: > > William Stein wrote: > >> On Tue, Aug 18, 2009 at 7:10 AM, docfleetwood<[email protected]> > >> wrote: > >>> I now how to name a graph with 'g.name("name")'. But is there a way > >>> to display the name when you display the graph? ie. as a title above > >>> or below the graph. I can't seem to find a command or any example > >>> where this is done. > > >>> So something like... > > >>> show(g,display_name=True) > >> That sounds like a great feature. You should implement it and post a > >> patch.. > > > This sounds great. I think > > > show(g,title=True) > > > or > > > show(g,title="My text") > > > would be a nice interface. If title=True, then the object's natural > > title (e.g., the graph name) is used. Otherwise, the text string is used. > > docfleetwood: if you don't get to this before me, I'll try to add this > to my overhaul of the plotting code. If title=True, I'll use g.name() > (if defined) as the title. If g.name() is not defined, I'll use > g.__custom_name, which is what you assign when you do g.rename('some > text'). > > In fact, maybe the graph code ought to set the __custom_name attribute, > to be consistent with the rest of Sage, instead of using _backend.name. > What do you think, Robert/anyone else interested? > > Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
