Questions tagged [plot]

a graphical technique for representing a data set. Usually showing the relationship between two or more variables.

Filter by
Sorted by
Tagged with
2 votes
2 answers
219 views

Hacking QGIS plugin Midvatten to allow capacity explanation label on stratigraphy plot?

I have been trying to make a local addition to the python code for QGIS plugin Midvatten to allow labels on the stratigraphy plot that give the capacity explanation rather than the capacity value. In ...
1 vote
2 answers
6k views

Categorical Legend raster plot - R

I have the following RasterLayer containing categorical values for each pixel. I am using the following code to plot it par(xpd)=FALSE plot(LC, legend=FALSE, col=c("lightcyan3","royalblue","...
  • 1,078
2 votes
1 answer
398 views

QGIS Midvatten stratigraphy plot issues

When I use the stratigraphy plot function in Midvatten on an East Anglian coast quaternary data set (West 1980) that I have been digitizing, I find that the upper layers of strata disappear at the top ...
2 votes
1 answer
4k views

R tmap package: basemap not working

I want to use the package tmap to plot a simple shape with a basemap (e.g. OpenStreetMap). According to the help page of tmap this should be able by using tm_layout(basemaps = c('OpenStreetMaps')) ...
  • 147
4 votes
1 answer
872 views

How can I create a multi-dimensional spectral plot using R?

I have a raster stack of several layers such as NDVI, Slope, texture, and TCT bands, and would like to create a multi-dimensional spectral signature plot from my ground thruth points representing ...
  • 557
3 votes
1 answer
10k views

Change Color in GeoPandas Plot

My question has overlap with Changing colours in GeoPandas?, but unfortunately still unanswered: I want to plot a multiline shapefile in 1 color. import geopandas as gpd multiline_example = gpd....
3 votes
1 answer
2k views

Plot two rasters with different extents

I have two rasters with different extents that overlap partly: ext1 <- extent(99500,700500,249500,600500) ext2 <- extent(1356,643990,269903,690810) #create rasters rr1 <- raster(matrix(...
  • 133
3 votes
1 answer
3k views

Converting Northings/Eastings to Longitude/Latitude using R issue with Northern Ireland?

I have found a lot of questions about conversions of Northings/Eastings to Longitude/Latitude in R. I have been working with this tutorial from Alex Singleton which is really useful in explaining the ...
2 votes
1 answer
1k views

Logarithmic raster with a non-logaritmic legend in R

Following the example under: library(sp) library(automap) loadMeuse() demo(meuse) # Ordinary kriging kr = autoKrige(log(zinc)~1, meuse, meuse.grid) spplot(kr$krige_output,'var1.pred') I get a plot ...
  • 136
2 votes
1 answer
8k views

R plot raster: changing breaks also changes colour scale

I am trying to change the breaks of a raster in R that is show with a continuous scale. However, changing just the breaks also changes the colour scale. I am not sure how I can fix this? library(...
  • 1,742
1 vote
1 answer
409 views

R: plotting 2 polygon shapefiles, problems with CRS & extent

I am trying to create a map using 2 shapefiles, both of which have been subset. I am plotting municipalities of a census district in Canada. For the census district, I am using the [census division ...
2 votes
2 answers
2k views

Plot raster using raster attribute in R

I would like to plot a raster in WGS84 projection using R based on its attribute value. Here is the whole procedure library(maptools) library(rgdal) library(raster) shp <- readOGR("...
  • 47
1 vote
1 answer
485 views

Plotting map in R that looks old (yellowish and stained)?

I want to make a map in R that appear old (yellowish and stained). For example: Is it possible to achieve this effect entirely within R rather than bringing a map into an image processing program ...
  • 745
4 votes
3 answers
4k views

Adding a legend to points in the tmap package

I am trying to create a map with several points (about 20), where each point will be represented by a number, and where a legend will have these numbers and names of my points. Is it possible to do ...
  • 890
6 votes
1 answer
2k views

Slow plotting of spatial data in macOS RStudio's plotting device

In my macOS system RStudio, plotting spatial data (statialpolygons, points and lines) is extremely slow, making it impossible to work with. When I try to plot the shapefile in this link (@https://...
0 votes
1 answer
844 views

r- Compress/ Speed up large Spatialpolygonsdatafram

I am brand new to R and GIS and I ultimately am not doing anything to complicated (for now) but have been struggling with even the most basic task! I'm simply trying to plot a map of the US states. I ...
2 votes
1 answer
371 views

Slow plotting SpatialPolygonDataFrames on some systems

I have noticed that my personal computer is very very slow plotting SpatialPolygonDataFrames. I made a question about this issue on the general Stack Overflow, and with the answer I got I ended up ...
2 votes
1 answer
5k views

Ploting Multipoint with Geopandas

I created one geodataframe with geopandas. The geometry field was filled with Multipoint. However, when I try to plot the map to see multipoints, my map returned empty. How can I plot geometry field (...
5 votes
1 answer
3k views

Plot many rasters on the same graph, one on top of the other, using a certain angle in R

I wish to create a plot with multiple raster layers in R, but plot them in a certain angle so that all layers can be properly seen. What I have in mind is a plot like the following, taken from here: ...
2 votes
1 answer
1k views

Adjust text font size in plotting autofitvariogram in R?

It should be quite simple to adjust the font size in plotting the outcome ofautofitVariogram using the automap package. The text fonts for the number of pairs are too big; the text fonts for the model,...
2 votes
2 answers
617 views

Plot spectral signatures to compare with signatures from field spectrometer

What software I can use to plot the spectral signature of a Landsat 8 or Sentinel 2 pixel to compare it with the spectral signature of a field spectrometer (HR2000+)? How can I do this?
25 votes
1 answer
18k views

Cannot get plot() in geopandas to produce a map of the GeoDataFrame

I have installed all the necessary and optional modules for geopandas (with the exception of rtree) as listed at http://geopandas.org/install.html I am following the tutorials from this site and also ...
  • 1,138
5 votes
2 answers
13k views

How to add labels to shapefile point layer in R?

I have plotted a shapefile containing points in R, and I would like to add labels like : point 1, point 2 and so on..) to the plot. Is this possible?
  • 369
0 votes
0 answers
58 views

When the mouse moves on the grid, so does the corresponding point on the map

I am trying to create a specific functionality in mapping application. The application currently lets users draw a profile line on a map and click run. The map then takes a DEM file and creates a ...
  • 1,729
1 vote
2 answers
828 views

R GIS layers not lining up (spplot/plot)

I'm trying to make a choropleth in R using a polygon file, with a points layer of local care homes on top. When I plot each layer individually they're fine, however when I put them both together (...
  • 11
2 votes
1 answer
1k views

Plot multiple buffers around points

I have three buffer radius sizes radius<-c(1000,700,500) that I have placed around an array of points (two example points are given here in the file SourcePlace). What I'd like to do is ...
1 vote
1 answer
756 views

Plotting Geotagged Photos in MapInfo?

I am not a MapInfo user, but I have been asked whether that software can plot geotagged photos and link the images to the points (eg, click on a point and the photo pops up)?
  • 2,081
2 votes
1 answer
3k views

Set NaN values to Transparent in Matlab 'geoshow' function?

I am trying to plot rainfall values in MATLAB using geoshow function. NaN values should be transparent in the map. However, the plot I am getting comes with dark blue color for NaN values. I have ...
  • 735
5 votes
2 answers
13k views

Inserting zoomed-in plot with full scale plot in sp package in R

I am using the sp package in R to plot sampled points along a river. However, I would like to zoom in to a sampled area of the entire river, and plot this zoomed area on the full length of the river. ...
3 votes
2 answers
233 views

Color a layer of the map based on the location of dots on another layer

I created a map as below: The map is created using the following script: ct <- readShapeSpatial("housect_37800_0000_2010_s100_census_1_shp/wgs84/housect_37800_0000_2010_s100_census_1_shp_wgs84....
  • 499

1 2
3