{"action":"created","comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments/32873824","id":32873824,"diff_hunk":"@@ -3692,19 +3694,20 @@ case size(cData,2) % specific y-data is given\n     % define arrow style\n     arrowOptions = opts_print(m2t, arrowOpts, ',');\n \n-    % Append the arrow style to the TikZ options themselves.\n-    % TODO: Look into replacing this by something more 'local',\n-    % (see \\pgfplotset{}).\n     m2t.content.options = opts_add(m2t.content.options,...\n         sprintf('arrow%d/.style', m2t.quiverId), ...\n         ['{', arrowOptions, '}']);\n-    % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n-    % return the vector field code\n-    str = [str, ...\n-        sprintf(['\\\\',name,' [arrow',num2str(m2t.quiverId), '] ', ...\n-        'coordinates{(',format,') (',format,')};\\n'],...\n-        data)];\n-    %FIXME: external\n+    \n+    tabOpts = 'row sep=crcr';\n+    [m2t, table] = makeTable(m2t, repmat({''}, size(data,2)), data);","path":"src/matlab2tikz.m","position":74,"original_position":74,"commit_id":"436d84396dd0925b861a105e11e1b21794f47b2c","original_commit_id":"436d84396dd0925b861a105e11e1b21794f47b2c","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":"If you call it as \r\n```matlab\r\nvariables = {'x','y','z','u','v','w'}; % 3D\r\nvariables = {'x',y','u','v'}; % for 2D\r\n[m2t, table] = makeTable(m2t, variables, data);\r\n```\r\n\r\nthere is no need to specify `x y u v` in the output code below as the table will include them for you.","created_at":"2015-06-19T22:11:30Z","updated_at":"2015-06-19T22:11:30Z","html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/679#discussion_r32873824","pull_request_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679","_links":{"self":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments/32873824"},"html":{"href":"https://github.com/matlab2tikz/matlab2tikz/pull/679#discussion_r32873824"},"pull_request":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679"}}},"pull_request":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679","id":38148923,"html_url":"https://github.com/matlab2tikz/matlab2tikz/pull/679","diff_url":"https://github.com/matlab2tikz/matlab2tikz/pull/679.diff","patch_url":"https://github.com/matlab2tikz/matlab2tikz/pull/679.patch","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/679","number":679,"state":"open","locked":false,"title":"Now using pgfplots' native quiver functionality.","user":{"login":"jam4375","id":9887152,"avatar_url":"https://avatars.githubusercontent.com/u/9887152?v=3","gravatar_id":"","url":"https://api.github.com/users/jam4375","html_url":"https://github.com/jam4375","followers_url":"https://api.github.com/users/jam4375/followers","following_url":"https://api.github.com/users/jam4375/following{/other_user}","gists_url":"https://api.github.com/users/jam4375/gists{/gist_id}","starred_url":"https://api.github.com/users/jam4375/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam4375/subscriptions","organizations_url":"https://api.github.com/users/jam4375/orgs","repos_url":"https://api.github.com/users/jam4375/repos","events_url":"https://api.github.com/users/jam4375/events{/privacy}","received_events_url":"https://api.github.com/users/jam4375/received_events","type":"User","site_admin":false},"body":"This pull request is in response to this [issue](https://github.com/matlab2tikz/matlab2tikz/issues/671). In addition to now using the native quiver functionality, the arrow heads are scaled with the arrow length similar to [here](http://tex.stackexchange.com/a/210219/29042).","created_at":"2015-06-19T21:19:19Z","updated_at":"2015-06-19T22:11:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12aa63758820cf797a4c87cf0d873b22a93cca7f","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":null,"commits_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679/commits","review_comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679/comments","review_comment_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/679/comments","statuses_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/436d84396dd0925b861a105e11e1b21794f47b2c","head":{"label":"jam4375:nativeQuiver","ref":"nativeQuiver","sha":"436d84396dd0925b861a105e11e1b21794f47b2c","user":{"login":"jam4375","id":9887152,"avatar_url":"https://avatars.githubusercontent.com/u/9887152?v=3","gravatar_id":"","url":"https://api.github.com/users/jam4375","html_url":"https://github.com/jam4375","followers_url":"https://api.github.com/users/jam4375/followers","following_url":"https://api.github.com/users/jam4375/following{/other_user}","gists_url":"https://api.github.com/users/jam4375/gists{/gist_id}","starred_url":"https://api.github.com/users/jam4375/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam4375/subscriptions","organizations_url":"https://api.github.com/users/jam4375/orgs","repos_url":"https://api.github.com/users/jam4375/repos","events_url":"https://api.github.com/users/jam4375/events{/privacy}","received_events_url":"https://api.github.com/users/jam4375/received_events","type":"User","site_admin":false},"repo":{"id":37745074,"name":"matlab2tikz","full_name":"jam4375/matlab2tikz","owner":{"login":"jam4375","id":9887152,"avatar_url":"https://avatars.githubusercontent.com/u/9887152?v=3","gravatar_id":"","url":"https://api.github.com/users/jam4375","html_url":"https://github.com/jam4375","followers_url":"https://api.github.com/users/jam4375/followers","following_url":"https://api.github.com/users/jam4375/following{/other_user}","gists_url":"https://api.github.com/users/jam4375/gists{/gist_id}","starred_url":"https://api.github.com/users/jam4375/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jam4375/subscriptions","organizations_url":"https://api.github.com/users/jam4375/orgs","repos_url":"https://api.github.com/users/jam4375/repos","events_url":"https://api.github.com/users/jam4375/events{/privacy}","received_events_url":"https://api.github.com/users/jam4375/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jam4375/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/jam4375/matlab2tikz","forks_url":"https://api.github.com/repos/jam4375/matlab2tikz/forks","keys_url":"https://api.github.com/repos/jam4375/matlab2tikz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jam4375/matlab2tikz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jam4375/matlab2tikz/teams","hooks_url":"https://api.github.com/repos/jam4375/matlab2tikz/hooks","issue_events_url":"https://api.github.com/repos/jam4375/matlab2tikz/issues/events{/number}","events_url":"https://api.github.com/repos/jam4375/matlab2tikz/events","assignees_url":"https://api.github.com/repos/jam4375/matlab2tikz/assignees{/user}","branches_url":"https://api.github.com/repos/jam4375/matlab2tikz/branches{/branch}","tags_url":"https://api.github.com/repos/jam4375/matlab2tikz/tags","blobs_url":"https://api.github.com/repos/jam4375/matlab2tikz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jam4375/matlab2tikz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jam4375/matlab2tikz/git/refs{/sha}","trees_url":"https://api.github.com/repos/jam4375/matlab2tikz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jam4375/matlab2tikz/statuses/{sha}","languages_url":"https://api.github.com/repos/jam4375/matlab2tikz/languages","stargazers_url":"https://api.github.com/repos/jam4375/matlab2tikz/stargazers","contributors_url":"https://api.github.com/repos/jam4375/matlab2tikz/contributors","subscribers_url":"https://api.github.com/repos/jam4375/matlab2tikz/subscribers","subscription_url":"https://api.github.com/repos/jam4375/matlab2tikz/subscription","commits_url":"https://api.github.com/repos/jam4375/matlab2tikz/commits{/sha}","git_commits_url":"https://api.github.com/repos/jam4375/matlab2tikz/git/commits{/sha}","comments_url":"https://api.github.com/repos/jam4375/matlab2tikz/comments{/number}","issue_comment_url":"https://api.github.com/repos/jam4375/matlab2tikz/issues/comments{/number}","contents_url":"https://api.github.com/repos/jam4375/matlab2tikz/contents/{+path}","compare_url":"https://api.github.com/repos/jam4375/matlab2tikz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jam4375/matlab2tikz/merges","archive_url":"https://api.github.com/repos/jam4375/matlab2tikz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jam4375/matlab2tikz/downloads","issues_url":"https://api.github.com/repos/jam4375/matlab2tikz/issues{/number}","pulls_url":"https://api.github.com/repos/jam4375/matlab2tikz/pulls{/number}","milestones_url":"https://api.github.com/repos/jam4375/matlab2tikz/milestones{/number}","notifications_url":"https://api.github.com/repos/jam4375/matlab2tikz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jam4375/matlab2tikz/labels{/name}","releases_url":"https://api.github.com/repos/jam4375/matlab2tikz/releases{/id}","created_at":"2015-06-19T20:46:47Z","updated_at":"2015-06-19T20:46:48Z","pushed_at":"2015-06-19T21:14:49Z","git_url":"git://github.com/jam4375/matlab2tikz.git","ssh_url":"git@github.com:jam4375/matlab2tikz.git","clone_url":"https://github.com/jam4375/matlab2tikz.git","svn_url":"https://github.com/jam4375/matlab2tikz","homepage":"http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz","size":9145,"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:master","ref":"master","sha":"33667a0829a3223c8944cc502505b78e3496c8d7","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-06-17T06:28:06Z","pushed_at":"2015-06-19T21:19:19Z","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":9145,"stargazers_count":286,"watchers_count":286,"language":"Matlab","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":100,"forks":84,"open_issues":100,"watchers":286,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679"},"html":{"href":"https://github.com/matlab2tikz/matlab2tikz/pull/679"},"issue":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/679"},"comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/679/comments"},"review_comments":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679/comments"},"review_comment":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/pulls/679/commits"},"statuses":{"href":"https://api.github.com/repos/matlab2tikz/matlab2tikz/statuses/436d84396dd0925b861a105e11e1b21794f47b2c"}}}}