{"action":"created","issue":{"url":"https://api.github.com/repos/xrobin/pROC/issues/8","labels_url":"https://api.github.com/repos/xrobin/pROC/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xrobin/pROC/issues/8/comments","events_url":"https://api.github.com/repos/xrobin/pROC/issues/8/events","html_url":"https://github.com/xrobin/pROC/issues/8","id":97940945,"number":8,"title":"Handle changing xlim in plot.roc","user":{"login":"xrobin","id":1047170,"avatar_url":"https://avatars.githubusercontent.com/u/1047170?v=3","gravatar_id":"","url":"https://api.github.com/users/xrobin","html_url":"https://github.com/xrobin","followers_url":"https://api.github.com/users/xrobin/followers","following_url":"https://api.github.com/users/xrobin/following{/other_user}","gists_url":"https://api.github.com/users/xrobin/gists{/gist_id}","starred_url":"https://api.github.com/users/xrobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrobin/subscriptions","organizations_url":"https://api.github.com/users/xrobin/orgs","repos_url":"https://api.github.com/users/xrobin/repos","events_url":"https://api.github.com/users/xrobin/events{/privacy}","received_events_url":"https://api.github.com/users/xrobin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T13:52:52Z","updated_at":"2015-07-29T14:36:47Z","closed_at":null,"body":"The following piece of code in plot.roc handling legacy.axis fails to rescale with xlim:\r\n\r\n\t\t\tlab.at <- seq(1, 0, -0.2)\r\n\t\t\tif (x$percent) \r\n\t\t\t\tlab.at <- lab.at * 100\r\n\t\t\tlab.labels <- lab.at\r\n\t\t\tif (legacy.axes) \r\n\t\t\t\tlab.labels <- rev(lab.labels)"},"comment":{"url":"https://api.github.com/repos/xrobin/pROC/issues/comments/125971604","html_url":"https://github.com/xrobin/pROC/issues/8#issuecomment-125971604","issue_url":"https://api.github.com/repos/xrobin/pROC/issues/8","id":125971604,"user":{"login":"xrobin","id":1047170,"avatar_url":"https://avatars.githubusercontent.com/u/1047170?v=3","gravatar_id":"","url":"https://api.github.com/users/xrobin","html_url":"https://github.com/xrobin","followers_url":"https://api.github.com/users/xrobin/followers","following_url":"https://api.github.com/users/xrobin/following{/other_user}","gists_url":"https://api.github.com/users/xrobin/gists{/gist_id}","starred_url":"https://api.github.com/users/xrobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrobin/subscriptions","organizations_url":"https://api.github.com/users/xrobin/orgs","repos_url":"https://api.github.com/users/xrobin/repos","events_url":"https://api.github.com/users/xrobin/events{/privacy}","received_events_url":"https://api.github.com/users/xrobin/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T14:36:47Z","updated_at":"2015-07-29T14:36:47Z","body":"Should probably use something like\r\n\r\n\tlab.at <- axTicks(side=1)\r\nand ignore the percent case (auto dealt with by axTicks)."}}