{"action":"created","issue":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/869","repository_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/869/labels{/name}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/869/comments","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/869/events","html_url":"https://github.com/matlab2tikz/matlab2tikz/issues/869","id":136643599,"number":869,"title":"Export subplots to individual files","user":{"login":"seebk","id":1400917,"avatar_url":"https://avatars.githubusercontent.com/u/1400917?v=3","gravatar_id":"","url":"https://api.github.com/users/seebk","html_url":"https://github.com/seebk","followers_url":"https://api.github.com/users/seebk/followers","following_url":"https://api.github.com/users/seebk/following{/other_user}","gists_url":"https://api.github.com/users/seebk/gists{/gist_id}","starred_url":"https://api.github.com/users/seebk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seebk/subscriptions","organizations_url":"https://api.github.com/users/seebk/orgs","repos_url":"https://api.github.com/users/seebk/repos","events_url":"https://api.github.com/users/seebk/events{/privacy}","received_events_url":"https://api.github.com/users/seebk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T09:33:35Z","updated_at":"2016-02-26T10:03:02Z","closed_at":null,"body":"Is it possible to export every subplot in a figure into its own tex file? \r\n\r\nThe issue is that I usually create subplots in a single matlab figure, but in a latex document I want to arrange the subplots using \\subfloat. Hence, after exporting the figure with matlab2tikz I have to separate all axis and manually split the exported tex file into individual \\tikzpictures wrapped by \\subfloat.\r\n\r\nOr is there any other more convenient way?"},"comment":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/comments/189202016","html_url":"https://github.com/matlab2tikz/matlab2tikz/issues/869#issuecomment-189202016","issue_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/869","id":189202016,"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":"2016-02-26T10:03:02Z","updated_at":"2016-02-26T10:03:02Z","body":"Why dot you just do figure(); instead of subfigure(nmk)? Then you run matlab2tikz for every individual figure."}}