Portál AbcLinuxu, 6. května 2025 09:15
Sep 01 00:00:02 Sensor 0 C: 23.12 F: 73.62 Sep 01 00:00:03 Sensor 1 C: 24.31 F: 75.76 Sep 01 00:00:04 Sensor 2 C: 22.94 F: 73.29 Sep 01 00:00:06 Sensor 3 C: 15.88 F: 60.58 Sep 01 00:15:02 Sensor 0 C: 23.12 F: 73.62 Sep 01 00:15:04 Sensor 1 C: 24.31 F: 75.76 Sep 01 00:15:05 Sensor 2 C: 22.94 F: 73.29 Sep 01 00:15:06 Sensor 3 C: 15.62 F: 60.12setup
set data style lines; set autoscale set grid set key set nologscale x set nologscale y set xdata time set timefmt "%b %d %H:%M:%S" set format x "%d" plot "temp" every 4::0 using 7 smooth unique title '1' , "temp" every 4::2 using 7 smooth unique title'2' , "temp" every 4::1 using 7 smooth unique title'3' , "temp" every 4::3 using 7 smooth unique title'4' pause 60error
Need full using spec for x time dataHledal jsem v man a google, ale nic kloudneho tam nevidim.
Řešení dotazu:
using
.Tj.
plot "temp" every 4::0 using 1:7 smooth unique title '1'
a=123
b="cislo"
set title "test: " . b . "=" . a
plot x
gnuplot> b="cislo" ^ "digitemp.plots", line 2: invalid expressionpokud dam cislo, stejne skonci s chybou na radku title
gnuplot> set title "test: " . b . "=" . a ^ "digitemp.plots", line 3: unexpected or unrecognized optionbezvysledne jsem zkusil i ruzne varianty s date, protoze datum je mym cilem.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.