{"action":"created","comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments/48674758","id":48674758,"diff_hunk":"@@ -1502,6 +1502,16 @@ case guitypes()\n \n     options = setAxisTicks(m2t, options, axis, pgfTicks, pgfTickLabels, ...\n         hasMinorTicks, tickDirection, isDatetimeTicks);\n+        \n+    options = setAxisTickLabelStyle(m2t, options,axis,handle);\n+end\n+% ==============================================================================\n+function options = setAxisTickLabelStyle(m2t, options, axis, handle)\n+    keywordTickLabelRotation = [upper(axis), 'TickLabelRotation'];\n+    Rotation = getOrDefault(handle, keywordTickLabelRotation, 0);","path":"src/matlab2tikz.m","position":10,"original_position":10,"commit_id":"e7871679738898bd69ce9b7e409ba24cfeed7145","original_commit_id":"e7871679738898bd69ce9b7e409ba24cfeed7145","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},"body":"@miscco I disagree: introducing a variable (even if it's used only once) is a good thing because it makes the code self-documenting.\r\nI'm also more in favor of `rotation` rather than `tickLabelRotation`: it is more terse and the scope of the function implies we are considering tick labels and not the rotation of something else (in a more generic function, however, I would totally agree with you to specify which rotation).","created_at":"2016-01-01T00:43:42Z","updated_at":"2016-01-01T00:43:42Z","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/836#discussion_r48674758","pull_request_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836","_links":{"self":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments/48674758"},"html":{"href":"https://github.com/matlab2tikz/matlab2tikz/pull/836#discussion_r48674758"},"pull_request":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836"}}},"pull_request":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836","id":54839003,"html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/836","diff_url":"https://github.com/matlab2tikz/matlab2tikz/pull/836.diff","patch_url":"https://github.com/matlab2tikz/matlab2tikz/pull/836.patch","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/836","number":836,"state":"open","locked":false,"title":"Tick label rotation","user":{"login":"RPeschke","id":5286265,"avatar_url":"https://avatars.githubusercontent.com/u/5286265?v=3","gravatar_id":"","url":"https://api.github.com/users/RPeschke","html_url":"https://github.com/RPeschke","followers_url":"https://api.github.com/users/RPeschke/followers","following_url":"https://api.github.com/users/RPeschke/following{/other_user}","gists_url":"https://api.github.com/users/RPeschke/gists{/gist_id}","starred_url":"https://api.github.com/users/RPeschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPeschke/subscriptions","organizations_url":"https://api.github.com/users/RPeschke/orgs","repos_url":"https://api.github.com/users/RPeschke/repos","events_url":"https://api.github.com/users/RPeschke/events{/privacy}","received_events_url":"https://api.github.com/users/RPeschke/received_events","type":"User","site_admin":false},"body":"allows to use rotated tick labels","created_at":"2015-12-30T23:56:31Z","updated_at":"2016-01-01T00:43:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89b934933226dc43247060bdfc7e4552ee00852e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836/commits","review_comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836/comments","review_comment_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/836/comments","statuses_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/e7871679738898bd69ce9b7e409ba24cfeed7145","head":{"label":"RPeschke:develop","ref":"develop","sha":"e7871679738898bd69ce9b7e409ba24cfeed7145","user":{"login":"RPeschke","id":5286265,"avatar_url":"https://avatars.githubusercontent.com/u/5286265?v=3","gravatar_id":"","url":"https://api.github.com/users/RPeschke","html_url":"https://github.com/RPeschke","followers_url":"https://api.github.com/users/RPeschke/followers","following_url":"https://api.github.com/users/RPeschke/following{/other_user}","gists_url":"https://api.github.com/users/RPeschke/gists{/gist_id}","starred_url":"https://api.github.com/users/RPeschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPeschke/subscriptions","organizations_url":"https://api.github.com/users/RPeschke/orgs","repos_url":"https://api.github.com/users/RPeschke/repos","events_url":"https://api.github.com/users/RPeschke/events{/privacy}","received_events_url":"https://api.github.com/users/RPeschke/received_events","type":"User","site_admin":false},"repo":{"id":40592385,"name":"matlab2tikz","full_name":"RPeschke/matlab2tikz","owner":{"login":"RPeschke","id":5286265,"avatar_url":"https://avatars.githubusercontent.com/u/5286265?v=3","gravatar_id":"","url":"https://api.github.com/users/RPeschke","html_url":"https://github.com/RPeschke","followers_url":"https://api.github.com/users/RPeschke/followers","following_url":"https://api.github.com/users/RPeschke/following{/other_user}","gists_url":"https://api.github.com/users/RPeschke/gists{/gist_id}","starred_url":"https://api.github.com/users/RPeschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RPeschke/subscriptions","organizations_url":"https://api.github.com/users/RPeschke/orgs","repos_url":"https://api.github.com/users/RPeschke/repos","events_url":"https://api.github.com/users/RPeschke/events{/privacy}","received_events_url":"https://api.github.com/users/RPeschke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RPeschke/matlab2tikz","description":"This program converts MATLAB®/Octave figures to TikZ/pgfplots figures for smooth integration into LaTeX.","fork":true,"url":"https://api.github.com/repos/RPeschke/matlab2tikz","forks_url":"https://api.github.com/repos/RPeschke/matlab2tikz/forks","keys_url":"https://api.github.com/repos/RPeschke/matlab2tikz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RPeschke/matlab2tikz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RPeschke/matlab2tikz/teams","hooks_url":"https://api.github.com/repos/RPeschke/matlab2tikz/hooks","issue_events_url":"https://api.github.com/repos/RPeschke/matlab2tikz/issues/events{/number}","events_url":"https://api.github.com/repos/RPeschke/matlab2tikz/events","assignees_url":"https://api.github.com/repos/RPeschke/matlab2tikz/assignees{/user}","branches_url":"https://api.github.com/repos/RPeschke/matlab2tikz/branches{/branch}","tags_url":"https://api.github.com/repos/RPeschke/matlab2tikz/tags","blobs_url":"https://api.github.com/repos/RPeschke/matlab2tikz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RPeschke/matlab2tikz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RPeschke/matlab2tikz/git/refs{/sha}","trees_url":"https://api.github.com/repos/RPeschke/matlab2tikz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RPeschke/matlab2tikz/statuses/{sha}","languages_url":"https://api.github.com/repos/RPeschke/matlab2tikz/languages","stargazers_url":"https://api.github.com/repos/RPeschke/matlab2tikz/stargazers","contributors_url":"https://api.github.com/repos/RPeschke/matlab2tikz/contributors","subscribers_url":"https://api.github.com/repos/RPeschke/matlab2tikz/subscribers","subscription_url":"https://api.github.com/repos/RPeschke/matlab2tikz/subscription","commits_url":"https://api.github.com/repos/RPeschke/matlab2tikz/commits{/sha}","git_commits_url":"https://api.github.com/repos/RPeschke/matlab2tikz/git/commits{/sha}","comments_url":"https://api.github.com/repos/RPeschke/matlab2tikz/comments{/number}","issue_comment_url":"https://api.github.com/repos/RPeschke/matlab2tikz/issues/comments{/number}","contents_url":"https://api.github.com/repos/RPeschke/matlab2tikz/contents/{+path}","compare_url":"https://api.github.com/repos/RPeschke/matlab2tikz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RPeschke/matlab2tikz/merges","archive_url":"https://api.github.com/repos/RPeschke/matlab2tikz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RPeschke/matlab2tikz/downloads","issues_url":"https://api.github.com/repos/RPeschke/matlab2tikz/issues{/number}","pulls_url":"https://api.github.com/repos/RPeschke/matlab2tikz/pulls{/number}","milestones_url":"https://api.github.com/repos/RPeschke/matlab2tikz/milestones{/number}","notifications_url":"https://api.github.com/repos/RPeschke/matlab2tikz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RPeschke/matlab2tikz/labels{/name}","releases_url":"https://api.github.com/repos/RPeschke/matlab2tikz/releases{/id}","created_at":"2015-08-12T09:32:38Z","updated_at":"2015-08-12T09:32:38Z","pushed_at":"2015-12-31T16:54:27Z","git_url":"git://github.com/RPeschke/matlab2tikz.git","ssh_url":"git@github.com:RPeschke/matlab2tikz.git","clone_url":"https://github.com/RPeschke/matlab2tikz.git","svn_url":"https://github.com/RPeschke/matlab2tikz","homepage":"http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz","size":7437,"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":"3323de6138b23790d1d7172f60bcd196b2244359","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-12-29T13:51:33Z","pushed_at":"2015-12-31T16:54:27Z","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":10203,"stargazers_count":336,"watchers_count":336,"language":"Matlab","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":118,"forks":94,"open_issues":118,"watchers":336,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836"},"html":{"href":"https://github.com/matlab2tikz/matlab2tikz/pull/836"},"issue":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/836"},"comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/836/comments"},"review_comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836/comments"},"review_comment":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/836/commits"},"statuses":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/e7871679738898bd69ce9b7e409ba24cfeed7145"}}}}