tag:blogger.com,1999:blog-6424211413492597169.post6194455292440176247..comments2024-03-02T07:11:56.376+01:00Comments on me nugget: Adding a scale to an image plotMarc in the boxhttp://www.blogger.com/profile/00459761376667614040noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6424211413492597169.post-53160129362223848812018-02-13T20:32:44.812+01:002018-02-13T20:32:44.812+01:00Thanks for asking. Easiest is to cite the "si...Thanks for asking. Easiest is to cite the "sinkr" package. I assume the functions you have used are also located there (althought the function names might be slightly different, eg. imageScale()). See, https://github.com/marchtaylor/sinkrMarc in the boxhttps://www.blogger.com/profile/00459761376667614040noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-81797359422068204942018-02-13T19:58:12.642+01:002018-02-13T19:58:12.642+01:00Hi! I'm uploading all the scripts that i used ...Hi! I'm uploading all the scripts that i used to make my thesis plots in GitHub and your function for defining a color scale is in some of them. How can I cite you in order to give you credit?webbyhttps://www.blogger.com/profile/02758392414696001457noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-76453306553515411232014-06-20T10:56:42.969+02:002014-06-20T10:56:42.969+02:00Great Post. I have a minor comment:
I noticed th...Great Post. I have a minor comment: <br /><br />I noticed that your approach for identifying the highest point on the volcano is not entirely accurate:<br /><br />> volcano[highest %% dim(volcano)[1], highest %/% dim(volcano)[1]]<br />[1] 194<br /><br />I have used a similar command in the past that I find more intuitive and that is also more accurate:<br /><br />> volcano[which(volcano == max(volcano), arr.ind = TRUE)[1], which(volcano == max(volcano), arr.ind = TRUE)[2]]<br />[1] 195<br /><br />ZenoAnonymoushttps://www.blogger.com/profile/11545598228434647092noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-82678237642831626672013-05-15T13:47:57.478+02:002013-05-15T13:47:57.478+02:00Hi Guillaume - The first plot uses pal.1 - so you ...Hi Guillaume - The first plot uses pal.1 - so you would need to change the colors used in that palette; e.g. pal.1=colorRampPalette(c("black", "blue4", "yellow"), space="rgb")Marc in the boxhttps://www.blogger.com/profile/00459761376667614040noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-74490542550580580682013-05-07T16:54:21.539+02:002013-05-07T16:54:21.539+02:00for the first script, how do you change the colour...for the first script, how do you change the colours from red to for example dark blue?Guillaumenoreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-21529487925897988222013-01-18T13:58:42.684+01:002013-01-18T13:58:42.684+01:00Hi Bishwamitra - I have added a comment to the sta...Hi Bishwamitra - I have added a comment to the stackoverflow Q.Marc in the boxhttps://www.blogger.com/profile/00459761376667614040noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-80186396470407642762013-01-18T05:06:03.537+01:002013-01-18T05:06:03.537+01:00Thank you for sharing this good information with u...Thank you for sharing this good information with us all. I would like to first thank you for helping me on the stackoverflow to create a contour for an estuary. I have a quick question about that problem. I added the shapefile to the plot but now I want to clip the contour by the shapefile and only display the part which is bounded by the polygon. Is that possible ? The label of legend is also not right in my case. It is showing in the order of 100,000. Any suggestions ? Thank you. <br /><br /><br />JdbabaAnonymoushttps://www.blogger.com/profile/08913819387358515646noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-12377886077100743962012-11-17T01:52:11.006+01:002012-11-17T01:52:11.006+01:00Thanks ! very usefulThanks ! very usefulMelanienoreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-23607076878690550442011-09-02T15:36:57.882+02:002011-09-02T15:36:57.882+02:00I'm not familiar with RasterVis, but it looks ...I'm not familiar with RasterVis, but it looks like a nice package with some interesting plotting functions - I will have to look into it. Also, I just came acros the function image.plot() from the "fields" packages, which seems to do a similar thing as I showed here.Marc in the boxhttps://www.blogger.com/profile/00459761376667614040noreply@blogger.comtag:blogger.com,1999:blog-6424211413492597169.post-60647330272455920912011-09-01T15:25:43.124+02:002011-09-01T15:25:43.124+02:00I'm just curious, couldn't you do it with ...I'm just curious, couldn't you do it with RasterVis[1] package ? <br /><br />[1] http://rastervis.r-forge.r-project.org/Etiennehttps://www.blogger.com/profile/17920521646757949091noreply@blogger.com