1g.gui.tplot(1) GRASS GIS User's Manual g.gui.tplot(1)
2
3
4
6 g.gui.tplot - Plots the values of temporal datasets.
7
9 general, GUI, temporal, plot
10
12 g.gui.tplot
13 g.gui.tplot --help
14 g.gui.tplot [-hl] [stvds=name[,name,...]] [strds=name[,name,...]]
15 [coordinates=east,north] [cats=string] [attr=string] [out‐
16 put=name] [csv=name] [title=string] [xlabel=string] [yla‐
17 bel=string] [size=string] [--overwrite] [--help] [--verbose]
18 [--quiet] [--ui]
19
20 Flags:
21 -h
22 Set the header of CSV file, to be used with csv option
23
24 -l
25 Show simple linear regression model line
26
27 --overwrite
28 Allow output files to overwrite existing files
29
30 --help
31 Print usage summary
32
33 --verbose
34 Verbose module output
35
36 --quiet
37 Quiet module output
38
39 --ui
40 Force launching GUI dialog
41
42 Parameters:
43 stvds=name[,name,...]
44 Name of the input space time vector datasets
45
46 strds=name[,name,...]
47 Name of the input space time raster datasets
48
49 coordinates=east,north
50 Coordinates
51
52 cats=string
53 Categories of vectores features
54 To use only with stvds
55
56 attr=string
57 Name of attribute
58 Name of attribute which represent data for plotting
59
60 output=name
61 Name for output graphical file
62 Full path for output file containing the plot, ddd extension to
63 specify format (.png, .pdf, .svg)
64
65 csv=name
66 Name for output CSV file
67 Full path for the CSV file containing the plotted data
68
69 title=string
70 Title for plot
71 The title for the output plot
72
73 xlabel=string
74 Label for x axis
75 The x axis label for the output plot
76
77 ylabel=string
78 Label for y axis
79 The y axis label for the output plot
80
81 size=string
82 The size for output image
83 It works only with output parameter
84
86 The Temporal Plot Tool is a wxGUI component that queries and plots the
87 values of a point, defined by a coordinate pair, in one or more tempo‐
88 ral datasets (strds, stvds, str3ds).
89
90 Supported features:
91
92 • temporal datasets with interval/point and absolute/relative
93 time,
94
95 • show simple linear regression model line with calculated for‐
96 mula
97 y = a + b*x (y is dependent variable, a is intercept, b is slope, x is explanatory variable)
98 and
99 r-squared (parameter of goodness-of-fit measure for linear regression model)
100
101 • pop-up annotations with values information,
102
103 • query and plot multiple points via the command line,
104
105 • zoom and pan,
106
107 • change labels to x and y axes,
108
109 • add title to the plot, and
110
111 • export the time series values to a CSV file (x axis data has
112 date time string format, if you want to use for calculating
113 simple regression model in the R environment, LibreOffice etc.,
114 you will obtain a different calculated formula
115 y = a + b*x
116 because these software packages use a reference date other than
117 the UNIX Epoch time (00:00:00 UTC on 1 January 1970)).
118 Figure: Temporal Plot Tool To optionally add a title to the temporal
119 plot and/or change the x and y axes labels, first type the desired text
120 and then click Draw as showed below.
121 Figure: Add title and labels to a time series plot To export the time
122 series data to a text file (date and data values), type a name for the
123 file and click Draw again. Optionally, set the check-box to print head‐
124 ers, as well.
125 Figure: Export time series values to a text file
126
128 g.gui.tplot requires the Python plotting library Matplotlib.
129
131 Temporal data processing
132 wxGUI
133 wxGUI components
134
136 Luca Delucchi, Fondazione Edmund Mach, Italy
137
139 Available at: wxGUI Temporal Plot Tool source code (history)
140
141 Accessed: Saturday Jan 21 20:42:05 2023
142
143 Main index | GUI index | Topics index | Keywords index | Graphical in‐
144 dex | Full index
145
146 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
147
148
149
150GRASS 8.2.1 g.gui.tplot(1)