Re: [sage-support] Re: fill between

2011-10-11 Thread daldrich
Yeah, that did it. Thanks! # distribution function f(x) = 1/sqrt(2*pi)*e^(.5*(-x^2)) s = 1 p = plot(f,(-pi,pi),ymax = .45, ticks=[1,[]]) p += line([(s,0),(s,f(s))],linestyle = 'dashed') p += line([(-s,0),(-s,f(-s))],linestyle = 'dashed') p += text("$\\mu$ = 0",(0.4,0.05)) p += plot(f,(-s,s),fill

Re: [sage-support] Re: fill between

2011-10-11 Thread Håkan Granath
> I'm trying to fill in the bell curve between two points, like plus and minus > 1 sigma. Maybe like this: p = plot(f,(-pi,pi),ymax = .4, ticks=[1,[]]) p += plot(f,(-s,s),fill = 'axis') /Håkan -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group,

Re: [sage-support] Re: fill between

2011-10-11 Thread Dan Aldrich
I'm trying to fill in the bell curve between two points, like plus and minus 1 sigma. -d At 09:19 PM 10/10/2011, you wrote: What exactly are you trying to fill? Can you find a picture showing an example of what you are trying to achieve? -- To post to this group, send email to sage-suppor

[sage-support] Re: fill between

2011-10-10 Thread Jason Grout
On 10/10/11 6:32 PM, Dan Aldrich wrote: Been trying to set up my graphs so I can select fill areas of a distribution curve. So far all I've been able to do is fill the entire curve. Any suggestions? What exactly are you trying to fill? Can you find a picture showing an example of what you are