[sage-support] Re: rainbow fill color
Why not plotting like this (made as .sagews file) ? (Please note parameters of plot function: [fi,fj], fill, fillcolor) f1 = 0 f2 = E(l,3500) f3 = E(l,4000) f4 = E(l,4500) f5 = E(l,5000) f6 = E(l,5500) a=plot([f1,f2],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.2), figsize=(3,2),frame=True,rgbcolor=hue(0.2)); b=plot([f2,f3],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.4), figsize=(3,2),frame=True,rgbcolor=hue(0.4)); d=plot([f3,f4],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.6), figsize=(3,2),frame=True,rgbcolor=hue(0.6)); j=plot([f4,f5],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.8), figsize=(3,2),frame=True,rgbcolor=hue(0.8)); m=plot([f5,f6],l,10,1000,fill = {0: [1]}, fillcolor=hue(1.0), figsize=(3,2),frame=True,rgbcolor=hue(1.0)); O=plot(a+b+d+j+m,**params);O.axes_width(1/4); O.set_legend_options(font_size='small'); O.set_legend_options(back_color=(0.9,0.9,0.9)) ; O.set_legend_options(loc=1) ; O.set_legend_options(shadow=False); O.set_legend_options(borderaxespad=1); O.set_legend_options(fancybox=True); O.axes_color((0.2,0.5,0.5));O.tick_label_color('brown') O -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
[sage-support] resultant for aite polynomials
How one can find resultant of two bivariate polynomials in sage? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
[sage-support] Sage Crash Report
Sage had been working fine for me on Mavericks and then suddenly started crashing on launch today somewhere in polybori. As far as I know, I haven’t done anything that should break Sage—I’ve updated XQuartz since I last used Sage and maybe reinstalled Homebrew (can’t quite remember the sequence of events). I downloaded a new copy of Sage and that launched okay. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out. *** IPython post-mortem report {'commit_hash': '858d539', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/Applications/sage/local/lib/python2.7/site-packages/IPython', 'ipython_version': '0.13.2', 'os_name': 'posix', 'platform': 'Darwin-13.0.0-x86_64-i386-64bit', 'sys_executable': '/Applications/sage/local/bin/python', 'sys_platform': 'darwin', 'sys_version': '2.7.5 (default, Nov 7 2013, 12:22:52) \n[GCC 4.7.3]'} *** *** Crash traceback: --- ImportError Python 2.7.5: /Applications/sage/local/bin/python Thu Dec 5 11:24:19 2013 A problem occured executing Python code. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call last. /Applications/sage/local/bin/sage-ipython in () 2 # -*- coding: utf-8 -*- 3 """ 4 Sage IPython startup script. 5 """ 6 from sage.misc.interpreter import SageTerminalApp 7 8 # installs the extra readline commands before the IPython initialization begins. 9 from sage.misc.readline_extra_commands import * 10 11 # Make sure we're using the Sage profile if one isn't specified. 12 import sys 13 if '--profile' not in sys.argv: 14 sys.argv.extend(['--profile', 'sage']) 15 16 app = SageTerminalApp.instance() ---> 17 app.initialize() global app.initialize = > 18 app.start() /Applications/sage/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.pyc in initialize(self=, argv=None) /Applications/sage/local/lib/python2.7/site-packages/IPython/config/application.pyc in catch_config_error(method=, app=, *args=(None,), **kwargs={}) 69 70 #- 71 # Application class 72 #- 73 74 @decorator 75 def catch_config_error(method, app, *args, **kwargs): 76 """Method decorator for catching invalid config (Trait/ArgumentErrors) during init. 77 78 On a TraitError (generally caused by bad config), this will print the trait's 79 message, and exit the app. 80 81 For use on init methods, to prevent invoking excepthook on invalid input. 82 """ 83 try: ---> 84 return method(app, *args, **kwargs) method = app = args = (None,) kwargs = {} 85 except (TraitError, ArgumentError) as e: 86 app.print_description() 87 app.print_help() 88 app.print_examples() 89 app.log.fatal("Bad config encountered during initialization:") 90 app.log.fatal(str(e)) 91 app.log.debug("Config at the time: %s", app.config) 92 app.exit(1) 93 94 95 class ApplicationError(Exception): 96 pass 97 98 99 class Application(SingletonConfigurable): /Applications/sage/local/lib/python2.7/site-packages/IPython/frontend/terminal/ipapp.pyc in initialize(self=, argv=None) 309 310 @catch_config_error 311 def initialize(self, argv=None): 312 """Do actions after construct, but before starting the app.""" 313 super(TerminalIPythonApp, self).initialize(argv) 314 if self.subapp is not None: 315 # don't bother initializing further, starting subapp 316 return 317 if not self.ignore_old_config: 318 check_for_old_config(self.ipython_dir) 319 # print self.extra_args 320 if self.extra_args and not self.something_to_run: 321 self.file_to_run = self.extra_args[0] 322 self.init_path() 323 # create the shell --> 32