On Sat, Dec 25, 2010 at 3:06 AM, Nathann Cohen <nathann.co...@gmail.com> wrote: > 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...
What pictures are you looking at? > 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) :-) I'm pretty sure we don't want the bitmaps in the notebook to be three times as big as they are now (nor take longer to render/download). If you're putting them in a paper or anything, you'd want to render as pdf or some other vector format, in which case dpi is irrelevant. - Robert -- 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