Hello everybody !

I am trying to improve a bit Sage's display of graphs, and lurking
through the different options it gives I found out about the dpi
keyword. Then I went to the file sage/plot/plot.py to see the default
value of this parameter was currently 100. I initially intended just
to just touch the graph files, but I tried several docstrings and
noticed that most of the pictures were really improved by changing
this default value to something like 300...

As such a modification is touching the whole Sage library, a post here
seemed in order.... What do you think of the effects of the attached
patch ? It just changes the default value to 300, and all the plot are
expected to be ... more accurate (even though computing them may be a
tad slower) :-)

Nathann

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
# HG changeset patch
# User Nathann Cohen <nathann.co...@gmail.com>
# Date 1293275033 -3600
# Node ID 76079136a64cc760ecaa7080ffed6ea565ad4b08
# Parent  120c07be6358d93bcff503363d379c26b8342f2b
[mq]: plot

diff -r 120c07be6358 -r 76079136a64c sage/plot/plot.py
--- a/sage/plot/plot.py	Sat Oct 30 16:00:40 2010 -0700
+++ b/sage/plot/plot.py	Sat Dec 25 12:03:53 2010 +0100
@@ -316,7 +316,7 @@
 ## going to be used.
 
 DEFAULT_FIGSIZE=(6, 3.70820393249937)
-DEFAULT_DPI = 100
+DEFAULT_DPI = 300
 EMBEDDED_MODE = False
 DOCTEST_MODE = False
 import sage.misc.misc

Reply via email to