Questions tagged [plot]

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

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
1 answer
133 views

Change the colors of the pie chart in compouse (plot) in QGIS 3.10

When using the new plot command available in QGIS 3.10 for compouse pie chart generation, I didn't find any option to change colors. Is there any way to choose colors?
  • 655
2 votes
1 answer
432 views

Plotting wind vectors arrows from U and V rasters in QGIS

I have a 'U' and 'V' rasters for wind direction and I want to plot wind direction arrows in QGIS. This is easy to do in Python/matplotlib with the matplotlib.pyplot.quiver function, but I can't find a ...
  • 375
2 votes
0 answers
85 views

Plotting raster and vector data on same Plot

I have a raster and croped it by vector boundary. Vector reprojected to crs of the raster, but when I plot it does not show on the same figure? Something with plotting extend, but how to make them ...
2 votes
0 answers
366 views

Show charts and plots in plugin

I'm creating a plugin to guide a user though a GIS analysis process. One of the things the user wants is the ability to display "charts" of the resulting data sets. I'm looking to build simple ...
  • 133
2 votes
0 answers
374 views

Invert the legend scale representation [in R environment]

Through the following code, cols <- (heat.colors(255)) plot(raster_sum3, col=cols[round(seq(1,255,length.out=10))], legend=TRUE) # raster of the study area plot(site_3003, add=TRUE) # site ...
  • 325
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
0 answers
23 views

How to make contourf plot based on points boundary?

I have a csv file including lan, lon, z values. I've been trying to make contourf based on bellow code : import pandas as pd import numpy as np import matplotlib.pyplot as plt from scipy.interpolate ...
  • 101
1 vote
0 answers
12 views

How can I make two legends of two different plots with the numeric scale?

I want to campare two images about Surface water temperature from Copernicus, I've imported them and cropped them, but the legends with the colours are slightly different, how can I do for creating a ...
  • 11
1 vote
1 answer
186 views

Using Python to plot flight data over portion of US?

Question I have a dataset in Python that tracks the flightpath of an object. I know the minimum and maximum latitude and longitude of the flightpath. The flightpath is entirely over the Montana. Is ...
  • 11
1 vote
1 answer
27 views

Display the date on a time series graph

I have the following script that displays graphs of a time series for a variable: import pandas as pd from pandas import read_csv from matplotlib import pyplot %matplotlib inline from matplotlib.pylab ...
  • 121
1 vote
0 answers
39 views

How do you plot wiggle plots in QGIS?

I am trying to plot magnetic data along a profile displayed on a map in QGIS 3.22.2. This is a fairly common display type for geophysical data, but I can't find any examples for doing it in QGIS. This ...
1 vote
0 answers
388 views

GeoPandas: assigning unique colors and labels to entries

I would like to plot a map with colors that depend on a categorical variable, i.e. a column with integer number labels (0, 1, 2, ..., 10 for example). Using gdf.plot(column=categorical_variable) I am ...
  • 11
1 vote
0 answers
46 views

Plotting overlapping vector and raster maps

