Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #4492
| X-Received | by 2002:a05:6214:1d0b:b0:4ad:8b6f:210 with SMTP id e11-20020a0562141d0b00b004ad8b6f0210mr17023579qvd.86.1664223760417; Mon, 26 Sep 2022 13:22:40 -0700 (PDT) |
|---|---|
| X-Received | by 2002:aca:3b03:0:b0:34f:cdba:9626 with SMTP id i3-20020aca3b03000000b0034fcdba9626mr237358oia.246.1664223760149; Mon, 26 Sep 2022 13:22:40 -0700 (PDT) |
| Path | csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail |
| Newsgroups | comp.graphics.apps.gnuplot |
| Date | Mon, 26 Sep 2022 13:22:39 -0700 (PDT) |
| Injection-Info | google-groups.googlegroups.com; posting-host=109.116.207.28; posting-account=R-Rj4goAAAA5QTH1mMpFoHEvhC72RRh3 |
| NNTP-Posting-Host | 109.116.207.28 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <3bcaa4b0-cb39-4a58-b265-0bb03c420309n@googlegroups.com> (permalink) |
| Subject | Change time scale yaxis |
| From | scandari <scandari@gmail.com> |
| Injection-Date | Mon, 26 Sep 2022 20:22:40 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Xref | csiph.com comp.graphics.apps.gnuplot:4492 |
Show key headers only | View raw
Hello, I'm new to gnuplot. Want to obtain this sort of plot: https://i.stack.imgur.com/VV4Ex.png
This is my code but I can't change y scale :(
----------
$TIMES << EOT
2019-01-08 00:14
2019-05-08 03:14
2019-05-07 22:08
2019-08-07 22:08
EOT
set xtics time format "%m/%d"
set ytics time format "%H:%M"
set xlabel "Date (mm/dd)" font "Times, 12"
set ylabel "Time Of Day(hh:mm)" font "Times, 12"
set key tmargin reverse Left
set xrange [strptime("%Y-%m-%d","2019-01-01"):strptime("%Y-%m-%d","2019-10-30")]
plot $TIMES using (timecolumn(1,"%Y-%m-%d")) : (timecolumn(2,"%H:%M")) with points
-----------
Do you have suggestions? Thanks.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Change time scale yaxis scandari <scandari@gmail.com> - 2022-09-26 13:22 -0700 Re: Change time scale yaxis Karl Ratzsch <mail.kfr@gmx.net> - 2022-10-05 10:04 +0200
csiph-web