Menu

timestamp visualization

Help
2023-02-15
2024-03-21
  • Dale Warnok

    Dale Warnok - 2023-02-15

    Greetings, I'm new to gnuplot 5.4 patchlevel 1 on Debian 11, and am hoping for suggestions about different ways to visualize timestamp data and gnuplot code implementation of same. Your patient help is much appreciated, as it's obvious that I have much to learn.

    The timestamp data are extracted from a dynamic text file and presented on stdin, which will eventually include a year. These data can be reformatted to whatever is easiest to work with for a time series plot, such as 20230117:134201 or any other you might suggest :

    ...
    Jan 17  13:42:01
    Jan 19  13:22:05
    Jan 20  09:35:34
    Jan 30  16:04:24
    Feb 01  13:29:46
    ...
    Feb 14  14:34:46
    Feb 14  14:37:15
    Feb 14  14:38:11
    Feb 14  14:40:24
    Feb 14  14:41:31
    ...
    

    I'd like to visualize these timestamps as perhaps a 3D plot with dates as one dimension, time of day as a second dimension in order get a broad sense of what time of day these radio transmissions are occurring over a span of days, weeks or months.

    I'm imagining that I will have to pipe these data into a gnuplot script that will state such things as:
    timestamp = "<cat"
    set xdata time
    set ydata time

    Heat map? Fence plot? I'm grateful for whatever opinions or guidance you're willing to provide while I learn gnuplot.

     
  • Dale Warnok

    Dale Warnok - 2023-02-16

    Here's what I have so far using a limited dataset as indicated above:

    set grid
    set xdata time
    set timefmt "%b %d  %H:%M:%S"        # e.g. "Jan 02  22:11:36"
    plot "/tmp/fn" using 1:3 title "test of fn-plot" with circles
    

    (limited sample data file attached)

    This seems to be a fair start, but it would be better if the %H:%M:%S values on the ordinate axis were decimal rather than integer hours. Would someone advise on how to do that, please?

     
  • Dale Warnok

    Dale Warnok - 2023-02-16

    Is there a better place to ask usage questions, please?

     
  • Tatsuro MATSUOKA

    Mailing Lists

    The gnuplot mailing lists are currently operated through the general
    development site on SourceForge.net. Subscribe to mailing lists via
    the web interface at

    http://sourceforge.net/mail/?group_id=2055
    

    The lists you may be interested in are "gnuplot-info" and "gnuplot-beta".
    "gnuplot-info" is for general discussion and questions about how to use
    the program. "gnuplot-beta" is for discussion about possible new features,
    plans for future work, release schedules, or other development issues.

     
  • DanVale Times

    DanVale Times - 2024-03-21

    O well, You are at a right place. Yes your can create time stamps of the whole year using bamboo plugin link, its the easiest way now a days.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.