{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/15556","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/15556/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/15556/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/15556/events","html_url":"https://github.com/sympy/sympy/issues/15556","id":385211905,"node_id":"MDU6SXNzdWUzODUyMTE5MDU=","number":15556,"title":"sympy.plot sampling issue with logarithmic axis","user":{"login":"boffi","id":2244221,"node_id":"MDQ6VXNlcjIyNDQyMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/2244221?v=4","gravatar_id":"","url":"https://api.github.com/users/boffi","html_url":"https://github.com/boffi","followers_url":"https://api.github.com/users/boffi/followers","following_url":"https://api.github.com/users/boffi/following{/other_user}","gists_url":"https://api.github.com/users/boffi/gists{/gist_id}","starred_url":"https://api.github.com/users/boffi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boffi/subscriptions","organizations_url":"https://api.github.com/users/boffi/orgs","repos_url":"https://api.github.com/users/boffi/repos","events_url":"https://api.github.com/users/boffi/events{/privacy}","received_events_url":"https://api.github.com/users/boffi/received_events","type":"User","site_admin":false},"labels":[{"id":75782144,"node_id":"MDU6TGFiZWw3NTc4MjE0NA==","url":"https://api.github.com/repos/sympy/sympy/labels/Easy%20to%20Fix","name":"Easy to Fix","color":"009800","default":false},{"id":84627346,"node_id":"MDU6TGFiZWw4NDYyNzM0Ng==","url":"https://api.github.com/repos/sympy/sympy/labels/plotting","name":"plotting","color":"0000FF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-28T10:57:52Z","updated_at":"2018-11-29T15:53:21Z","closed_at":null,"author_association":"NONE","body":"It looks like `plot` is sampling in a linear space even if the plot command requested a logarithmic x-axis.\r\nMinimum example\r\n```\r\nfrom sympy import cos, log, plot\r\nfrom sympy.abc import x\r\nplot(sin(log(x), (x, .001,10), xscale='log')\r\n```\r\nproduces\r\n![figure_3](https://user-images.githubusercontent.com/2244221/49146921-8795e800-f303-11e8-8b1a-37ed27b0831d.png)\r\nwhile, e.g., Gnuplot \r\n```\r\ngnuplot> set xrange [.001: 10]\r\ngnuplot> set log x\r\ngnuplot> plot sin(log(x))\r\n```\r\ngives\r\n![sin](https://user-images.githubusercontent.com/2244221/49147787-e9575180-f305-11e8-952f-e1df7ef23ff6.png)\r\n"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/442884872","html_url":"https://github.com/sympy/sympy/issues/15556#issuecomment-442884872","issue_url":"https://api.github.com/repos/sympy/sympy/issues/15556","id":442884872,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjg4NDg3Mg==","user":{"login":"ayushmankoul","id":22992482,"node_id":"MDQ6VXNlcjIyOTkyNDgy","avatar_url":"https://avatars0.githubusercontent.com/u/22992482?v=4","gravatar_id":"","url":"https://api.github.com/users/ayushmankoul","html_url":"https://github.com/ayushmankoul","followers_url":"https://api.github.com/users/ayushmankoul/followers","following_url":"https://api.github.com/users/ayushmankoul/following{/other_user}","gists_url":"https://api.github.com/users/ayushmankoul/gists{/gist_id}","starred_url":"https://api.github.com/users/ayushmankoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayushmankoul/subscriptions","organizations_url":"https://api.github.com/users/ayushmankoul/orgs","repos_url":"https://api.github.com/users/ayushmankoul/repos","events_url":"https://api.github.com/users/ayushmankoul/events{/privacy}","received_events_url":"https://api.github.com/users/ayushmankoul/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T15:53:21Z","updated_at":"2018-11-29T15:53:21Z","author_association":"CONTRIBUTOR","body":"Hi, @moorepants @boffi I would like to work on this issue if anyone isn't working on it yet. With reference to statements and example given by @boffi, I am able to interpret that the given code should have the return logarithmic x-axis instead of the normal x-axis and as it fails to so do we need to alter the ``plot`` function in plotting module. Please correct me if I am wrong and let me know how to go about this issue."}}
{"actor":{"display_login":"ayushmankoul"}}