{"action":"opened","issue":{"url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/649","labels_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/649/comments","events_url":"https://api.github.com/repos/matlab2tikz/matlab2tikz/issues/649/events","html_url":"https://github.com/matlab2tikz/matlab2tikz/issues/649","id":74298304,"number":649,"title":"testGraphical on octave","user":{"login":"PeterPablo","id":4340267,"avatar_url":"https://avatars.githubusercontent.com/u/4340267?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterPablo","html_url":"https://github.com/PeterPablo","followers_url":"https://api.github.com/users/PeterPablo/followers","following_url":"https://api.github.com/users/PeterPablo/following{/other_user}","gists_url":"https://api.github.com/users/PeterPablo/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterPablo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterPablo/subscriptions","organizations_url":"https://api.github.com/users/PeterPablo/orgs","repos_url":"https://api.github.com/users/PeterPablo/repos","events_url":"https://api.github.com/users/PeterPablo/events{/privacy}","received_events_url":"https://api.github.com/users/PeterPablo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T09:23:06Z","updated_at":"2015-05-08T09:23:06Z","closed_at":null,"body":"at 7a6b248655f555c1411e7397e47bfa3e50eb8050\r\n\r\nThis is difficult to accomplish, since the reference output does not seem to be saved, as long as figures are invisible. I think @okomarov had the same problem yesterday.\r\n\r\nUnfortunately I seem to be unable to pass `'figureVisible','true'` to `testGraphical()`. @egeerardyn, can you please verify?\r\n\r\nBy this small patch, I was able to generate the output. I reduced the pause to speed things up:\r\n```\r\ndiff --git a/test/private/execute_save_stage.m b/test/private/execute_save_stage.m\r\nindex f92a236..ced2a1b 100644\r\n--- a/test/private/execute_save_stage.m\r\n+++ b/test/private/execute_save_stage.m\r\n@@ -18,8 +18,9 @@ function [status] = execute_save_stage(status, ipp)\r\n \r\n             case 'Octave'\r\n                 % In Octave, figures are properly cropped when using  print().\r\n+                % FIXME: 'figureVisible' need to be 'true'?!\r\n                 print(reference_pdf, '-dpdf', '-S415,311', '-r150');\r\n-                pause(1.0)\r\n+                pause(0.2)\r\n             otherwise\r\n                 error('matlab2tikz:UnknownEnvironment', ...\r\n                      'Unknown environment. Need MATLAB(R) or GNU Octave.')\r\ndiff --git a/test/private/testMatlab2tikz.m b/test/private/testMatlab2tikz.m\r\nindex dbfa217..31746f2 100644\r\n--- a/test/private/testMatlab2tikz.m\r\n+++ b/test/private/testMatlab2tikz.m\r\n@@ -61,7 +61,7 @@ function status = testMatlab2tikz(varargin)\r\n \r\n   ipp = ipp.addOptional(ipp, 'testFunctionIndices', [], @isfloat);\r\n   ipp = ipp.addParamValue(ipp, 'extraOptions', {}, @iscell);\r\n-  ipp = ipp.addParamValue(ipp, 'figureVisible', false, @islogical);\r\n+  ipp = ipp.addParamValue(ipp, 'figureVisible', true, @islogical);\r\n   ipp = ipp.addParamValue(ipp, 'actionsToExecute', @(varargin) varargin{1}, @isFunction);\r\n   ipp = ipp.addParamValue(ipp, 'testsuite', @ACID, @isFunction );\r\n```\r\n\r\n## Tests whose output looks very wrong:\r\n53, 55, 77\r\n## Tests that give errors:\r\n74,81,83\r\nUnfortunately those tests need to be manually commented out in `acid.tex`, otherwise compilation fails. :cry: \r\n\r\nI will output the `acid.pdf` shortly.\r\n"}}