I am attempting to plot overlapping vector and raster maps with following code: fig, axes = plt.subplots(1,3, figsize=(12, 5)) plt.subplots_adjust(left=None, bottom=None, right=1.1, top=None, wspace=...
  • 800
1 vote
0 answers
44 views

Creating fencing 3D plot using QGIS

I have a DEM and velocity matrices of several transects. Is it possible to import the matrix (or 2D plot of the matrix, heatmap) to QGIS ?
  • 137
1 vote
0 answers
276 views

Plotting alignment issues with plotting raster list of raster objects and multiple polygons together

I am very new to R and am trying to plot one object from a raster list with multiple polygons (boundary shapefiles) together in one plot. When I resize the plot window, however, the alignment of the ...
  • 81
1 vote
0 answers
51 views

Plotting with QGIS, blank positions result in errors

I tried to use the delimited text layers, then I found something wrong. Several plots are out of bound. Then I checked the original data and decoded data. It seems when one part of a single data is ...
  • 11
1 vote
0 answers
304 views

Multipanel with raster (spplot) and scatter plot in R

I have one raster and one scatter plot that I want to put together in a single multipanel plot. However, the par(mfrow=c()) that usually works to put together different normal plots, doesn't work when ...
1 vote
0 answers
1k views

QGIS: How to plot a GPS track color-coded by the altitude (or any other value like speed, ...)?

I have GPX files recorded from various treks. I want to plot them on a QGIS map and have the color of each track segment modified by the altitude recorded. An idea of the result I am looking for is ...
  • 819
0 votes
0 answers
51 views

r-Mapview not loading background map unless I am online

Looked around but am quite lost. I am new to mapping a set of coordinates that a dataset will provide me. I am using R because it is the only approved program that I can use in my workplace. While I ...
0 votes
1 answer
37 views

QGIS Plot Layout SVG in HTML Element - Size Problem

I would like to use an SVG in the QGIS Plot Layout. I am using an HTML Element to display a simple SVG, sized using mm units. The SVG does not seem to display with the desired dimensions. I have ...
0 votes
0 answers
39 views

geopandas add legend to simple plot with no columns

I have a single feature that I want to plot with a legend, but the legend is not showing off. It's a simple polygon with simple fill. The code that I ran is like this, import geopandas as gpd import ...
  • 774
0 votes
0 answers
79 views

Creating elevation profile from points with X,Y,Z coordinates

I have a set of points that contain X, Y and Z data. I am trying to plot these either in 3d space or 2d space using X and Z. As an extra it would be nice to be able to compare different sets of data ...
  • 1
0 votes
0 answers
75 views

Export the map plotted in R to QGIS

I want the map plotted in R to be export in QGIS. The data source that I used for coding in R is as follows:- For Raster:-https://download.hermes.com.np/land-cover-map-of-nepal-2010/. For Vector :-...
  • 165
0 votes
0 answers
44 views

Pyferret axes lines thickness

Is there a way to set thickness of specific axes in ferret? With the default pen the lower axis is thin or invisible if I output image as png. I've tried setting PPL PEN 0, 7, which makes this lower ...
  • 85
0 votes
1 answer
55 views

Error while ploting multiple geopandas (ArcMap and KML) in the same projection?

I seek help on: Finding possible errors on projections management Guiding me on which should be the best way to know which "labels - colors" are within the path line (not exposed here) -- ...
0 votes
0 answers
333 views

Plotting time series in QGIS

I have a shapefile with points, like this: x, y, id, data -1.3345,-0.4760, 1, data.csv The data.csv contains: date, data 2020-01-01, 1 2020-01-02, 2 2020-01-03, 3 2020-01-04, 4 How can I plot the ...
0 votes
0 answers
38 views

Plot something on lat long in PHP

Is there some sort of plotting system which lets you do this? (in PHP): ex. plot(lat,long,data_show_onhover) My CSV file that I want to plot on the map looks like this: something,something,something,...
0 votes
0 answers
40 views

Analyzing NDVI rasters with same dimensions but different extents with Raster Calculator

I have drone sourced remote sensing imagery (NDVI) of a trial site set up to measure yield response to varying nitrogen (N) rates. The trial includes N rates ranging from 0 to 600 kg/ha. The trial ...
0 votes
0 answers
152 views

How to plot pies or histograms around points (GeoPandas) containing different level values indicators?

This is my code (a simple sample of df). I'd like to have around each point on a map, an histogram or pie showing the mechanical bikes out of the total. import pandas as pd pd.DataFrame( {'...
0 votes
0 answers
39 views

R: Why is my map including the entire world WSG84 space, when all I want plotted is New Zealand?

This seems to be a very easy problem to solve, but about two hours of searching hasn't led me to the answer. I have a GIS file that I downloaded in WSG84 ESPG:4326. I read in the file using readOGR. ...
  • 101
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