[sage-support] Re: BoxPlot in Sage: how do we plot?
On Mar 14, 5:32 pm, jpc pedrocruzave...@gmail.com wrote: There is matplotlib http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_dem... http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_e... I also didn't get it with R in sage (or python). Yes, R seems to be built without the png support in Sage. Here is a simple working example of a boxplot using matplotlib: from pylab import boxplot,savefig b=boxplot(range(10)) savefig(sage1.png) The original data list can be substituted in place of range(10) above. Alec Mihailovs -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: BoxPlot in Sage: how do we plot?
There is matplotlib http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo.html?highlight=boxplot http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/boxplot_demo.py I also didn't get it with R in sage (or python). Pedro Cruz On Mar 14, 7:22 am, mo moshea...@gmail.com wrote: I don't see a direct command in sage for BoxPlot. Thus, I've tried many 'R' versions of boxplot (like: r.bxplot, r.bplot, r.boxplot) on a dataset I have, but could not get a plot... I am using the latest Sage Notebook (v 4.3.3) Would you pls help? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org