{"action":"created","issue":{"url":"https://api.github.com/repos/dankelley/oce/issues/1000","repository_url":"https://api.github.com/repos/dankelley/oce","labels_url":"https://api.github.com/repos/dankelley/oce/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/dankelley/oce/issues/1000/comments","events_url":"https://api.github.com/repos/dankelley/oce/issues/1000/events","html_url":"https://github.com/dankelley/oce/issues/1000","id":162454257,"number":1000,"title":"Plotting data density with oce?","user":{"login":"AnneMTreasure","id":7634887,"avatar_url":"https://avatars.githubusercontent.com/u/7634887?v=3","gravatar_id":"","url":"https://api.github.com/users/AnneMTreasure","html_url":"https://github.com/AnneMTreasure","followers_url":"https://api.github.com/users/AnneMTreasure/followers","following_url":"https://api.github.com/users/AnneMTreasure/following{/other_user}","gists_url":"https://api.github.com/users/AnneMTreasure/gists{/gist_id}","starred_url":"https://api.github.com/users/AnneMTreasure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnneMTreasure/subscriptions","organizations_url":"https://api.github.com/users/AnneMTreasure/orgs","repos_url":"https://api.github.com/users/AnneMTreasure/repos","events_url":"https://api.github.com/users/AnneMTreasure/events{/privacy}","received_events_url":"https://api.github.com/users/AnneMTreasure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dankelley/oce/labels/advice:programming","name":"advice:programming","color":"c7def8"},{"url":"https://api.github.com/repos/dankelley/oce/labels/graphics","name":"graphics","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-27T13:40:18Z","updated_at":"2016-06-29T09:16:17Z","closed_at":null,"body":"Hi there,\r\n\r\nI have a query about functionality and whether something is / will be possible in oce. I need to plot a distribution of data density (point intensity / density of lat/long points), such as this (from http://www.meop.net/):\r\n\r\n![density_global-2_med](https://cloud.githubusercontent.com/assets/7634887/16381189/8df16602-3c7b-11e6-94ff-f68db0f04c88.png)\r\n\r\nonto this oce produced map projected for Antarctica:\r\n\r\n![r_oce_antarcticamap](https://cloud.githubusercontent.com/assets/7634887/16380941/2c2adb3e-3c7a-11e6-8595-7351fca71dc3.png)\r\n\r\nThere are packages and functions in R that calculate data density, such as the [spatstat](https://cran.r-project.org/web/packages/spatstat/index.html) package. But I've been struggling to combine this with the projected map that I would like to use.\r\n\r\nIs this possible with oce?\r\n\r\nThank you so much,\r\nAnne Treasure"},"comment":{"url":"https://api.github.com/repos/dankelley/oce/issues/comments/229302375","html_url":"https://github.com/dankelley/oce/issues/1000#issuecomment-229302375","issue_url":"https://api.github.com/repos/dankelley/oce/issues/1000","id":229302375,"user":{"login":"dankelley","id":99469,"avatar_url":"https://avatars.githubusercontent.com/u/99469?v=3","gravatar_id":"","url":"https://api.github.com/users/dankelley","html_url":"https://github.com/dankelley","followers_url":"https://api.github.com/users/dankelley/followers","following_url":"https://api.github.com/users/dankelley/following{/other_user}","gists_url":"https://api.github.com/users/dankelley/gists{/gist_id}","starred_url":"https://api.github.com/users/dankelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dankelley/subscriptions","organizations_url":"https://api.github.com/users/dankelley/orgs","repos_url":"https://api.github.com/users/dankelley/repos","events_url":"https://api.github.com/users/dankelley/events{/privacy}","received_events_url":"https://api.github.com/users/dankelley/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T09:16:17Z","updated_at":"2016-06-29T09:16:17Z","body":"Is the `/1000^2` correct? It looks to me as though the area is already in km^2, in Clark's code.  Then again, I have *very* seldom seen Clark be wrong!! In any case, I'm sure you'll be doing a \"reality check\" on the diagram, Anne. It's looking very nice, indeed! I assume you're using this broad scale for some other reason (e.g. other datasets) ... as of now, though, there is a lot of whitespace that might squeeze the data into a tiny portion of the \"page\" area, depending on the journal layout. Making the plot area be more square would be a simple step, since the white space is on left and right.  (I'm famous for hating whitespace -- a result of having poor eyes, I think.)"}}
{"actor":{"display_login":"dankelley"}}