I am using shapefiles with basic information including the x-, y- and z-coordinates. I want to see how the objects (in this case points, which are finds from an excavation) are scattered along the z-axis. To make it visible, I copied the information to Excel and made a chart. There I can see the distribution of the finds on the z-axis, of course. But I want to make this distribution visible in QGIS (with the z-axis and x/y-axis) like as it can be seen in charts made with Excel.

Distribution of finds made by Excel

I already tried to do this with the tools "Profile from line" and "Profile tool", but I always failed because I neither use raster files nor are the contents of the shapefiles drawn by lines, they are only drawn by points.

Is this possible with QGIS? If so, how is it done? (I'm using QGIS Lisboa)

  • Are you looking to have a 3D scatterplot? or just recreate the excel chart you gave as example? Oct 14, 2013 at 3:46
  • Well, a 3D scatterplot would be perfect. But primarily I need a chart like I made with Excel.
    – Annika
    Oct 14, 2013 at 11:13

1 Answer 1


You can generate a plot like that with an R script. Try installing the R script: "scatterplot types"

There are also some scripts for histograms, frequency and other scatter plots too but this was the one I got working. You can also edit the scripts to customise the graph to you liking once you get close to what you want.

Note that you will have to have R installed on you computer and configured in QGIS. Plot of decimal moisture content against a chainage

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.