Sponsored Content
Full Discussion: ggnuplot formatting
Top Forums Shell Programming and Scripting ggnuplot formatting Post 302566620 by kag3ythree on Thursday 20th of October 2011 05:07:04 PM
Old 10-20-2011
ggnuplot formatting

hello,

I'm building a chart using gnuplot. it outputs a file just fine, but the data I'm plotting looks like:

Code:
10/16/11-18:14:23 5:5:4 0
10/16/11-22:48:43 5:5:4 0
10/17/11-03:23:01 5:5:4 1
10/17/11-07:57:20 5:5:4 63
10/17/11-12:31:42 5:5:4 1
10/17/11-17:06:02 5:5:4 1
10/17/11-21:40:21 5:5:4 1
10/18/11-02:14:40 5:5:4 455
10/18/11-06:49:01 5:5:4 0
10/18/11-11:23:19 5:5:4 1
10/18/11-15:57:39 5:5:4 0
10/18/11-20:31:58 5:5:4 1
10/19/11-01:06:17 5:5:4 66
10/19/11-05:40:38 5:5:4 0
10/19/11-10:14:59 5:5:4 0
10/19/11-14:49:18 5:5:4 2


I get the chart it's all good. I get on the x axis, things like: 10/19/11 00:00:00

I would like it to show the timestamp, the fields after the "-" in the first column.

I'm only plotting the first and last columns,
halp?

Last edited by radoulov; 10-20-2011 at 06:29 PM.. Reason: clarity; radoulov: code tags!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

formatting

is it possible to format a powerbook g4 mac? like totally erase the HD then pop in the Mac OS cd and it will boot up an install like windows or any linux? (5 Replies)
Discussion started by: xeron
5 Replies

2. UNIX for Dummies Questions & Answers

formatting

Hi Again Guys , Please i installed linux RH 6.1 on Toshiba , 10G , RAM=128 , 600 MHZ . After i installed linux i got many error messages , seems it was not installed correctly , also when i finished installation it did not ask me for the 2nd installation CD , and when i logged as root , i... (5 Replies)
Discussion started by: tamemi
5 Replies

3. Shell Programming and Scripting

Formatting

I have next part of script: for i in $LIST do echo "`date +"%H:%M:%S"` Converting $i ..."; mysql -uroot some -sABe "ALTER TABLE $i ENGINE=$ENGINE"; done I want to get following output formatting: "OK" must be one under another :) ... (3 Replies)
Discussion started by: mirusnet
3 Replies

4. Shell Programming and Scripting

formatting

I have file with different columns for ex. contents of file "txt" NAME AGE MARKS HARRY 23 89 TOM 12 67 BOB 23 11 and you see its not formatted.Now, I need the file "txt" to be formatted like COLUMN1 COLUMN2 COLUMN3 NAME AGE ... (3 Replies)
Discussion started by: vijay_0209
3 Replies

5. Shell Programming and Scripting

Formatting

Is there a way to make a 2 column output out of the following : 1 2 3 4 5 6 Output : 1 2 3 4 5 6 Thanks, Prasanna (3 Replies)
Discussion started by: prasanna1157
3 Replies

6. Shell Programming and Scripting

formatting of df -k

Hello, I am developing a platform Independant tool that should work for all major unix flavors outlined in this forum(Solaris,Linux, AIX, HPUX, SCO,BSD) Therefore, in order to cover all types of user community, I have deliberately posted the same message on every forum. Please do not think... (9 Replies)
Discussion started by: darsh123
9 Replies

7. Shell Programming and Scripting

help formatting

I need to format a txt file and convert it in CSV. Any "future" column is separated by a newline. FROM: XS1 1.43294 0.0 XS2 1.21824 0.0 TO: XS1,XS2 (2 Replies)
Discussion started by: alfreale
2 Replies

8. Shell Programming and Scripting

Formatting Help

Hi Guys, i have report that runs every 10 min and send the report of failed jobs to my mail. Currently i am using a command like this to send mail. mailx -t -s "FAILURE JOBS IN HYDRA $temp_date" addressee@domain.com < temp_file5 But i am getting mail in this format ....... (4 Replies)
Discussion started by: gkrish
4 Replies

9. Shell Programming and Scripting

Formatting

Good day All, I have requirement where my input data looks like below ] Message5 Expecting Output as 04/MAR/2104 ||| 23:15:45 ||| servername ||| NOTIFICATION |||message1||||||userId|||||| Message5 I could not use space delimiter as in the messages I would be having them as... (2 Replies)
Discussion started by: Tomlight
2 Replies

10. Shell Programming and Scripting

Help with formatting

Hi, I am new to UNIX and need your help in formatting the below input command to the desire output Input: CREATE UNIQUE INDEX XPKTABLE1 ( COL1, COL2 ) ON TABLE_NM; Output: COMMENT ON TABLE DB_NM.TABLE_NM AS 'PK=,COL1,COL2; '; In... (14 Replies)
Discussion started by: varun2327
14 Replies
GPIV_PIV2GNUPLT(1)					      General Commands Manual						GPIV_PIV2GNUPLT(1)

NAME
gpiv_piv2gnuplt - Converts PIV data gnuplot data. SYNOPSIS
gpiv_piv2gnuplt [-al int] [-au int] [-h | --help] [-p | --print] [-s float] [-v | --version] [-z] filename DESCRIPTION
gpiv_piv2gnuplt converts PIV data to gnuplot vectors for displaying and printing PIV the estimators in a graphical way. This program does not use the parameter resources from libgpiv. The parameters may be defined by the command line options as explained below. Options -al L Draws an annotation vector with length L. -al UNIT Define unit of annotation vector (defaul m/s). -h | --help On-line help. -p | --print Prints parameters to stdout. -s SCALE Scale factor for graphic output with gnuplot. -v | --version Print version information on standard output, then exits successfully. -z Full zoom (for scaled data). filename Filename containing the input PIV data. SEE ALSO
gpivtools AUTHOR
Gerber Van der Graaf 9 November 2006 GPIV_PIV2GNUPLT(1)
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy