> sage: v=map(ndistribpts,range(50,151)) > sage: line(v,ymin=0,ymax=.02) > > The command 'points' might also give what you want, without connecting > the points.
Thank you for this enhancement. The curve looks nice. However only in this example the bell-shape can be appreciated. It doesn't work here. def ndistribpts(x): return (x,r.dnorm(x,mean=5,sd=0.5)._sage_()) v=map(ndistribpts,range(1,10)) line(v,ymin=0,ymax=1) It needs more ajustments than just ymax as the integer steps provided by the range function are too clumsy. Thus I wonder why this doesn't work def f(x): return r.dnorm(x,mean=100,sd=25)._sage_() plot(f(x)(x,90,110)) while def f(x): return x^3 plot(f(x),(x,0,2)) works perfectly. Is this a problem that can be solved? -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
