Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pltimefmt(3plplot) [debian man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

date/time

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)
Discussion started by: baileyr1
4 Replies

2. Solaris

Extract century from date (Solaris platform)

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)
Discussion started by: u449064
1 Replies

3. Shell Programming and Scripting

Get date and time for past 1 hour from current date

Hi, I need to get the date and time for past 1 hour from the current date. Anyone know how to do so? Thanks (5 Replies)
Discussion started by: spch2o
5 Replies

4. Shell Programming and Scripting

Perl in KSH - julian conversion

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)
Discussion started by: gio001
7 Replies

5. Shell Programming and Scripting

How to cut a text file at a certain spot?

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)
Discussion started by: LordJezo
2 Replies

6. UNIX for Dummies Questions & Answers

Doubt in datecalc.....

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)
Discussion started by: sivakumar.rj
1 Replies

7. Shell Programming and Scripting

Test decimal number

Hi, I would like test if a number is a decimal number or not (9 Replies)
Discussion started by: francis_tom
9 Replies

8. Shell Programming and Scripting

Translate decimal into date

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)
Discussion started by: gio001
3 Replies

9. Shell Programming and Scripting

need help with ascii to decimal conversion

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)
Discussion started by: sunilmenhdiratt
15 Replies

10. UNIX for Dummies Questions & Answers

date format conversion

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)
Discussion started by: siva_nagarajan
3 Replies

11. UNIX for Dummies Questions & Answers

sed a file and maintain date stamp and permissions

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)
Discussion started by: andyatit
3 Replies

12. Shell Programming and Scripting

Generate last hour date in YYYYmmddHH

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)
Discussion started by: alvin0618
4 Replies

13. Shell Programming and Scripting

Date conversion in row while preserving rest of fields

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)
Discussion started by: pchang
6 Replies

14. Shell Programming and Scripting

Converting date/time and generating offsets in bash script

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)
Discussion started by: emdan
2 Replies

15. UNIX for Beginners Questions & Answers

Changing date format with script

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)
Discussion started by: sharat
5 Replies