g.gui.tplot(1grass)

g.gui.tplot1grass

Plots the values of temporal datasets.

Usage

g.gui.tplot

g.gui.tplot --help

g.gui.tplot [-hl] [stvds=name [,name, ...]] [strds=name [,name, ...]] [coordinates=east,north] [cats=string] [attr=string] [output=name] [csv=name] [title=string] [xlabel=string] [ylabel=string] [size=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Keywords

general, GUI, temporal, plot

Overview

The Temporal Plot Tool is a wxGUI component that queries and plots the values of a point, defined by a coordinate pair, in one or more temporal datasets (strds, stvds, str3ds).

Supported features:

•

temporal datasets with interval/point and absolute/relative time,

•

show simple linear regression model line with calculated formula

y = a + b*x (y is dependent variable, a is intercept, b is slope, x is explanatory variable)

and

r-squared (parameter of goodness-of-fit measure for linear regression model)
•

pop-up annotations with values information,

•

query and plot multiple points via the command line,

•

zoom and pan,

•

change labels to x and y axes,

•

add title to the plot, and

•

export the time series values to a CSV file (x axis data has date time string format, if you want to use for calculating simple regression model in the R environment, LibreOffice etc., you will obtain a different calculated formula

y = a + b*x

because these software packages use a reference date other than the UNIX Epoch time (00:00:00 UTC on 1 January 1970)).

Figure: Temporal Plot Tool To optionally add a title to the temporal plot and/or change the x and y axes labels, first type the desired text and then click Draw as showed below.
Figure: Add title and labels to a time series plot To export the time series data to a text file (date and data values), type a name for the file and click Draw again. Optionally, set the check-box to print headers, as well.
Figure: Export time series values to a text file

Notes

g.gui.tplot requires the Python plotting library Matplotlib.

Source code

Available at: wxGUI Temporal Plot Tool source code (history)

Accessed: Monday Feb 24 17:52:41 2025

Main index | GUI index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Luca Delucchi, Fondazione Edmund Mach, Italy

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.