# HG changeset patch
# User Jonathan H. Gutow <gutow@uwosh.edu>
# Date 1301405389 14400
# Node ID 6e9d9f3b7fd4390182e61e0d1a303e39a0a8e8f1
# Parent 35ec60b5a917ef6ea9f7c020017ed1e4ad4e6744
Trac 9232 - add correct lighting for all Jmol plots
diff -r 35ec60b5a917 -r 6e9d9f3b7fd4 sage/plot/plot3d/base.pyx
a
|
b
|
|
596 | 596 | select atomno = 1 |
597 | 597 | color atom [102,102,255] |
598 | 598 | label "hi" |
| 599 | isosurface fullylit; pmesh o* fullylit; set antialiasdisplay on; |
599 | 600 | |
600 | 601 | sage: print z.read(z.namelist()[0]) |
601 | 602 | 24 |
… |
… |
|
656 | 657 | |
657 | 658 | # Put the rest of the object in |
658 | 659 | f.write("\n".join(all)) |
| 660 | # Make sure the lighting is correct |
| 661 | f.write("isosurface fullylit; pmesh o* fullylit; set antialiasdisplay on;\n") |
659 | 662 | |
660 | 663 | render_params.output_archive.writestr('SCRIPT', f.getvalue()) |
661 | 664 | render_params.output_archive.close() |