On Fri, Feb 22, 2008 at 2:58 PM, William Stein <[EMAIL PROTECTED]> wrote:
> Thanks Timothy! > > I hope that people interested in 2d plotting can maybe think about some > of the things Mathematica does that Sage doesn't (listed below), and > whether > Sage _should_ do them, and if so, what shape they should take in Sage, > then respond to this thread. I was thinking along these lines recently, it's been a while since we created the 2D plotting in Sage, and since then: 1) matplotlib has continued to grow very nicely 2) the Sage 2D plotting has not had that much tender-loving-care 3) I personally have become a way more mature programmer and when I look at some of the 2D plot code, I wish some things could be taken out / redone to take more advantage of what matplotlib provides. Recent improvement in matplotlib, see here: http://matplotlib.sourceforge.net/API_CHANGES makes me think things could be done better. Thoughts? -Alex > > > Thanks, > > -- William > > On Fri, Feb 22, 2008 at 2:56 PM, Timothy Clemans > <[EMAIL PROTECTED]> wrote: > > The following Mathematica options for the Plot function are > > unsupported in Sage: AxesLabel, AxesOrigin, AxesStyle, > > BaselinePosition, ClippingStyle, ColorFunction, ColorFunctionScaling, > > EvaluationMonitor, Exclusions, ExclusionsStyle, Filling, FillingStyle, > > MaxRecursion, Mesh, MeshFunctions, MeshShading, MeshStyle, > > PerformanceGoal, PlotRangeClipping, RegionFunction, and > > WorkingPercision are available for the Plot function but are > > unsupported in Sage. > > > > Sage has partial support for the Mathematica Plot options Axes, > > PlotRange, and PlotStyle. > > > > The following functionality is available in Mathematica but not in > > Sage and fall under an option already partially supported in Sage. > > > > one can pass a pair of boolean values to the Axes option thus > > generating for example a plot with a x-axis but no y-axis, falls under > > the axes option > > not sure what of PlotRange is implemented in Sage > > part of the confusion is that both Mathematica and Sage use a range > > noted in this example: > > Mathematica: Plot[Sqrt[x],{x,-5,5}] > > Sage: plot(sqrt, -5, 5) > > > > For example, in Mathematica one can use to PlotRange to just show a > > curve where it is real-valued > > the directives EdgeForm, FaceForm, Glow, GrayLevel, PointSize, named > > colors, and Specularity, falls under the PlotStyle option > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---