Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/sage/interact/Graphics/plotColor.sagews
2354 views
@interact def color_experimenter(expression=input_box('x^2', 'Expression', str), color=Color('red')): if expression: try: plot(SR(expression), rgbcolor=color).show() except TypeError: print "There's a problem with your expression."
Interact: please open in CoCalc