{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/f57128e8ae1aa8dd34f6ce118ae5568a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f57128e8ae1aa8dd34f6ce118ae5568a","url":"https://api.github.com/users/CapsLocker","login":"CapsLocker","id":1169982},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-04T14:45:26Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/nschloe/matlab2tikz/issues/53","body":"in getTicks() I had a little problem ... \r\n\r\nMATLAB(R) Help says:\r\nNote that tick labels do not interpret TeX character sequences (however, the Title, XLabel, YLabel, and ZLabel properties do).\r\n\r\nNow this may be awful if you like to place e.g. pi/2;p;3pi/2 labels on a sine plot ... \r\n\r\nI just tweaked the labelInterpreter to 'tex' and had to make sure the ticks are stored in cell arrays. My Code now looks like this: \r\n.......\r\n  xTickLabel = get( handle, 'XTickLabel' );\r\n  if ~iscellstr(xTickLabel)\r\n      xTickLabel = cellstr(xTickLabel);\r\n  end\r\n  for k = 1:length(xTickLabel)\r\n      xTickLabel{k} = prettyPrint( m2t, xTickLabel(k), labelInterpreter);\r\n  end\r\n  xTickMode = get( handle, 'XTickMode' );\r\n.......\r\nAnd this for all directions, works for me.\r\n\r\nCheers","html_url":"https://github.com/nschloe/matlab2tikz/issues/53","number":53,"title":"TickLabel handling","id":2144471,"created_at":"2011-11-04T14:45:26Z"},"action":"opened"}