On Dec 28, 2007 12:50 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi, > > On Dec 27, 2007 6:12 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > I have been using sympy for some time now. Thank you guys for creating > > such an awesome piece of software. Lately, I have been playing with > > the plotting module and I have some suggestions... > > Awesome, we welcome all suggestions. > > > I tried to add some code on the plot module that would make it > > possible to recognize and plot geometrical entities from the geometry > > module. While doing it, I realized the graph quality would be improved > > significantly by increasing the glLineWidth. I would suggest a default > > value of glLineWidth to be about 1.5, which is 1.25 now. Also, it > > would be a good feature to be able to change the linewidth through an > > arugment while initializing the plot window. > > > > Adding > > self.linewidth = kwargs.pop('linewidth', 1.5) > > in the initialization of PlotWindow on plot_window.py > > and changing > > glLineWidth(1.25) to glLineWidth(self.linewidth) > > in the setup function of the same module will do the job. > > I sent a patch for review implementing your suggestion: > > http://groups.google.com/group/sympy-patches/browse_thread/thread/1012f8db5f90c63c > > and indeed it improves the quality of the plot. Thanks!
Committed. http://hg.sympy.org/sympy/rev/06fbc18a5837 Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---