Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble when using plot on small real function #39501

Closed
2 tasks done
flfr69 opened this issue Feb 12, 2025 · 2 comments
Closed
2 tasks done

Trouble when using plot on small real function #39501

flfr69 opened this issue Feb 12, 2025 · 2 comments
Labels

Comments

@flfr69
Copy link

flfr69 commented Feb 12, 2025

Steps To Reproduce

code:
var('x')
g(x)=1e-6*sin(x)
plot(g(x),(x,0,pi))

Expected Behavior

values on y-axis are false
Image

Actual Behavior

y-axis must be [-1e-6,+1e-6]

Additional Information

No response

Environment

  • OS: Ubuntu 24.04 with local SageMath 10.5 and under CoCalc with SageMath 10.4
  • Sage Version: 10.4 and 10.5

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
@flfr69 flfr69 added the t: bug label Feb 12, 2025
@flfr69 flfr69 changed the title <title>Trouble when plotting small real function Trouble when using plot on small real function Feb 12, 2025
@DaveWitteMorris
Copy link
Member

I think this is a duplicate of #34233.

@DaveWitteMorris
Copy link
Member

DaveWitteMorris commented Feb 12, 2025

Yes, using plot(g(x),(x,0,pi), frame=True) shows that this is indeed the same issue as #34233.. So I am closing this as a duplicate.

However, I am raising the priority of the other report to critical because this is very bad. (A comment from William Stein says "I think this should be a blocker".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants