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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to