{"action":"created","issue":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/785","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/785/comments","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/785/events","html_url":"https://github.com/matlab2tikz/matlab2tikz/issues/785","id":110264330,"number":785,"title":"Misplacement of bars by using bar(x,y)","user":{"login":"elektronxyz","id":15018040,"avatar_url":"https://avatars.githubusercontent.com/u/15018040?v=3","gravatar_id":"","url":"https://api.github.com/users/elektronxyz","html_url":"https://github.com/elektronxyz","followers_url":"https://api.github.com/users/elektronxyz/followers","following_url":"https://api.github.com/users/elektronxyz/following{/other_user}","gists_url":"https://api.github.com/users/elektronxyz/gists{/gist_id}","starred_url":"https://api.github.com/users/elektronxyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elektronxyz/subscriptions","organizations_url":"https://api.github.com/users/elektronxyz/orgs","repos_url":"https://api.github.com/users/elektronxyz/repos","events_url":"https://api.github.com/users/elektronxyz/events{/privacy}","received_events_url":"https://api.github.com/users/elektronxyz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/+0.0.1","name":"+0.0.1","color":"d3d7cf"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/matlab","name":"matlab","color":"e0b727"},{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/labels/ready-for-action","name":"ready-for-action","color":"eeeeec"}],"state":"open","locked":false,"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/11","html_url":"https://github.com/matlab2tikz/matlab2tikz/milestones/1.1%20Release","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/milestones/11/labels","id":1027955,"number":11,"title":"1.1 Release","description":"","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":11,"closed_issues":52,"state":"open","created_at":"2015-03-18T19:15:33Z","updated_at":"2015-12-02T08:52:58Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-10-07T16:26:15Z","updated_at":"2015-12-02T10:33:18Z","closed_at":null,"body":"Hello,\r\n\r\nI discovered an issue in the current development branch. Using Matlab bar(x,y) with a random x-axis lead to an overlapping of the bars due to wrong values of \"bar shift=\" in the tikz file. \r\n\r\nExample Code:\r\n```matlab\r\nx=13.64:0.06:14.12;\r\ny = rand(9,4);\r\nbar(x , y);\r\nmatlab2tikz('issue785.tex','standalone',true);\r\n```\r\n           \r\n\r\nMatlab Result:\r\n![barxy_error_reference](https://cloud.githubusercontent.com/assets/15018040/10343849/55ce81ea-6d20-11e5-8481-3f90a1ea864d.jpg)\r\n\r\nLatex Result:\r\n\r\n![barxy_error_result](https://cloud.githubusercontent.com/assets/15018040/10343911/aff1c04c-6d20-11e5-8d8d-72f5a0905bc9.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/comments/161251626","html_url":"https://github.com/matlab2tikz/matlab2tikz/issues/785#issuecomment-161251626","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/785","id":161251626,"user":{"login":"miscco","id":3017120,"avatar_url":"https://avatars.githubusercontent.com/u/3017120?v=3","gravatar_id":"","url":"https://api.github.com/users/miscco","html_url":"https://github.com/miscco","followers_url":"https://api.github.com/users/miscco/followers","following_url":"https://api.github.com/users/miscco/following{/other_user}","gists_url":"https://api.github.com/users/miscco/gists{/gist_id}","starred_url":"https://api.github.com/users/miscco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miscco/subscriptions","organizations_url":"https://api.github.com/users/miscco/orgs","repos_url":"https://api.github.com/users/miscco/repos","events_url":"https://api.github.com/users/miscco/events{/privacy}","received_events_url":"https://api.github.com/users/miscco/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T10:33:18Z","updated_at":"2015-12-02T10:33:18Z","body":"I am not so familiar with bar plots. \r\n\r\nSo i thought barwidth a property of the figure handle and normalize that value rtather than changing grouping etc."}}