On Tue, Apr 1, 2008 at 1:45 PM, alex clemesha <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On Tue, Apr 1, 2008 at 1:12 PM, William Stein <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Tue, Apr 1, 2008 at 12:07 PM, Jason Grout
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >  Joel B. Mohler wrote:
> > >  > On Tuesday 01 April 2008 11:55, William Stein wrote:
> > >  >> On Tue, Apr 1, 2008 at 7:29 AM, Axel <[EMAIL PROTECTED]> wrote:
> > >  >>>  How can I specify the range of y coordinates in a 2d plot? I tried
> > >  >>>
> > >  >>>  show(plot(sin(x),-10,10),ymin=-0.5, ymax=0.5,frame=true)
> > >  >>>
> > >  >>>  but the actual plot goes between -0.6, and 0.6, and the curve goes
> out
> > >  >>>  of the frame.
> > >  >> I think that's an honest-to-goodness *bug*.  For now you can try
> > >  >> to workaround it sort of with:
> > >  >>     show(plot(sin(x),-10,10),ymin=-0.41, ymax=0.41,frame=true)
> > >  >> but still the curve goes outside the frame.
> > >  >
> > >  > What are you saying is a bug?  That it doesn't obey ymin/ymax?
> >
> > Yes.
> >
> >
> > > > That the curve
> > >  > goes out of the frame?
> >
> > Yes.
> >
> >
> > >  >
> > >  > I thought that not obeying the ymin/ymax was a design decision --
> it's a
> > >  > design decision I violently disagree with and irks me every time I
> make a
> > >  > plot (because all the plots I make are destined to live in a latex
> document
> > >  > and I want perfect pixel control!).
> > >
> > >
> > >  Can someone comment on the reasoning for not obeying ymin/ymax (or
> > >  confirm that this was the bug)?
> >
> > This is a bug.
> >
> >
> > >   I find it frustrating too.  For
> > >  reference, the Mma equivalent does obey exactly what you say is the
> range.
> > >
> >
> > That definitely makes it a bug.
>
> With respect to the 'goal' of Sage's plotting (follow Mma),
> I would say this is definitley a bug.
>
> People with 'violent' feelings about this apsect of the plotting
>  might want to change certain features of the plot code once and for all :)

Indeed.  Joel you should channel your anger into a patch :-)

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to