|
Size: 14180
Comment: py3 print
|
Size: 14286
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 111: | Line 111: |
| html('<h2>%s</h2>'%example) | pretty_print(html('<h2>%s</h2>'%example)) |
| Line 113: | Line 113: |
| html('<h3><a target="_new" href="%s">%s</a></h3>'%(url,url)) show(P, viewer='tachyon' if tachyon else 'jmol', frame=frame) |
pretty_print(html('<h3><a target="_new" href="%s">%s</a></h3>'%(url,url))) show(P, viewer='tachyon' if tachyon else 'threejs', frame=frame) |
| Line 145: | Line 145: |
| viewer='tachyon' if tachyon else 'jmol', | viewer='tachyon' if tachyon else 'threejs', |
| Line 177: | Line 177: |
| def color_experimenter(expression=input_box('', 'Expression', str), color=Color('red')): | def color_experimenter(expression=input_box('x^2', 'Expression', str), color=Color('red')): |
| Line 183: | Line 183: |
| else: print("Be sure to enter a plottable expression") |
|
| Line 190: | Line 192: |
| print('<html><p style="font-family:Arial, sans-serif;color:#000"><span style="color:red;font-weight:bold">Error</span>: %s</p></html>' % msg) | pretty_print(html('<p style="font-family:Arial, sans-serif;color:#000"><span style="color:red;font-weight:bold">Error</span>: %s</p>' % msg)) |
Sage Interactions - Graphics
goto interact main page
Contents
Curves of Pursuit
by Marshall Hampton.
Catalog of 3D Parametric Plots
Interactive rotatable raytracing with Tachyon3d
Interactive 3d plotting
Somewhat Silly Egg Painter
by Marshall Hampton (refereed by William Stein)
Plot Coloring
by Timothy Clemans
Interactive 2D Plotting
by Timothy Clemans
Interact with matplotlib
Spirograph
