Why not plotting like this (made as .sagews file) ?
(Please note parameters of plot function: [fi,fj], fill, fillcolor)


f1 = 0
f2 = E(l,3500)
f3 = E(l,4000)
f4 = E(l,4500)
f5 = E(l,5000)
f6 = E(l,5500)
a=plot([f1,f2],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.2), 
figsize=(3,2),frame=True,rgbcolor=hue(0.2));
b=plot([f2,f3],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.4), 
figsize=(3,2),frame=True,rgbcolor=hue(0.4));
d=plot([f3,f4],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.6), 
figsize=(3,2),frame=True,rgbcolor=hue(0.6));
j=plot([f4,f5],l,10,1000,fill = {0: [1]}, fillcolor=hue(0.8), 
figsize=(3,2),frame=True,rgbcolor=hue(0.8));
m=plot([f5,f6],l,10,1000,fill = {0: [1]}, fillcolor=hue(1.0), 
figsize=(3,2),frame=True,rgbcolor=hue(1.0));
O=plot(a+b+d+j+m,**params);O.axes_width(1/4);
O.set_legend_options(font_size='small');
O.set_legend_options(back_color=(0.9,0.9,0.9))  ;
O.set_legend_options(loc=1)  ;
O.set_legend_options(shadow=False);
O.set_legend_options(borderaxespad=1);
O.set_legend_options(fancybox=True);
O.axes_color((0.2,0.5,0.5));O.tick_label_color('brown')
O

-- 
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/groups/opt_out.

Reply via email to