automated plotting


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting automated plotting
# 1  
Old 08-22-2006
automated plotting

Hi,

I would like to make a lot of plots with for instance xmgrace and don't know how.

I have a directory with about 500 data files with the same structure and I want to plot always the same columns. I don't know how to call xmgrace to produce a, say, gif plot of the columns 3 and 4 of Splotch4_0380_part.asc.gz (yes, it's gzipped!) and do the same for the rest of files (500 in total or so)

Any hint?

thanks
# 2  
Old 08-22-2006
Did you try gnuplot
# 3  
Old 08-22-2006
I don't really know quite well gnuplot, how would you do that with gnuplot?

Can gnuplot cope with gzipped data files?

IT should be something like

Code:
for fitxer in $( ls *.asc.gz); do;

GNUPLOT COMMAND COMES HERE

Can you fill in the gaps??? Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Slackware

Grace and plotting

I am making mathematical graphics in grace, all is working, but my curves are not totally smooth,..i have equal problem in gnuplot,... can i do anything??:confused: (4 Replies)
Discussion started by: gitac
4 Replies

2. UNIX for Dummies Questions & Answers

Help with Plotting a graph using Perl

Dear all, I have a hash in my data file and I'd like to output the data contained within as a graph (can be lines or histogram form) but I dont know how to do this with Perl. Can somone suggest how I can have a graph with Keys of the hash being on the X-axis and the Values for the keys plotted on... (1 Reply)
Discussion started by: pawannoel
1 Replies

3. UNIX for Dummies Questions & Answers

Plotting boxes in gnuplot

When I plot a set of data in gnuplot from a file like: 1 5 2 3 4 6 5 1 using plot "file.txt" w boxes I would expect that at the x value of 3 it will go to a value of 0 for y... but it doesn't. Is there a way to fix that, or do I actually have to type by hand an... (1 Reply)
Discussion started by: cosmologist
1 Replies

4. UNIX for Dummies Questions & Answers

Help with extracting data and plotting

I have attached a txt file, what I would like to be able to do is: 1. Extract Data from Columns labeled E/N and Ko into a new file 2. Then in the new file I would like to be able to plot E/N on the X axis and Ko on the y axis. 3. Lastly I would like to be able to extract multiple data sets and... (6 Replies)
Discussion started by: gingburg
6 Replies

5. Shell Programming and Scripting

plotting a straight horizontal line

How can I plot a straight horizontal line using perl in unix solaris environment? Please suggest. Pooja (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies

6. UNIX for Dummies Questions & Answers

Plotting Data within UNIX

I have a set of data that looks similar to the following in UNIX: 0.12_0.008_fall_ff.out:bisect return: 0.08056640625 0.12_0.04_fall_ff.out:bisect return: 0.07470703125 0.12_0.12_fall_ff.out:bisect return: 0.06298828125 0.12_0.24_fall_ff.out:bisect return: 0.05126953125 Previously I have... (4 Replies)
Discussion started by: EDALBNUG
4 Replies

7. Shell Programming and Scripting

Extracting ICMP Output for Plotting

Dear, I want to perform a plotting using xgraph, and the plotting data (ping.txt) is as below. For the graph I just want to plot the time for x-axis (line count) and the RTT for y-axis (time in ms). Below are script i write for that purpose but it seen did not work. Any guide for me because i... (1 Reply)
Discussion started by: Paris Heng
1 Replies

8. UNIX for Dummies Questions & Answers

Help Plotting

I need to plot some files with the extension .plot, which I believe is a UNIX Plot(5) extension. Is UNIX Plot(5) something that I must download, or is it already built into UNIX? If it is already built in, is there a trick to actually plotting the files? Is there anything online that I could... (0 Replies)
Discussion started by: evenkolder
0 Replies
Login or Register to Ask a Question