Hi bar_chart(my_data, width=1, color="lightblue", figsize=4, ticks=[range(10),None])
http://www.sagemath.org/doc/reference/plotting/sage/plot/plot.html Regards, Jan On 6 May 2015 at 17:49, Juan Grados <juan...@gmail.com> wrote: > I want to plot an histogram in SAGE from a list, my_data, but I want to > plot all values of the axis X, in the below example this must be > X=[0,1,2,3] but I get 2,4,6,8,10,.... Could you help me please? > > my_data = [0,1,2,10] > BC=bar_chart(my_data, width=1, color="lightblue", figsize=4) > show(BC,xmin=0,xmax=10) > > > > -- > --------------------------------------------------------------------- > MSc. Juan del Carmen Grados Vásquez > Laboratório Nacional de Computação Científica > Tel: +55 21 97633 3228 > (http://www.lncc.br/) > http://juaninf.blogspot.com > --------------------------------------------------------------------- > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.