{"action":"created","issue":{"url":"https://api.github.com/repos/praat/praat/issues/34","labels_url":"https://api.github.com/repos/praat/praat/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/praat/praat/issues/34/comments","events_url":"https://api.github.com/repos/praat/praat/issues/34/events","html_url":"https://github.com/praat/praat/issues/34","id":108229698,"number":34,"title":"Table: Line graph where... does not work properly if nrow < ncol","user":{"login":"jjatria","id":2975989,"avatar_url":"https://avatars.githubusercontent.com/u/2975989?v=3","gravatar_id":"","url":"https://api.github.com/users/jjatria","html_url":"https://github.com/jjatria","followers_url":"https://api.github.com/users/jjatria/followers","following_url":"https://api.github.com/users/jjatria/following{/other_user}","gists_url":"https://api.github.com/users/jjatria/gists{/gist_id}","starred_url":"https://api.github.com/users/jjatria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjatria/subscriptions","organizations_url":"https://api.github.com/users/jjatria/orgs","repos_url":"https://api.github.com/users/jjatria/repos","events_url":"https://api.github.com/users/jjatria/events{/privacy}","received_events_url":"https://api.github.com/users/jjatria/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/praat/praat/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/praat/praat/labels/linux","name":"linux","color":"5319e7"},{"url":"https://api.github.com/repos/praat/praat/labels/mac","name":"mac","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"davidweenink","id":13808451,"avatar_url":"https://avatars.githubusercontent.com/u/13808451?v=3","gravatar_id":"","url":"https://api.github.com/users/davidweenink","html_url":"https://github.com/davidweenink","followers_url":"https://api.github.com/users/davidweenink/followers","following_url":"https://api.github.com/users/davidweenink/following{/other_user}","gists_url":"https://api.github.com/users/davidweenink/gists{/gist_id}","starred_url":"https://api.github.com/users/davidweenink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidweenink/subscriptions","organizations_url":"https://api.github.com/users/davidweenink/orgs","repos_url":"https://api.github.com/users/davidweenink/repos","events_url":"https://api.github.com/users/davidweenink/events{/privacy}","received_events_url":"https://api.github.com/users/davidweenink/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-24T22:58:00Z","updated_at":"2015-10-08T14:16:51Z","closed_at":null,"body":"The command `Line graph where...` for Tables will not work if the column that is set to be the \"vertical column\" is the final one (=rightmost) in the Table object, **and** the Table object has fewer rows than columns.\r\n\r\nThis script exemplifies the problem:\r\n\r\n~~~\r\n# Generate sample Tables\r\ncolumns$ = \"a b c d e f g h i j k l m n o p q r s t u v w x y z\"\r\nErase all\r\nfor rows from 3 to 5\r\n  for cols from 3 to 5\r\n    table = Create Table with column names: if rows < cols then \"bad\" else \"good\" fi,\r\n      ... rows, left$(columns$, (2 * cols) - 1)\r\n\r\n    # Populate Table\r\n    for y to rows\r\n      for x to cols\r\n        Set numeric value: y, mid$(columns$, (2 * x) - 1), y\r\n      endfor\r\n    endfor\r\n\r\n    # Problem only exists when drawing the final (=rightmost) column\r\n    last_column$ = mid$(columns$, (2 * cols) - 1)\r\n\r\n    # The problematic command\r\n    Line graph where: last_column$, 0, 0, \"\", 0, 0, \"+\", 0, \"yes\", \"1; (= everything)\"\r\n\r\n    # Problem only exists with Tables where nrow < ncol\r\n    pauseScript: \"Did \",\r\n      ... if rows < cols then \"not \" else \"\" fi,\r\n      ... \"draw (\", rows, \", \", cols, \")\"\r\n    removeObject: table\r\n    Erase all\r\n  endfor\r\nendfor\r\n~~~\r\n\r\nThe problem exists up to and including 5.4.19, in Linux and Mac at least."},"comment":{"url":"https://api.github.com/repos/praat/praat/issues/comments/146559688","html_url":"https://github.com/praat/praat/issues/34#issuecomment-146559688","issue_url":"https://api.github.com/repos/praat/praat/issues/34","id":146559688,"user":{"login":"davidweenink","id":13808451,"avatar_url":"https://avatars.githubusercontent.com/u/13808451?v=3","gravatar_id":"","url":"https://api.github.com/users/davidweenink","html_url":"https://github.com/davidweenink","followers_url":"https://api.github.com/users/davidweenink/followers","following_url":"https://api.github.com/users/davidweenink/following{/other_user}","gists_url":"https://api.github.com/users/davidweenink/gists{/gist_id}","starred_url":"https://api.github.com/users/davidweenink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidweenink/subscriptions","organizations_url":"https://api.github.com/users/davidweenink/orgs","repos_url":"https://api.github.com/users/davidweenink/repos","events_url":"https://api.github.com/users/davidweenink/events{/privacy}","received_events_url":"https://api.github.com/users/davidweenink/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T14:16:51Z","updated_at":"2015-10-08T14:16:51Z","body":"opgelost zie github.\n\nDavid\n\n________________________________________\nFrom: Paul Boersma [notifications@github.com]\nSent: Wednesday, October 07, 2015 21:44\nTo: praat/praat\nCc: Weenink, David\nSubject: Re: [praat] Table: Line graph where... does not work properly if nrow < ncol (#34)\n\nAssigned #34<https://github.com/praat/praat/issues/34> to @davidweenink<https://github.com/davidweenink>.\n\n�\nReply to this email directly or view it on GitHub<https://github.com/praat/praat/issues/34#event-429540489>.\n\n"}}