Questions tagged [levelplot]

Use this tag when referring to level plots to display surfaces

Filter by
Sorted by
Tagged with
1
vote
2answers
206 views

Error in Implementing levelplot in R for a Categorical Raster with RAT

I have a raster in .tif format which I am trying to visualize in R using levelplot. Here is what I have done so far: library(raster) library(lattice) data_tif <- raster("fthrt14_21.tif", RAT = ...
0
votes
1answer
96 views

Saving levelplot to a TIFF raster without changing pixel size?

I am working on change detection and have been able to visualize the results that I have created through levelplot. Previously I used to use Writeraster for storing my plots as tif files which did not ...
1
vote
1answer
387 views

R levelplot: How to shade some pixels out to show statistical significance

I am posting this also on stackoverflow because the topic is in the middle between GIS and R programming. I need to include statistical significance in a map in R using rasteVis, which is based on ...
0
votes
1answer
227 views

invert Y scale in rastervis R

I want to make a hovmoller diagram; I want to change the order of Y axis (to start with 2010 - on bottom and finish 1970 - to be on top: library(zoo) library(rasterVis) library(raster) download.file(...
0
votes
1answer
345 views

Add extra color class in leveleplot that covers values ranging from a threshold and above, supressing its extent in the color scale

I use levelplot in R to plot two raster stacks with values ranging from 0 to 600, by 20. This results to the first color palette below. However, I observed that I have some very sporadic pixels in my ...
0
votes
1answer
654 views

Adding labels to raster with levelplot and spplot

I am trying to add district labels for a country, which I am plotting using levelplot (to use worldclim precipitation data) and adding boundaries using spplot. I am having trouble adding text labels ...
3
votes
1answer
2k views

Consistent levelplot size in R

I'm using the R package 'rastervis' to create a number of multi-plot figures. I'm continually running into alignment issues which I believe are the result of rounding in the plot legends. For example, ...
5
votes
1answer
406 views

Polygon and raster in the same plot do not align

I can't manage to plot a raster and boundary of country (sp data frame) in the same plot. The data (lon,lat,value) are in mat data frame. The grid is not regular and comes from a climate change ncdf ...
0
votes
2answers
1k views

RasterVis levelplot in R with scale bar

I'm using the rasterVIS package in R to create maps with levelplot, which works fine. But I cannot figure out how to add a spatial scale bar to the maps. Does anyone know?
0
votes
1answer
46 views

How can I symbolize my rasters in ArcGIS to match levelplot in R?

I need to create more customized maps in ArcGIS than what I have in R, however I can't seem to get the outputs to match. I have model outputs as ascii that I have converted to tiffs in R and plotted: ...