On Thu, May 1, 2008 at 8:31 AM, Sand Wraith <[EMAIL PROTECTED]> wrote: > > > Hi! I use notebooks, and for example i want to plot cosine function: > > plot(cos(x),1,2) > > in output i see graphic which have x in range near [-1.5,2.5]. but > there is no information for me when x is in interval [-1.5,1] and > [2,2.5], so i do not want to see it in output graphic. > > and another example: i have hight-frequency cosine function, and i > want to see it on interval x in [1,1.1]: > plot(cos(x*200000),1,1.1) > and i see x in [-1,1.25] so i can not "zoom" cosine function. >
This is a *bug* in the plotting function that we are tracking here: http://trac.sagemath.org/sage_trac/ticket/2754 There is fortunately a workaround, which is to explicitly specify the ranges in the show command: sage: plot(cos(x),1,2).show(xmin=1,xmax=2) sage: plot(cos(x*200000),1,1.1,plot_points=10000,thickness=.1).show(xmin=1,xmax=1.1) -- William --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
