[sage-support] bug in plot?

2024-03-14 Thread David Joyner
Hi: I'm trying to show my students a plot of a rational function whose graph is basically 1, so I plotted f(x) = (x^2+0.0001)/(x^2+0.000101) However, there is a problem: Note the difference between plot((x^2+0.0001)/(x^2+0.000101), (x,-10,10)) (which dips down near x=0) and

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
It might help seeing your graphs here, too. On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > Hi: > > I'm trying to show my students a plot of > a rational function whose graph is basically 1, > so I plotted > f(x) = (x^2+0.0001)/(x^2+0.000101) > However, there is a problem: Note the

Re: [sage-support] bug in plot?

2024-03-14 Thread kcrisman
On Thursday, March 14, 2024 at 10:35:50 AM UTC-4 dim...@gmail.com wrote: It might help seeing your graphs here, too. Try this:

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
On Thu, Mar 14, 2024 at 1:51 PM kcrisman wrote: > > > On Thursday, March 14, 2024 at 10:35:50 AM UTC-4 dim...@gmail.com wrote: > > It might help seeing your graphs here, too. > > > Try this: > > >

Re: [sage-support] bug in plot?

2024-03-14 Thread David Joyner
On Thu, Mar 14, 2024 at 10:35 AM Dima Pasechnik wrote: > It might help seeing your graphs here, too. > It is attached, Dima. Note that the correct graph should be (for all practical purposes) simply the plot of the constant function 1 for all x. [image: bug-in-plot-of-rational-function.jpg]

Re: [sage-support] bug in plot?

2024-03-14 Thread Nils Bruin
I get the impression that without setting ymin,ymax you just end up with a tiny range for the y-axis and its labelling is just very weird. I think the labels displayed are shifted and scaled. So the error is just how the labels are printed. That looks the same as

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik wrote: > > > On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > >> >> >> On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >> >I get the impression that without setting ymin,ymax you just end up with >> a >> >tiny range for the y-axis and its

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >I get the impression that without setting ymin,ymax you just end up with a >tiny range for the y-axis and its labelling is just very weird. I think the >labels displayed are shifted and scaled. So the error is just how the >labels are

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > > > On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: > >I get the impression that without setting ymin,ymax you just end up with > a > >tiny range for the y-axis and its labelling is just very weird. I think > the > >labels displayed are