Re: nestled plotting
- To: mathgroup at smc.vnet.net
- Subject: [mg72441] Re: nestled plotting
- From: Johan Lans <nospam at nospam.com>
- Date: Thu, 28 Dec 2006 04:51:49 -0500 (EST)
- References: <emthg0$jmf$1@smc.vnet.net>
Perfect! Thanks a lot for the help guys.. hadoque Bob Hanlon skrev: > Use PlotRange > > Plot[10x(1-x),{x,0,1}, > Frame->True,Axes->False]; > > Plot[10x(1-x),{x,0,1}, > PlotRange->{0,2}, > Frame->True,Axes->False]; > > Plot[10x(1-x),{x,0,1}, > PlotRange->{{0.05,0.95},{0,2}}, > Frame->True,Axes->False]; > > > Bob Hanlon > > ---- Johan Lans <nospam at nospam.com> wrote: >> Works fine. Thanks. >> >> A follow up question. It's easy to set xmax and xmin when plotting. Is >> >> there a way to set ymax and ymin (or z in 3d)? I can't find any obvious >> >> way in the help. >> >> >> >> Hadoque >> >> >> >> Norbert Marxer skrev: >> >>> Hello >>> All you have to do is to insert Evaluate in front of the Table command: >>> e.g. >>> Plot[Evaluate@Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}], {x, >>> -15, 15}]; >>> Best Regards >>> Norbert Marxer >>> www.mec.li >>> junk at apspektakel.com schrieb: >>>> Hi >>>> I'm having this problem. I want to plot a number of maclaurin >>>> polynomials and I want to do it like this: >>>> Plot[Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}], {x, -15, 15}] >>>> This gives me a bunch of error messages. However, if I first print the >>>> table: >>>> Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}] >>>> and cut and pase this into the plot command, everything works just as I >>>> want it. How do I get past the cut and paste step? >>>> /Hadoque >> > > -- > > Bob Hanlon > hanlonr at cox.net > >