10-28-2011
The thing is I have my timestamp in epoch and is something like xxxxxxx.xxxxxx the part after the '.' is sub second. So from this i convert it to normal time ignoring the sub second part. and what I want to do is obtain number of times that event has occurred. I use uniq -c -w8 for this.
To do the same in epoch i have to filter in awk just the part before sub seconds and then use uniq on it. trying to figure the awk part now...
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
Good Afternoon,
I'm having an issue finding the correct libX11.a fileset on my 595 running AIX 5.3.0.0. Currently I'm trying to instal Sarcheck on my nim master. The problem occurs during the GNUPLOT installation.
error: failed dependencies:
libX11.a(shr4.o) is needed by gnuplot-3.7.1-1... (3 Replies)
Discussion started by: vincent1117
3 Replies
3. 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
4. UNIX and Linux Applications
I'm running a simulation (programmed in C) which makes calls to gnuplot periodically to plot data I have stored.
First I open a pipe to gnuplot and set it to multiplot:
FILE * pipe = popen("gnuplot", "w");
fprintf(pipe, "set multiplot\n");
fflush(pipe);
(this pipe stays open until the... (0 Replies)
Discussion started by: sedavidw
0 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. Emergency UNIX and Linux Support
Dear All,
I am new to GNUPLOT :D and dont know how it works, but actually there is a LINUX script generated by me which is running & capturing data in real time, the problem is that i want to plot that data in real time using GNUPLOT.:confused:
please help.:wall: (5 Replies)
Discussion started by: jojo123
5 Replies
7. Shell Programming and Scripting
simple question I thought.
How do I setup a chart in gnuplot that draws a "upper threshold" for a given set of data.
I have the graph charting fine. I have peaks and valleys. I can either setup a number that I want to be the "upper threshold". a horizontal line based either in the data,... (5 Replies)
Discussion started by: kag3ythree
5 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
Hi,
I want a graph plot using gnuplot for df -h command.
like filesystem, total size and avail size.
Thanks,
Anjan
---------- Post updated at 02:35 PM ---------- Previous update was at 02:34 PM ----------
I want a graph plot using gnuplot for df -h command per hour. (4 Replies)
Discussion started by: Anjan1
4 Replies
LEARN ABOUT DEBIAN
setpix
setpix(1) General Commands Manual setpix(1)
Name
setpix - Set FITS or IRAF image values
Synopsis
setpix [-vn] file.fts [x_range y_range value] [@valuefile]
Description
Set a specified pixel or range of pixels in a FITS or IRAF image to a specified value. More than one range of pixels and values may be
specified on one command line. A file of xrange yrange value triplets may be used to set multiple regions at once. The image may be over-
written or a new image created.
Options
filename
Name of IRAF image header file or FITS file. This must be present.
@coordfile
Name of file containing lines of the format
xrange yrange value where xrange and yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or
floating point. value will be converted to the type of the image. If a range is 0, the entire row or column specified by the other
non-zero range will be set to the indicated value. If both ranges are zero, the entire image will be set to the specified value.
New in version 2.6.4.
xrange yrange value
Image coordinate x and y ranges and the value to which that region will be set. Either one of these triplets or a file of triplets,
specified by @filename, must be present. xrange and yrange are of the format n or n-n or n,n,n or n-n,n-n and value my be integer or
floating point. value will be converted to the type of the image. If a range is 0, the entire row or column specified by the other
non-zero range will be set to the indicated value. If both ranges are zero, the entire image will be set to the specified value.
Ranges new in version 2.6.4.
-a <number>
Add constant to pixels
-d <number>
Divide pixels by constant
-i List each line which is dropped
-m <number>
Multiply pixels by constant
-n Write the output to a new file which is named by inserting an e before the file extension. The new file is always written to the
current working directory.
-s <number>
Subtract constant from pixels
-v Print more information about the process
Author
Doug Mink, SAO (dmink@cfa.harvard.edu)
6 July 2001 WCSTools setpix(1)