{"action":"closed","number":560,"pull_request":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560","id":30368800,"html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/560","diff_url":"https://github.com/matlab2tikz/matlab2tikz/pull/560.diff","patch_url":"https://github.com/matlab2tikz/matlab2tikz/pull/560.patch","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/560","number":560,"state":"closed","locked":false,"title":"Fix 3d axes placement","user":{"login":"LJeub","id":7434177,"avatar_url":"https://avatars.githubusercontent.com/u/7434177?v=3","gravatar_id":"","url":"https://api.github.com/users/LJeub","html_url":"https://github.com/LJeub","followers_url":"https://api.github.com/users/LJeub/followers","following_url":"https://api.github.com/users/LJeub/following{/other_user}","gists_url":"https://api.github.com/users/LJeub/gists{/gist_id}","starred_url":"https://api.github.com/users/LJeub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LJeub/subscriptions","organizations_url":"https://api.github.com/users/LJeub/orgs","repos_url":"https://api.github.com/users/LJeub/repos","events_url":"https://api.github.com/users/LJeub/events{/privacy}","received_events_url":"https://api.github.com/users/LJeub/received_events","type":"User","site_admin":false},"body":"This fixes a bug in drawing 3d axes with manual DataAspectRatio. The old code handling this case assumes that the axes are 2d. \r\n\r\nThe following example should illustrate the problem nicely:\r\n\r\n```matlab\r\nfigure('Position',[1,1,560,420]);\r\naxes('view',[60,50],'DataAspectRatio',[0.5,1,1],'position',[0.1,0.1,0.8,0.8],'box','on');\r\nannotation('rectangle',[0.2621,0.1,0.4759,0.8],'color','r')\r\n```\r\n\r\nHere is what the output should look like in matlab:\r\n![test_matlab](https://cloud.githubusercontent.com/assets/7434177/6462226/3eb2fa18-c19f-11e4-9e7e-a838421d57c2.png)\r\n\r\nHere is what the tikz output looks like before the fix:\r\n![test_old](https://cloud.githubusercontent.com/assets/7434177/6462249/6b3788ce-c19f-11e4-8ebe-76eed254f982.png)\r\n\r\nand after the fix:\r\n![test_fixed](https://cloud.githubusercontent.com/assets/7434177/6462264/8ddf5780-c19f-11e4-923d-298eb05a1273.png)\r\n\r\n","created_at":"2015-03-03T12:21:15Z","updated_at":"2015-04-28T12:21:15Z","closed_at":"2015-04-28T12:21:15Z","merged_at":null,"merge_commit_sha":"9f0a5da994acaa8b460229a26c3509de342d09fa","assignee":{"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},"milestone":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/milestones/9","html_url":"https://github.com/matlab2tikz/matlab2tikz/milestones/1.0%20Release","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/milestones/9/labels","id":863800,"number":9,"title":"1.0 Release","description":"These issues have to be fixed before we can release a 1.0 tag","creator":{"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},"open_issues":5,"closed_issues":18,"state":"open","created_at":"2014-11-12T18:31:09Z","updated_at":"2015-04-28T12:21:16Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560/commits","review_comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560/comments","review_comment_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/560/comments","statuses_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/3b49f68927bf636c6d7a584f626a55b461a669f1","head":{"label":"LJeub:fix-3d-axes-placement","ref":"fix-3d-axes-placement","sha":"3b49f68927bf636c6d7a584f626a55b461a669f1","user":{"login":"LJeub","id":7434177,"avatar_url":"https://avatars.githubusercontent.com/u/7434177?v=3","gravatar_id":"","url":"https://api.github.com/users/LJeub","html_url":"https://github.com/LJeub","followers_url":"https://api.github.com/users/LJeub/followers","following_url":"https://api.github.com/users/LJeub/following{/other_user}","gists_url":"https://api.github.com/users/LJeub/gists{/gist_id}","starred_url":"https://api.github.com/users/LJeub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LJeub/subscriptions","organizations_url":"https://api.github.com/users/LJeub/orgs","repos_url":"https://api.github.com/users/LJeub/repos","events_url":"https://api.github.com/users/LJeub/events{/privacy}","received_events_url":"https://api.github.com/users/LJeub/received_events","type":"User","site_admin":false},"repo":{"id":19257793,"name":"matlab2tikz","full_name":"LJeub/matlab2tikz","owner":{"login":"LJeub","id":7434177,"avatar_url":"https://avatars.githubusercontent.com/u/7434177?v=3","gravatar_id":"","url":"https://api.github.com/users/LJeub","html_url":"https://github.com/LJeub","followers_url":"https://api.github.com/users/LJeub/followers","following_url":"https://api.github.com/users/LJeub/following{/other_user}","gists_url":"https://api.github.com/users/LJeub/gists{/gist_id}","starred_url":"https://api.github.com/users/LJeub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LJeub/subscriptions","organizations_url":"https://api.github.com/users/LJeub/orgs","repos_url":"https://api.github.com/users/LJeub/repos","events_url":"https://api.github.com/users/LJeub/events{/privacy}","received_events_url":"https://api.github.com/users/LJeub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LJeub/matlab2tikz","description":"A converter that takes a MATLAB(R) figure and spits out a TikZ (Pgfplots) figure for smooth integration into LaTeX. ","fork":true,"url":"https://api.github.com/repos/LJeub/matlab2tikz","forks_url":"https://api.github.com/repos/LJeub/matlab2tikz/forks","keys_url":"https://api.github.com/repos/LJeub/matlab2tikz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LJeub/matlab2tikz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LJeub/matlab2tikz/teams","hooks_url":"https://api.github.com/repos/LJeub/matlab2tikz/hooks","issue_events_url":"https://api.github.com/repos/LJeub/matlab2tikz/issues/events{/number}","events_url":"https://api.github.com/repos/LJeub/matlab2tikz/events","assignees_url":"https://api.github.com/repos/LJeub/matlab2tikz/assignees{/user}","branches_url":"https://api.github.com/repos/LJeub/matlab2tikz/branches{/branch}","tags_url":"https://api.github.com/repos/LJeub/matlab2tikz/tags","blobs_url":"https://api.github.com/repos/LJeub/matlab2tikz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LJeub/matlab2tikz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LJeub/matlab2tikz/git/refs{/sha}","trees_url":"https://api.github.com/repos/LJeub/matlab2tikz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LJeub/matlab2tikz/statuses/{sha}","languages_url":"https://api.github.com/repos/LJeub/matlab2tikz/languages","stargazers_url":"https://api.github.com/repos/LJeub/matlab2tikz/stargazers","contributors_url":"https://api.github.com/repos/LJeub/matlab2tikz/contributors","subscribers_url":"https://api.github.com/repos/LJeub/matlab2tikz/subscribers","subscription_url":"https://api.github.com/repos/LJeub/matlab2tikz/subscription","commits_url":"https://api.github.com/repos/LJeub/matlab2tikz/commits{/sha}","git_commits_url":"https://api.github.com/repos/LJeub/matlab2tikz/git/commits{/sha}","comments_url":"https://api.github.com/repos/LJeub/matlab2tikz/comments{/number}","issue_comment_url":"https://api.github.com/repos/LJeub/matlab2tikz/issues/comments{/number}","contents_url":"https://api.github.com/repos/LJeub/matlab2tikz/contents/{+path}","compare_url":"https://api.github.com/repos/LJeub/matlab2tikz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LJeub/matlab2tikz/merges","archive_url":"https://api.github.com/repos/LJeub/matlab2tikz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LJeub/matlab2tikz/downloads","issues_url":"https://api.github.com/repos/LJeub/matlab2tikz/issues{/number}","pulls_url":"https://api.github.com/repos/LJeub/matlab2tikz/pulls{/number}","milestones_url":"https://api.github.com/repos/LJeub/matlab2tikz/milestones{/number}","notifications_url":"https://api.github.com/repos/LJeub/matlab2tikz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LJeub/matlab2tikz/labels{/name}","releases_url":"https://api.github.com/repos/LJeub/matlab2tikz/releases{/id}","created_at":"2014-04-28T23:50:06Z","updated_at":"2015-04-15T15:21:32Z","pushed_at":"2015-04-26T17:53:50Z","git_url":"git://github.com/LJeub/matlab2tikz.git","ssh_url":"git@github.com:LJeub/matlab2tikz.git","clone_url":"https://github.com/LJeub/matlab2tikz.git","svn_url":"https://github.com/LJeub/matlab2tikz","homepage":"http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz","size":5849,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":false,"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":"matlab2tikz:develop","ref":"develop","sha":"2c2ab105a251e6757fe90bd6f5bf62c63c1fb4f7","user":{"login":"matlab2tikz","id":10036397,"avatar_url":"https://avatars.githubusercontent.com/u/10036397?v=3","gravatar_id":"","url":"https://api.github.com/users/matlab2tikz","html_url":"https://github.com/matlab2tikz","followers_url":"https://api.github.com/users/matlab2tikz/followers","following_url":"https://api.github.com/users/matlab2tikz/following{/other_user}","gists_url":"https://api.github.com/users/matlab2tikz/gists{/gist_id}","starred_url":"https://api.github.com/users/matlab2tikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matlab2tikz/subscriptions","organizations_url":"https://api.github.com/users/matlab2tikz/orgs","repos_url":"https://api.github.com/users/matlab2tikz/repos","events_url":"https://api.github.com/users/matlab2tikz/events{/privacy}","received_events_url":"https://api.github.com/users/matlab2tikz/received_events","type":"Organization","site_admin":false},"repo":{"id":579842,"name":"matlab2tikz","full_name":"matlab2tikz/matlab2tikz","owner":{"login":"matlab2tikz","id":10036397,"avatar_url":"https://avatars.githubusercontent.com/u/10036397?v=3","gravatar_id":"","url":"https://api.github.com/users/matlab2tikz","html_url":"https://github.com/matlab2tikz","followers_url":"https://api.github.com/users/matlab2tikz/followers","following_url":"https://api.github.com/users/matlab2tikz/following{/other_user}","gists_url":"https://api.github.com/users/matlab2tikz/gists{/gist_id}","starred_url":"https://api.github.com/users/matlab2tikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matlab2tikz/subscriptions","organizations_url":"https://api.github.com/users/matlab2tikz/orgs","repos_url":"https://api.github.com/users/matlab2tikz/repos","events_url":"https://api.github.com/users/matlab2tikz/events{/privacy}","received_events_url":"https://api.github.com/users/matlab2tikz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matlab2tikz/matlab2tikz","description":"This program converts MATLAB®/Octave figures to TikZ/pgfplots figures for smooth integration into LaTeX.","fork":false,"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz","forks_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/forks","keys_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/teams","hooks_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/hooks","issue_events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/events{/number}","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/events","assignees_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/assignees{/user}","branches_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/branches{/branch}","tags_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/tags","blobs_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/git/refs{/sha}","trees_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/{sha}","languages_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/languages","stargazers_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/stargazers","contributors_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/contributors","subscribers_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/subscribers","subscription_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/subscription","commits_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/commits{/sha}","git_commits_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/git/commits{/sha}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/comments{/number}","issue_comment_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/comments{/number}","contents_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/contents/{+path}","compare_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/merges","archive_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/downloads","issues_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues{/number}","pulls_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls{/number}","milestones_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/milestones{/number}","notifications_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels{/name}","releases_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/releases{/id}","created_at":"2010-03-25T22:52:27Z","updated_at":"2015-04-26T14:02:21Z","pushed_at":"2015-04-28T12:17:51Z","git_url":"git://github.com/matlab2tikz/matlab2tikz.git","ssh_url":"git@github.com:matlab2tikz/matlab2tikz.git","clone_url":"https://github.com/matlab2tikz/matlab2tikz.git","svn_url":"https://github.com/matlab2tikz/matlab2tikz","homepage":"http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz","size":10147,"stargazers_count":270,"watchers_count":270,"language":"Matlab","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":92,"forks":78,"open_issues":92,"watchers":270,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560"},"html":{"href":"https://github.com/matlab2tikz/matlab2tikz/pull/560"},"issue":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/560"},"comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/560/comments"},"review_comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560/comments"},"review_comment":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/560/commits"},"statuses":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/3b49f68927bf636c6d7a584f626a55b461a669f1"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":26,"review_comments":3,"commits":8,"additions":80,"deletions":24,"changed_files":1}}