{"action":"created","issue":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/141","repository_url":"https://api.github.com/repos/tbreloff/Plots.jl","labels_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/141/comments","events_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/141/events","html_url":"https://github.com/tbreloff/Plots.jl/issues/141","id":133948672,"number":141,"title":"Specify text labels for xticks and yticks","user":{"login":"codles","id":748691,"avatar_url":"https://avatars.githubusercontent.com/u/748691?v=3","gravatar_id":"","url":"https://api.github.com/users/codles","html_url":"https://github.com/codles","followers_url":"https://api.github.com/users/codles/followers","following_url":"https://api.github.com/users/codles/following{/other_user}","gists_url":"https://api.github.com/users/codles/gists{/gist_id}","starred_url":"https://api.github.com/users/codles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codles/subscriptions","organizations_url":"https://api.github.com/users/codles/orgs","repos_url":"https://api.github.com/users/codles/repos","events_url":"https://api.github.com/users/codles/events{/privacy}","received_events_url":"https://api.github.com/users/codles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-16T10:58:32Z","updated_at":"2016-02-16T21:33:08Z","closed_at":null,"body":"Is it possible to place text instead of numbers for x and y ticks? Currently the definition is `xticks!{T<:Real}(v::AVec{T}) `. Or is there another command I have missed?"},"comment":{"url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/comments/184882854","html_url":"https://github.com/tbreloff/Plots.jl/issues/141#issuecomment-184882854","issue_url":"https://api.github.com/repos/tbreloff/Plots.jl/issues/141","id":184882854,"user":{"login":"tbreloff","id":933338,"avatar_url":"https://avatars.githubusercontent.com/u/933338?v=3","gravatar_id":"","url":"https://api.github.com/users/tbreloff","html_url":"https://github.com/tbreloff","followers_url":"https://api.github.com/users/tbreloff/followers","following_url":"https://api.github.com/users/tbreloff/following{/other_user}","gists_url":"https://api.github.com/users/tbreloff/gists{/gist_id}","starred_url":"https://api.github.com/users/tbreloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbreloff/subscriptions","organizations_url":"https://api.github.com/users/tbreloff/orgs","repos_url":"https://api.github.com/users/tbreloff/repos","events_url":"https://api.github.com/users/tbreloff/events{/privacy}","received_events_url":"https://api.github.com/users/tbreloff/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T21:33:08Z","updated_at":"2016-02-16T21:33:08Z","body":"Ok finally in front of a computer.  There are a few things here, and I made some fixes in the `dev` branch.  (do `Pkg.checkout(\"Plots\",\"dev\")`)\r\n\r\n- Plots would accept only \"tick values\" or \"tick values and labels\"... it wouldn't accept \"tick labels\".  I added this.\r\n- The Gadfly backend was missing a `collect` around the tick values when passing \"values and labels\"... fixed.\r\n- The PyPlot backend was missing a call to [set_xticklabels](http://matplotlib.org/api/axes_api.html?highlight=set_xticks#matplotlib.axes.Axes.set_xticklabels) and incorrectly was trying to pass both values and labels to `set_xticks`\r\n\r\nAfter these changes, PyPlot works as expected, and Gadfly/Plotly will work in this example, but will fail generally due to weirdness I don't want to go into (values are indices, not values).  Stick with PyPlot if you can.  This should work for you:\r\n\r\n```\r\nusing Plots; pyplot()\r\nx = 0:2:4\r\ns = [\"Isn't\", \"Plots\", \"Great??\"]\r\nsubplot(\r\n    plot(rand(3), xticks = x),\r\n    plot(rand(3), xticks = s),\r\n    plot(rand(3), xticks = (x,s))\r\n)\r\n```"}}