{"action":"closed","issue":{"url":"https://api.github.com/repos/droglenc/FSA/issues/10","repository_url":"https://api.github.com/repos/droglenc/FSA","labels_url":"https://api.github.com/repos/droglenc/FSA/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/droglenc/FSA/issues/10/comments","events_url":"https://api.github.com/repos/droglenc/FSA/issues/10/events","html_url":"https://github.com/droglenc/FSA/issues/10","id":135084722,"number":10,"title":"xlim problems in ageKeyPlot","user":{"login":"droglenc","id":5935175,"avatar_url":"https://avatars.githubusercontent.com/u/5935175?v=3","gravatar_id":"","url":"https://api.github.com/users/droglenc","html_url":"https://github.com/droglenc","followers_url":"https://api.github.com/users/droglenc/followers","following_url":"https://api.github.com/users/droglenc/following{/other_user}","gists_url":"https://api.github.com/users/droglenc/gists{/gist_id}","starred_url":"https://api.github.com/users/droglenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droglenc/subscriptions","organizations_url":"https://api.github.com/users/droglenc/orgs","repos_url":"https://api.github.com/users/droglenc/repos","events_url":"https://api.github.com/users/droglenc/events{/privacy}","received_events_url":"https://api.github.com/users/droglenc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"droglenc","id":5935175,"avatar_url":"https://avatars.githubusercontent.com/u/5935175?v=3","gravatar_id":"","url":"https://api.github.com/users/droglenc","html_url":"https://github.com/droglenc","followers_url":"https://api.github.com/users/droglenc/followers","following_url":"https://api.github.com/users/droglenc/following{/other_user}","gists_url":"https://api.github.com/users/droglenc/gists{/gist_id}","starred_url":"https://api.github.com/users/droglenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droglenc/subscriptions","organizations_url":"https://api.github.com/users/droglenc/orgs","repos_url":"https://api.github.com/users/droglenc/repos","events_url":"https://api.github.com/users/droglenc/events{/privacy}","received_events_url":"https://api.github.com/users/droglenc/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-20T15:12:24Z","updated_at":"2016-02-25T02:37:09Z","closed_at":"2016-02-25T02:37:09Z","body":"Here is my question/problem with a reproducible example (end of e-mail).   How do I set limits on the x and y-axis using alkPlot?  In my example, I was purposefully trying to over restrict the x-axis to look at a specific area of the entire plot (sort of a quick subset) just so I could further my understanding of how I can use this plotting function.  I used pages 70 and 101 of your book as an example for coding  xlim.  The documentation for alkPlot says xlim = “A numeric of length 2 that provide the limits for the x-axis or y-axis.”  There were no examples in the help description for alkPlot that demonstrated manipulations of either the x-axis or the y-axis.\r\n\r\n```\r\n#Reproducible example\r\n\r\nlibrary(FSA) #version 0.8.5\r\nAge3<-data.frame(Age =3,FL=round(rnorm(1000,580,45)))\r\nAge4<-data.frame(Age =4,FL=round(rnorm(1000,750,45)))\r\nAge5<-data.frame(Age =5,FL=round(rnorm(1000,865,45)))\r\ndf<-rbind(Age3,Age4,Age5)\r\ndf<-lencat(~FL,data=df,startcat=300,w=20,vname=\"Bin20\")#20 mm bins\r\n\r\ntest<-xtabs(~Bin20+Age,data=df)\r\nALK.obs<-prop.table(test,margin=1)\r\nALK.obs\r\nalkPlot(ALK.obs,showLegend=TRUE,xlim=c(500,800))\r\n```"}}