04-21-2020
Those numbers are weeks of the year or the day , not the months?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am a beginner using UNIX, and was wondering how to use gnuplot from UNIX on my pc. I am connected remotely to my work's UNIX server using Secure Shell Client, and gnuplot won't open a new window when I use the plot command. How do I do this?
Moreover, is it possible to save things from the... (0 Replies)
Discussion started by: KTTFB64
0 Replies
2. AIX
Hi guys,
I have a AIX 4.3 system, and I need to configure a printer, but that printer it's connected to a axis print server. I have lot of years working with unix, but never added a printer in a AIX system. I need to add using "remote print queue", and add the hostname and ip to the /etc/hosts?... (2 Replies)
Discussion started by: uadm26
2 Replies
3. OS X (Apple)
I'm using my wife's Macbook, and I just noticed that her screen is off axis, but I can't find a way to adjust it. I've tried playing around with resolution in preferences, but nothing.
Maybe a terminal command for adjusting the x and y values of the screen?
Any and all suggestions welcomed :) (2 Replies)
Discussion started by: andou
2 Replies
4. UNIX and Linux Applications
Hi,
I am trying to make a plot of an ASCII file using GNUplot, but I keep getting error msg:
for example plot filename.txt
It says that (.txt ) is not identified ... I tried to write it without the .txt part, but I also get the error msg.
Any idea why? :confused: (1 Reply)
Discussion started by: cosmologist
1 Replies
5. Shell Programming and Scripting
Hi All,
Seems I have an xargs stdin problem that I don't understand.
I have a script (call it myscript.sh) that takes the names of one or more file(s) specified on the command line and creates a single gnuplot command file containing multiple records, one for each specified file. Each of... (9 Replies)
Discussion started by: paulianna2002
9 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Im trying to plot a time series with gnuplot. this is my script
set xdata time
set yrange
set timefmt "%H"
set xrange
set format x "%H:%M:%S"
plot "time_vs_times.txt" using 1:2 title 'Interarrival time' with points lw 2
and this is my data
11:14:18 5
11:14:19 10... (10 Replies)
Discussion started by: jamie_123
10 Replies
7. Shell Programming and Scripting
Hello list,
I have a source CSV data file as follows:
PC_NAME,MS11-040,MS11-039,MS11-038,MS11-035
abc123,Not Applicable,Not Applicable,Not Applicable,Not Applicable
abc987,Not Applicable,Not Applicable,Not Applicable,Not Applicable
tnt999,Not Applicable,Not Applicable,Applicable,Not... (2 Replies)
Discussion started by: landossa
2 Replies
8. Shell Programming and Scripting
Let me start by saying I'm new to gnuplot and not very good at unix at all..
Anyway, I'm each minute measuring temperature and humidity and saves the last 60 readings along with time in a textfile, values_minute.
The contents of the file is formatted like this: time temperature humidity
... (8 Replies)
Discussion started by: hakro807
8 Replies
9. Shell Programming and Scripting
Hello
I have a text file with tens of thousands of rows
The format is
x y
where both x and y can be anything between -100 and +100.
What I would like to do is have a 3d gnuplot where there are 10,000 squared or bins and each bin will count how many rows have a value that would be... (1 Reply)
Discussion started by: garethsays
1 Replies
LEARN ABOUT DEBIAN
time::seconds
Time::Seconds(3perl) Perl Programmers Reference Guide Time::Seconds(3perl)
NAME
Time::Seconds - a simple API to convert seconds to other date values
SYNOPSIS
use Time::Piece;
use Time::Seconds;
my $t = localtime;
$t += ONE_DAY;
my $t2 = localtime;
my $s = $t - $t2;
print "Difference is: ", $s->days, "
";
DESCRIPTION
This module is part of the Time::Piece distribution. It allows the user to find out the number of minutes, hours, days, weeks or years in a
given number of seconds. It is returned by Time::Piece when you delta two Time::Piece objects.
Time::Seconds also exports the following constants:
ONE_DAY
ONE_WEEK
ONE_HOUR
ONE_MINUTE
ONE_MONTH
ONE_YEAR
ONE_FINANCIAL_MONTH
LEAP_YEAR
NON_LEAP_YEAR
Since perl does not (yet?) support constant objects, these constants are in seconds only, so you cannot, for example, do this: "print
ONE_WEEK->minutes;"
METHODS
The following methods are available:
my $val = Time::Seconds->new(SECONDS)
$val->seconds;
$val->minutes;
$val->hours;
$val->days;
$val->weeks;
$val->months;
$val->financial_months; # 30 days
$val->years;
$val->pretty; # gives English representation of the delta
The usual arithmetic (+,-,+=,-=) is also available on the objects.
The methods make the assumption that there are 24 hours in a day, 7 days in a week, 365.24225 days in a year and 12 months in a year.
(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
AUTHOR
Matt Sergeant, matt@sergeant.org
Tobias Brox, tobiasb@tobiasb.funcom.com
BalieXXzs SzabieXX (dLux), dlux@kapu.hu
LICENSE
Please see Time::Piece for the license.
Bugs
Currently the methods aren't as efficient as they could be, for reasons of clarity. This is probably a bad idea.
perl v5.14.2 2011-09-19 Time::Seconds(3perl)