PLTIMEFMT(3plplot) PLplot API PLTIMEFMT(3plplot)NAME
pltimefmt - Set format for date / time labels
SYNOPSIS
pltimefmt(fmt)
DESCRIPTION
Sets the format for date / time labels. To enable date / time format labels see the options to plbox(3plplot) and plenv(3plplot).
Redacted form: pltimefmt(fmt)
This function is used in example 29.
ARGUMENTS
fmt (const char *, fmt)
This string is passed directly to the system strftime. See the system documentation for a full list of conversion specifications for
your system. All conversion specifications take the form of a '%' character followed by further conversion specification character.
All other text is printed as-is. Common options include: %c: The preferred date and time representation for the current locale. %d:
The day of the month as a decimal number. %H: The hour as a decimal number using a 24-hour clock. %j: The day of the year as a
decimal number. %m: The month as a decimal number. %M: The minute as a decimal number. %S: The second as a decimal number. %y:
The year as a decimal number without a century. %Y: The year as a decimal number including a century.
AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the
PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.
SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources.
August, 2012 PLTIMEFMT(3plplot)
Check Out this Related Man Page
PLSZAX(3plplot) PLplot API PLSZAX(3plplot)NAME
plszax - Set z axis parameters
SYNOPSIS
plszax(digmax, digits)
DESCRIPTION
Identical to plsxax(3plplot), except that arguments are flags for z axis. See the description of plsxax(3plplot) for more detail.
Redacted form: plszax(digmax, digits)
This function is used in example 31.
ARGUMENTS
digmax (PLINT, input)
Variable to set the maximum number of digits for the z axis. If nonzero, the printed label will be switched to a floating point
representation when the number of digits exceeds digmax.
digits (PLINT, input)
Field digits value. Currently, changing its value here has no effect since it is set only by plbox(3plplot) or plbox3(3plplot).
However, the user may obtain its value after a call to either of these functions by calling plgzax(3plplot).
AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the
PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.
SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources.
August, 2012 PLSZAX(3plplot)
Is there a way of saying I want to grab the time minus half an hour without converting time to a string?
I need to compare two system timestamps to see if there is half an hour between them for error messages going through our systems and I can't find any responses that don't use long... (4 Replies)
Hi ,
I want the date in the following format(Solaris platform)
CCYYMMDD:HHSS
I am facing problems in extracting century from the date.
I tried the following options.
`date '+%cc%y%m%d:%H%S`
but the Output is (Thu Feb 09 02:28:21 2006c060209:0221).
I think this... (1 Reply)
Hello Everyone,
I have this code misbehaving in one of my scripts, I have a var containing the sequential number of the day for the year and I am suppose to get the regular date for that day and its weekday.
If I set the day to 273 I get back 2008/09/31 which is not a proper date.
can you help... (7 Replies)
Say I do a date command and get the time from 15 minutes ago.
I have a text file with the date printed out every minute or so and I want to cut the file at the date stamp given to me by the 15 minute ago time stamp.
Is there an easy way to do this?
Example:
date +%M gives me 56
I... (2 Replies)
I have a doubt in date conversion. Can anyone explain the logic behind the date2jd and jd2date in datecalc function specified in this forum. I could not understand what the number are actually representing. Please explain...bcoz i am doing a program with this one..
Note: No need to... (1 Reply)
Hello,
what can I do to convert a decimal number (001-366) into the day of the year it represent in the format of mm-dd-yyyy ?
I know about the date +%j, it gives me the number for the current date, what about a reverse of this, is there such a thing?
My number resides in a var, what can I do to... (3 Replies)
Hi,
Can anyone please help me ascci to decimal conversion in bash
I have a file which contains stream of numbers like this,these are ascci values
729711810132973278105991013268971213233
I want to covert it to its actual value like upper code's decimal is
"Have a Nice Day!"
... (15 Replies)
hi,
i have a file in which i get date format as 22/APR/2010...
now i want the date format to be in 22-04-2010
if the month changes to may the file should also have 05 as month....
pls help (3 Replies)
I need to alter a file.
I'm using sed then passing output to temp file
then using touch -r to maintain the date but the permissions do not get preserved
How can I sed a file and maintain date and permissions
currently
it's preserving the date but the permissions revert back to the... (3 Replies)
can some one show me how to generate last hour of date for example:
2012010100 -> 2011123123 // check first date of a new year
2008030100 -> 2008022923 // check leap year as well
And also no perl code is restricted.
This is what i am facing issue now, can someone provides help to me. (4 Replies)
Hi Forum.
I searched the forum for a solution but could not find an exact one to my problem.
I have some records in the file where I would like to convert the last date field to another format while preserving the rest of the other fields.
For example:
Found:... (6 Replies)
Hi all,
I need a script to do some date/time conversion. It should take as an input a particular time. It should then generates a series of offsets, in both hour:minute form and number of milliseconds elapsed.
For 03:00, for example, it should give back 04:02:07 (3727000ms*) 05:04:14... (2 Replies)
I'm trying to change date format using this script from day/month/year to month/day/year
#!/bin/bash
while read line; do
echo "$line"
date=$(echo "$line" | cut -d/ -f1 )
month=$(echo "$line" | cut -d/ -f2 )
echo $month"/"$date"/2017"
done < ~/Downloads/Dates.csv
But I get output as... (5 Replies)