{"action":"created","issue":{"url":"https://api.github.com/repos/dkirkby/bossdata/issues/59","labels_url":"https://api.github.com/repos/dkirkby/bossdata/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/dkirkby/bossdata/issues/59/comments","events_url":"https://api.github.com/repos/dkirkby/bossdata/issues/59/events","html_url":"https://github.com/dkirkby/bossdata/pull/59","id":92021899,"number":59,"title":"Axis range play","user":{"login":"dmargala","id":1648834,"avatar_url":"https://avatars.githubusercontent.com/u/1648834?v=3","gravatar_id":"","url":"https://api.github.com/users/dmargala","html_url":"https://github.com/dmargala","followers_url":"https://api.github.com/users/dmargala/followers","following_url":"https://api.github.com/users/dmargala/following{/other_user}","gists_url":"https://api.github.com/users/dmargala/gists{/gist_id}","starred_url":"https://api.github.com/users/dmargala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmargala/subscriptions","organizations_url":"https://api.github.com/users/dmargala/orgs","repos_url":"https://api.github.com/users/dmargala/repos","events_url":"https://api.github.com/users/dmargala/events{/privacy}","received_events_url":"https://api.github.com/users/dmargala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dkirkby/bossdata/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"dcunning11235","id":245001,"avatar_url":"https://avatars.githubusercontent.com/u/245001?v=3","gravatar_id":"","url":"https://api.github.com/users/dcunning11235","html_url":"https://github.com/dcunning11235","followers_url":"https://api.github.com/users/dcunning11235/followers","following_url":"https://api.github.com/users/dcunning11235/following{/other_user}","gists_url":"https://api.github.com/users/dcunning11235/gists{/gist_id}","starred_url":"https://api.github.com/users/dcunning11235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcunning11235/subscriptions","organizations_url":"https://api.github.com/users/dcunning11235/orgs","repos_url":"https://api.github.com/users/dcunning11235/repos","events_url":"https://api.github.com/users/dcunning11235/events{/privacy}","received_events_url":"https://api.github.com/users/dcunning11235/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-30T08:13:12Z","updated_at":"2015-06-30T20:25:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dkirkby/bossdata/pulls/59","html_url":"https://github.com/dkirkby/bossdata/pull/59","diff_url":"https://github.com/dkirkby/bossdata/pull/59.diff","patch_url":"https://github.com/dkirkby/bossdata/pull/59.patch"},"body":"Here is another implementation of axis limit options for bossplot (see #54 #27).\r\n\r\nI added an argument to specify the figure size (and use `tight_layout` by default):\r\n\r\n```\r\n$ bossplot --plate 4203 --mjd 55447 --fiber 879 --figsize 12,4 --show-dispersion --exposure 1 --cframe\r\n```\r\n\r\n![f1](https://cloud.githubusercontent.com/assets/1648834/8426281/6f000bd0-1ec3-11e5-835d-0e46921f404c.png)\r\n\r\n\r\nAbsolute and quantile limits can be mixed, matched, and partially omitted:\r\n\r\n```\r\n$ bossplot --plate 4203 --mjd 55447 --fiber 879 --figsize 12,4 --show-dispersion --exposure 1 --cframe  --flux-range 5:75% --wlen-range \" -5%:105%\" --wdisp-range 0:\r\n```\r\n![f2](https://cloud.githubusercontent.com/assets/1648834/8426402/57448092-1ec4-11e5-840e-0f50368360a2.png)\r\n\r\nEven upside down and backwards:\r\n\r\n```\r\n$ bossplot --plate 4203 --mjd 55447 --fiber 879 --figsize 12,4 --show-dispersion --exposure 1 --cframe --flux-range 99%:1% --wlen-range 100%:0%\r\n```\r\n\r\n![f3](https://cloud.githubusercontent.com/assets/1648834/8426288/77ab3dc2-1ec3-11e5-91fa-916780001f57.png)\r\n\r\nI considered trying to unify the x-axis and y-axis methods but decided that there is a fundamental difference in how quantiles should be interpreted for them."},"comment":{"url":"https://api.github.com/repos/dkirkby/bossdata/issues/comments/117330809","html_url":"https://github.com/dkirkby/bossdata/pull/59#issuecomment-117330809","issue_url":"https://api.github.com/repos/dkirkby/bossdata/issues/59","id":117330809,"user":{"login":"dmargala","id":1648834,"avatar_url":"https://avatars.githubusercontent.com/u/1648834?v=3","gravatar_id":"","url":"https://api.github.com/users/dmargala","html_url":"https://github.com/dmargala","followers_url":"https://api.github.com/users/dmargala/followers","following_url":"https://api.github.com/users/dmargala/following{/other_user}","gists_url":"https://api.github.com/users/dmargala/gists{/gist_id}","starred_url":"https://api.github.com/users/dmargala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmargala/subscriptions","organizations_url":"https://api.github.com/users/dmargala/orgs","repos_url":"https://api.github.com/users/dmargala/repos","events_url":"https://api.github.com/users/dmargala/events{/privacy}","received_events_url":"https://api.github.com/users/dmargala/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T20:25:25Z","updated_at":"2015-06-30T20:25:25Z","body":"@dcunning11235, I've included a filter for the wavelength range in the latest commit. The flipped axis feature is just how matplotlib works, I didn't really do anything special. I discovered the \"feature\" while testing for failure modes. I think it's harmless to leave as is.\r\n\r\n```\r\n$ bossplot --plate 4203 --mjd 55447 --fiber 879 --figsize 12,4 --show-dispersion --exposure 1 --cframe  --flux-range 1%:99% --wlen-range 4000:5000\r\n```\r\n\r\n![f1](https://cloud.githubusercontent.com/assets/1648834/8441051/c12f9ef4-1f2a-11e5-9544-67598b59ed22.png)\r\n\r\n```\r\n$ bossplot --plate 4203 --mjd 55447 --fiber 879 --figsize 12,4 --show-dispersion --exposure 1 --cframe  --flux-range 1%:99% --wlen-range 4000:4800\r\n```\r\n\r\n![f2](https://cloud.githubusercontent.com/assets/1648834/8441054/c5b40bd6-1f2a-11e5-9720-a6de8452ce85.png)\r\n\r\n"}}