s0 = [(k-10)^2 for k in range(10)]
s1 = [k^2 for k in range(10)]
list_plot(s0) + list_plot(s1, linestyle='-.')
which returned this warning:
"The allowed options for Point set defined by 10 point(s) are:
alpha How transparent the line is.
faceted If True color the edge of the point.
hue The color given as a hue.
pointsize How big the point is.
rgbcolor The color as an rgb tuple."
Then I tried this:
list_plot(s0) + list_plot(s1, pointsize="25")
which makes them distinguishable, though not a very elegant solution I
have to admit (I'm a SAGE newbie myself :)
Best,
--
Hector
R has very powerfully plotting ability. For your particular problem, try:
from rpy import r
r.png(os.curdir+'/sage.png')
r.par(ann=0)
s0 = [float((k-10)^2) for k in range(10)]
s1 = [float(k^2) for k in range(10)]
r.plot(s0, pch="+")
r.points(s1, pch="*")
_ = r.dev_off()
(WARNING: this only works if you have X11 headers on the computer
running the sage server.If you do not replace png with postscript.
That works an all servers I have tried but won't show up in the
notebook.)
Hope that helps.
Jacob
I tried this out:
s0 = [[k,(k-10)^2] for k in range(10)]
s1 = [[k,k^2] for k in range(10)]
p0 = line(s0, linestyle='--')
p1 = line(s1, linestyle=':')
p = p0 + p1
p.show()
Best,
--
Hector