No gradient of color with geom_raster

I'm trying to plot a raster image (ocean bathymetry) with geom_raster but I'm having a hard time to crack down the code. I would appreciate any help. I've downloaded the following [xyz file](https://www.dropbox.com/s/umv70ze4hoym915/SF_bath.txt) (Dropbox link). SF.bath <- read.table("SF_bath.txt", header=F,col.names=c("lon","lat","z")) > head(SF.bath) lon lat z 1 -67.9917 50.9968 757 2 -67.9750 50.9968 693 3 -67.9583 50.9968 673 4 -67.9417 50.9968 769 5 -67.9250 50.9968 761 6 -67.9084 50.9968 733 When I try the following code, the colours do not show on my map? v

以上就是No gradient of color with geom_raster的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