{"action":"closed","number":221,"pull_request":{"url":"https://api.github.com/repos/core-plot/core-plot/pulls/221","id":43600475,"html_url":"https://github.com/core-plot/core-plot/pull/221","diff_url":"https://github.com/core-plot/core-plot/pull/221.diff","patch_url":"https://github.com/core-plot/core-plot/pull/221.patch","issue_url":"https://api.github.com/repos/core-plot/core-plot/issues/221","number":221,"state":"closed","locked":false,"title":"Initial implementation of new CPTScaleType, CPTScaleTypeLogModulus.","user":{"login":"demitri","id":64314,"avatar_url":"https://avatars.githubusercontent.com/u/64314?v=3","gravatar_id":"","url":"https://api.github.com/users/demitri","html_url":"https://github.com/demitri","followers_url":"https://api.github.com/users/demitri/followers","following_url":"https://api.github.com/users/demitri/following{/other_user}","gists_url":"https://api.github.com/users/demitri/gists{/gist_id}","starred_url":"https://api.github.com/users/demitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demitri/subscriptions","organizations_url":"https://api.github.com/users/demitri/orgs","repos_url":"https://api.github.com/users/demitri/repos","events_url":"https://api.github.com/users/demitri/events{/privacy}","received_events_url":"https://api.github.com/users/demitri/received_events","type":"User","site_admin":false},"body":"This is an implementation of a log modulus axis type. The log modulus transform is:\r\n\r\n    log modulus (x) = sign(x) * log10(abs(x) + 1)\r\n\r\nIt allows one to plot negative values on a log scale. I tested this in a sample application and it seemed to work well, with one notable exception. Dragging to scroll the image is tied to the scale, not the pixels on screen, i.e. dragging near zero requires a many swipes to move the plot a little, but away from zero the swiping is too fast. The axis number scheme can be improved as well.\r\n\r\nA reference on this type of plot can be found here:\r\nhttp://blogs.sas.com/content/iml/2014/07/14/log-transformation-of-pos-neg.html","created_at":"2015-08-28T07:27:32Z","updated_at":"2015-09-11T18:19:08Z","closed_at":"2015-09-11T18:19:08Z","merged_at":"2015-09-11T18:19:08Z","merge_commit_sha":"adbc2bfd2f045c20ed9ffba68f95ec8ccad101dd","assignee":{"login":"eskroch","id":1934470,"avatar_url":"https://avatars.githubusercontent.com/u/1934470?v=3","gravatar_id":"","url":"https://api.github.com/users/eskroch","html_url":"https://github.com/eskroch","followers_url":"https://api.github.com/users/eskroch/followers","following_url":"https://api.github.com/users/eskroch/following{/other_user}","gists_url":"https://api.github.com/users/eskroch/gists{/gist_id}","starred_url":"https://api.github.com/users/eskroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskroch/subscriptions","organizations_url":"https://api.github.com/users/eskroch/orgs","repos_url":"https://api.github.com/users/eskroch/repos","events_url":"https://api.github.com/users/eskroch/events{/privacy}","received_events_url":"https://api.github.com/users/eskroch/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/core-plot/core-plot/pulls/221/commits","review_comments_url":"https://api.github.com/repos/core-plot/core-plot/pulls/221/comments","review_comment_url":"https://api.github.com/repos/core-plot/core-plot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/core-plot/core-plot/issues/221/comments","statuses_url":"https://api.github.com/repos/core-plot/core-plot/statuses/fe08ec4498db090f3e623de4e5a614dc5cb1d7a8","head":{"label":"demitri:release-2.0","ref":"release-2.0","sha":"fe08ec4498db090f3e623de4e5a614dc5cb1d7a8","user":{"login":"demitri","id":64314,"avatar_url":"https://avatars.githubusercontent.com/u/64314?v=3","gravatar_id":"","url":"https://api.github.com/users/demitri","html_url":"https://github.com/demitri","followers_url":"https://api.github.com/users/demitri/followers","following_url":"https://api.github.com/users/demitri/following{/other_user}","gists_url":"https://api.github.com/users/demitri/gists{/gist_id}","starred_url":"https://api.github.com/users/demitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demitri/subscriptions","organizations_url":"https://api.github.com/users/demitri/orgs","repos_url":"https://api.github.com/users/demitri/repos","events_url":"https://api.github.com/users/demitri/events{/privacy}","received_events_url":"https://api.github.com/users/demitri/received_events","type":"User","site_admin":false},"repo":{"id":41527316,"name":"core-plot","full_name":"demitri/core-plot","owner":{"login":"demitri","id":64314,"avatar_url":"https://avatars.githubusercontent.com/u/64314?v=3","gravatar_id":"","url":"https://api.github.com/users/demitri","html_url":"https://github.com/demitri","followers_url":"https://api.github.com/users/demitri/followers","following_url":"https://api.github.com/users/demitri/following{/other_user}","gists_url":"https://api.github.com/users/demitri/gists{/gist_id}","starred_url":"https://api.github.com/users/demitri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demitri/subscriptions","organizations_url":"https://api.github.com/users/demitri/orgs","repos_url":"https://api.github.com/users/demitri/repos","events_url":"https://api.github.com/users/demitri/events{/privacy}","received_events_url":"https://api.github.com/users/demitri/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/demitri/core-plot","description":"Core Plot source code and example applications","fork":true,"url":"https://api.github.com/repos/demitri/core-plot","forks_url":"https://api.github.com/repos/demitri/core-plot/forks","keys_url":"https://api.github.com/repos/demitri/core-plot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/demitri/core-plot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/demitri/core-plot/teams","hooks_url":"https://api.github.com/repos/demitri/core-plot/hooks","issue_events_url":"https://api.github.com/repos/demitri/core-plot/issues/events{/number}","events_url":"https://api.github.com/repos/demitri/core-plot/events","assignees_url":"https://api.github.com/repos/demitri/core-plot/assignees{/user}","branches_url":"https://api.github.com/repos/demitri/core-plot/branches{/branch}","tags_url":"https://api.github.com/repos/demitri/core-plot/tags","blobs_url":"https://api.github.com/repos/demitri/core-plot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/demitri/core-plot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/demitri/core-plot/git/refs{/sha}","trees_url":"https://api.github.com/repos/demitri/core-plot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/demitri/core-plot/statuses/{sha}","languages_url":"https://api.github.com/repos/demitri/core-plot/languages","stargazers_url":"https://api.github.com/repos/demitri/core-plot/stargazers","contributors_url":"https://api.github.com/repos/demitri/core-plot/contributors","subscribers_url":"https://api.github.com/repos/demitri/core-plot/subscribers","subscription_url":"https://api.github.com/repos/demitri/core-plot/subscription","commits_url":"https://api.github.com/repos/demitri/core-plot/commits{/sha}","git_commits_url":"https://api.github.com/repos/demitri/core-plot/git/commits{/sha}","comments_url":"https://api.github.com/repos/demitri/core-plot/comments{/number}","issue_comment_url":"https://api.github.com/repos/demitri/core-plot/issues/comments{/number}","contents_url":"https://api.github.com/repos/demitri/core-plot/contents/{+path}","compare_url":"https://api.github.com/repos/demitri/core-plot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/demitri/core-plot/merges","archive_url":"https://api.github.com/repos/demitri/core-plot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/demitri/core-plot/downloads","issues_url":"https://api.github.com/repos/demitri/core-plot/issues{/number}","pulls_url":"https://api.github.com/repos/demitri/core-plot/pulls{/number}","milestones_url":"https://api.github.com/repos/demitri/core-plot/milestones{/number}","notifications_url":"https://api.github.com/repos/demitri/core-plot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/demitri/core-plot/labels{/name}","releases_url":"https://api.github.com/repos/demitri/core-plot/releases{/id}","created_at":"2015-08-28T04:37:49Z","updated_at":"2015-08-28T04:37:50Z","pushed_at":"2015-08-28T07:22:00Z","git_url":"git://github.com/demitri/core-plot.git","ssh_url":"git@github.com:demitri/core-plot.git","clone_url":"https://github.com/demitri/core-plot.git","svn_url":"https://github.com/demitri/core-plot","homepage":"","size":62675,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"core-plot:release-2.0","ref":"release-2.0","sha":"71a09cdff2a070db33f2b2e4c00998f16436d1ab","user":{"login":"core-plot","id":6242309,"avatar_url":"https://avatars.githubusercontent.com/u/6242309?v=3","gravatar_id":"","url":"https://api.github.com/users/core-plot","html_url":"https://github.com/core-plot","followers_url":"https://api.github.com/users/core-plot/followers","following_url":"https://api.github.com/users/core-plot/following{/other_user}","gists_url":"https://api.github.com/users/core-plot/gists{/gist_id}","starred_url":"https://api.github.com/users/core-plot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core-plot/subscriptions","organizations_url":"https://api.github.com/users/core-plot/orgs","repos_url":"https://api.github.com/users/core-plot/repos","events_url":"https://api.github.com/users/core-plot/events{/privacy}","received_events_url":"https://api.github.com/users/core-plot/received_events","type":"Organization","site_admin":false},"repo":{"id":15383182,"name":"core-plot","full_name":"core-plot/core-plot","owner":{"login":"core-plot","id":6242309,"avatar_url":"https://avatars.githubusercontent.com/u/6242309?v=3","gravatar_id":"","url":"https://api.github.com/users/core-plot","html_url":"https://github.com/core-plot","followers_url":"https://api.github.com/users/core-plot/followers","following_url":"https://api.github.com/users/core-plot/following{/other_user}","gists_url":"https://api.github.com/users/core-plot/gists{/gist_id}","starred_url":"https://api.github.com/users/core-plot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/core-plot/subscriptions","organizations_url":"https://api.github.com/users/core-plot/orgs","repos_url":"https://api.github.com/users/core-plot/repos","events_url":"https://api.github.com/users/core-plot/events{/privacy}","received_events_url":"https://api.github.com/users/core-plot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/core-plot/core-plot","description":"Core Plot source code and example applications","fork":false,"url":"https://api.github.com/repos/core-plot/core-plot","forks_url":"https://api.github.com/repos/core-plot/core-plot/forks","keys_url":"https://api.github.com/repos/core-plot/core-plot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/core-plot/core-plot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/core-plot/core-plot/teams","hooks_url":"https://api.github.com/repos/core-plot/core-plot/hooks","issue_events_url":"https://api.github.com/repos/core-plot/core-plot/issues/events{/number}","events_url":"https://api.github.com/repos/core-plot/core-plot/events","assignees_url":"https://api.github.com/repos/core-plot/core-plot/assignees{/user}","branches_url":"https://api.github.com/repos/core-plot/core-plot/branches{/branch}","tags_url":"https://api.github.com/repos/core-plot/core-plot/tags","blobs_url":"https://api.github.com/repos/core-plot/core-plot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/core-plot/core-plot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/core-plot/core-plot/git/refs{/sha}","trees_url":"https://api.github.com/repos/core-plot/core-plot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/core-plot/core-plot/statuses/{sha}","languages_url":"https://api.github.com/repos/core-plot/core-plot/languages","stargazers_url":"https://api.github.com/repos/core-plot/core-plot/stargazers","contributors_url":"https://api.github.com/repos/core-plot/core-plot/contributors","subscribers_url":"https://api.github.com/repos/core-plot/core-plot/subscribers","subscription_url":"https://api.github.com/repos/core-plot/core-plot/subscription","commits_url":"https://api.github.com/repos/core-plot/core-plot/commits{/sha}","git_commits_url":"https://api.github.com/repos/core-plot/core-plot/git/commits{/sha}","comments_url":"https://api.github.com/repos/core-plot/core-plot/comments{/number}","issue_comment_url":"https://api.github.com/repos/core-plot/core-plot/issues/comments{/number}","contents_url":"https://api.github.com/repos/core-plot/core-plot/contents/{+path}","compare_url":"https://api.github.com/repos/core-plot/core-plot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/core-plot/core-plot/merges","archive_url":"https://api.github.com/repos/core-plot/core-plot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/core-plot/core-plot/downloads","issues_url":"https://api.github.com/repos/core-plot/core-plot/issues{/number}","pulls_url":"https://api.github.com/repos/core-plot/core-plot/pulls{/number}","milestones_url":"https://api.github.com/repos/core-plot/core-plot/milestones{/number}","notifications_url":"https://api.github.com/repos/core-plot/core-plot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/core-plot/core-plot/labels{/name}","releases_url":"https://api.github.com/repos/core-plot/core-plot/releases{/id}","created_at":"2013-12-22T22:30:19Z","updated_at":"2015-09-10T16:49:33Z","pushed_at":"2015-09-11T18:19:07Z","git_url":"git://github.com/core-plot/core-plot.git","ssh_url":"git@github.com:core-plot/core-plot.git","clone_url":"https://github.com/core-plot/core-plot.git","svn_url":"https://github.com/core-plot/core-plot","homepage":"","size":179458,"stargazers_count":1617,"watchers_count":1617,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":397,"mirror_url":null,"open_issues_count":50,"forks":397,"open_issues":50,"watchers":1617,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/core-plot/core-plot/pulls/221"},"html":{"href":"https://github.com/core-plot/core-plot/pull/221"},"issue":{"href":"https://api.github.com/repos/core-plot/core-plot/issues/221"},"comments":{"href":"https://api.github.com/repos/core-plot/core-plot/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/core-plot/core-plot/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/core-plot/core-plot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/core-plot/core-plot/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/core-plot/core-plot/statuses/fe08ec4498db090f3e623de4e5a614dc5cb1d7a8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"eskroch","id":1934470,"avatar_url":"https://avatars.githubusercontent.com/u/1934470?v=3","gravatar_id":"","url":"https://api.github.com/users/eskroch","html_url":"https://github.com/eskroch","followers_url":"https://api.github.com/users/eskroch/followers","following_url":"https://api.github.com/users/eskroch/following{/other_user}","gists_url":"https://api.github.com/users/eskroch/gists{/gist_id}","starred_url":"https://api.github.com/users/eskroch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eskroch/subscriptions","organizations_url":"https://api.github.com/users/eskroch/orgs","repos_url":"https://api.github.com/users/eskroch/repos","events_url":"https://api.github.com/users/eskroch/events{/privacy}","received_events_url":"https://api.github.com/users/eskroch/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":196,"deletions":1,"changed_files":7}}