{"action":"created","issue":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/791","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/791/labels{/name}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/791/comments","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/791/events","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/791","id":111203417,"number":791,"title":"Limit the precision of the data","user":{"login":"miscco","id":3017120,"avatar_url":"https://avatars.githubusercontent.com/u/3017120?v=3","gravatar_id":"","url":"https://api.github.com/users/miscco","html_url":"https://github.com/miscco","followers_url":"https://api.github.com/users/miscco/followers","following_url":"https://api.github.com/users/miscco/following{/other_user}","gists_url":"https://api.github.com/users/miscco/gists{/gist_id}","starred_url":"https://api.github.com/users/miscco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miscco/subscriptions","organizations_url":"https://api.github.com/users/miscco/orgs","repos_url":"https://api.github.com/users/miscco/repos","events_url":"https://api.github.com/users/miscco/events{/privacy}","received_events_url":"https://api.github.com/users/miscco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/+0.1.0","name":"+0.1.0","color":"d3d7cf"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/cleanfigure","name":"cleanfigure","color":"006b75"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/work-in-progress","name":"work-in-progress","color":"abc6e2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-10-13T15:20:19Z","updated_at":"2015-11-30T13:33:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/791","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/791","diff_url":"https://github.com/matlab2tikz/matlab2tikz/pull/791.diff","patch_url":"https://github.com/matlab2tikz/matlab2tikz/pull/791.patch"},"body":"So a big bonus of the previous restructuring of the code is, that the limiting of the precision becomes rather easy.\r\n\r\nThis is a rebased version of #758"},"comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/comments/160627533","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/791#issuecomment-160627533","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/791","id":160627533,"user":{"login":"egeerardyn","id":177360,"avatar_url":"https://avatars.githubusercontent.com/u/177360?v=3","gravatar_id":"","url":"https://api.github.com/users/egeerardyn","html_url":"https://github.com/egeerardyn","followers_url":"https://api.github.com/users/egeerardyn/followers","following_url":"https://api.github.com/users/egeerardyn/following{/other_user}","gists_url":"https://api.github.com/users/egeerardyn/gists{/gist_id}","starred_url":"https://api.github.com/users/egeerardyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egeerardyn/subscriptions","organizations_url":"https://api.github.com/users/egeerardyn/orgs","repos_url":"https://api.github.com/users/egeerardyn/repos","events_url":"https://api.github.com/users/egeerardyn/events{/privacy}","received_events_url":"https://api.github.com/users/egeerardyn/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T13:33:36Z","updated_at":"2015-11-30T13:33:36Z","body":"@miscco It probably has some effect outside our test suite (i.e. points shifting a bit). However, I think you are right that there is should be no visible influence at all.\r\n\r\nThe only case I see is e.g. when you have a plot like\r\n```matlab\r\nplot([1e20 1e30 1e40 10 20])\r\nylim([0, 100])\r\n```\r\nwhere `max(eps(abs(data)))` would be in the order of `1e25`.\r\nHowever, since we first prune points outside of the box, such a situation can never arise.\r\n\r\nAlso, since `cleanfigure` is only used by more advanced users (I think), a default value is probably not an issue for them. So any value is also fine by me."}}