Skip to main content

Questions tagged [levelplot]

Use this tag when referring to level plots to display surfaces

Filter by
Sorted by
Tagged with
0 votes
1 answer
396 views

How to show raster's cell value over its map in levelplot?

Hy, Is there any way to plot each cell of raster with its values in level plot ? Raster is attched here( ) I have tried these https://stackoverflow.com/questions/6569666/showing-data-values-on-...
1 vote
1 answer
1k 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
0 answers
90 views

Adjust the size of accesory plots and margins in levelplot in R

I am trying to adjust the plotting of a raster in rasterVis. However, I get way too large blank spaces and cannot adjust the width of the legend bar or the histograms. I also tried the tutorials here ...
1 vote
1 answer
1k views

R->rasterVis->levelplot Visualize raster stacks time series with different variables side by side

I am a bit new to R. Problem summary: I have several raster stacks that share the same spatial extent and time stamp/step. Each stack holds a time series for a unique variable. I want to use rasterVis:...
3 votes
2 answers
3k 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, ...
1 vote
0 answers
243 views

Control number of Rasters plotted per row in R levelplot

I want to plot 10 rasters using levelplot but I want to arrange the plots in such a way that there's 1 plot in first row (in the center) and then 3 plots in next three rows. The idea is to show the &...
1 vote
2 answers
1k 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
1 answer
428 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 ...
5 votes
1 answer
1k 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
1 answer
442 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(...
1 vote
1 answer
2k 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
1 answer
2k 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 ...
1 vote
2 answers
2k 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
1 answer
84 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: ...