{"action":"created","issue":{"url":"https://api.github.com/repos/gforge/forestplot/issues/11","repository_url":"https://api.github.com/repos/gforge/forestplot","labels_url":"https://api.github.com/repos/gforge/forestplot/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/gforge/forestplot/issues/11/comments","events_url":"https://api.github.com/repos/gforge/forestplot/issues/11/events","html_url":"https://github.com/gforge/forestplot/issues/11","id":229320764,"number":11,"title":"Text/Label & Title Positions","user":{"login":"toffis81","id":28646749,"avatar_url":"https://avatars0.githubusercontent.com/u/28646749?v=3","gravatar_id":"","url":"https://api.github.com/users/toffis81","html_url":"https://github.com/toffis81","followers_url":"https://api.github.com/users/toffis81/followers","following_url":"https://api.github.com/users/toffis81/following{/other_user}","gists_url":"https://api.github.com/users/toffis81/gists{/gist_id}","starred_url":"https://api.github.com/users/toffis81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toffis81/subscriptions","organizations_url":"https://api.github.com/users/toffis81/orgs","repos_url":"https://api.github.com/users/toffis81/repos","events_url":"https://api.github.com/users/toffis81/events{/privacy}","received_events_url":"https://api.github.com/users/toffis81/received_events","type":"User","site_admin":false},"labels":[{"id":159879291,"url":"https://api.github.com/repos/gforge/forestplot/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-17T11:27:58Z","updated_at":"2017-05-23T08:21:52Z","closed_at":null,"body":"Apologies in advance if this should be two separate issues.\r\n\r\nWould it be possible to add a method to position the title centrally over wherever the plot is displayed? Here a couple of examples I have produced but, at the moment, the text directly over the plot is hard coded (position-wise) using grid.text:\r\n![image](https://cloud.githubusercontent.com/assets/28646749/26151596/6e642872-3afb-11e7-886a-b859c0d66f0f.png)\r\nAnd also:\r\n![image](https://cloud.githubusercontent.com/assets/28646749/26151414/b3f78704-3afa-11e7-973a-80230c215679.png)\r\n\r\nSimilarly, would it be possible to add a way to label the bottom axis? Here is another forest plot (from a previous issue I have raised) but I am have to hard code the positions of both bits of text (Favour X and Favours Y):\r\n![image](https://cloud.githubusercontent.com/assets/28646749/26151719/e8568df0-3afb-11e7-8286-b68504b3c18a.png)\r\n\r\nPlease let me know if you need anything further from me."},"comment":{"url":"https://api.github.com/repos/gforge/forestplot/issues/comments/303326496","html_url":"https://github.com/gforge/forestplot/issues/11#issuecomment-303326496","issue_url":"https://api.github.com/repos/gforge/forestplot/issues/11","id":303326496,"user":{"login":"gforge","id":2198913,"avatar_url":"https://avatars3.githubusercontent.com/u/2198913?v=3","gravatar_id":"","url":"https://api.github.com/users/gforge","html_url":"https://github.com/gforge","followers_url":"https://api.github.com/users/gforge/followers","following_url":"https://api.github.com/users/gforge/following{/other_user}","gists_url":"https://api.github.com/users/gforge/gists{/gist_id}","starred_url":"https://api.github.com/users/gforge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforge/subscriptions","organizations_url":"https://api.github.com/users/gforge/orgs","repos_url":"https://api.github.com/users/gforge/repos","events_url":"https://api.github.com/users/gforge/events{/privacy}","received_events_url":"https://api.github.com/users/gforge/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T08:21:52Z","updated_at":"2017-05-23T08:21:52Z","body":"Neat. I try encapsulate as much as I can into functions that I call \"private\" as they aren't exported into the general namespace (they're available usin ::: e.g. forestplot:::prGridPlotTitle). They should all be located in the [R/private.R](https://github.com/gforge/forestplot/blob/master/R/private.R) file.\r\n\r\nFixing up someone else's package is an excellent learning exercise and good way to start before making your own package. It's also greatly appreciated :-)\r\n\r\nDo the following (some details may be off but this is the gist of it):\r\n1. Install [Git](https://git-scm.com/) on your computer + install the R package devtools\r\n2. Fork the package into your own user\r\n3. Clone the package (use RStudio, create a new project and choose existing Git repo)\r\n4. Try the changes your interested in and in R studio you can directly load them by pressing \"Ctrl+L\"\r\n5. Once you're happy you commit your changes (you can do this in RStudio's top right window)\r\n6. Push the changes to Github (just press push)\r\n7. Log onto your Github account, go into your Fork of the package and do a \"Pull Request\"\r\n\r\nThanks!"}}
{"actor":{"display_login":"gforge"}}