i have used the system function in C as follows:
you have to include the stdlib.h file.
this function calls the gnuplot.exe file and then runs the plots for gnuplot from the gnu_script file. The gnu_script file has gnu plot commands like:
What are the benefits to using UNIX for 3d animation. I am looking into the field, and most places require a strong background in UNIX. Why is this? (3 Replies)
I just built a new box to run Suse, and I guess I shoud have spent more time researching the HCL. Anyway, the Promise RAID card I have will not work, and I am unable to install the OS. The only other IDE devide in the box is a DVDOM.
I can only think of 2 options, but would appreciate some... (1 Reply)
I have read hundreds of the postings and cannot find the answer to my question...so I hope that someone is able to answer it for me.
I am writing a script in bash, and would like to add animation. I have a gif file that I would like to open and have displayed on the screen. Can this be done? Of... (0 Replies)
Hi,
I want to write a shell script which can do some animation
The animation is as follows
it is like a progress barwhich hould gone on inresing with time & at the end of the line there should be the progess
Eg
== - 10%... (2 Replies)
I have a for loop and i pass in number of times i want to loop as argument to script.
I have attached a snippet of my script. Problem is this does not work, if I manually replace the $NO_OF_LOOPS with a number in the script it works fine.
NO_OF_LOOPS=$1
for i in {0..$NO_OF_LOOPS}
... (8 Replies)
Hi,
I need to pass a gnuplot value to a shell script. I have a main shell script (Main.sh) that has a bunch of gnuplot commands. Main.sh calls another gnuplot script (Child.gnu). A part of the code in Child.gnu is as follows:
sp '</data/src/scripts/results/plot_data.sh $col' u (A):2:3 w pm3d... (8 Replies)
Hi everybody, please help me with this problem
Suppose I have a script like this to run commands of gnuplot.
#!/bin/sh
lib=$1
old="output/old/$lib.dat"
new="output/new/$lib.dat"
gnuplot << EOF
set logscale x
set logscale y
set size square
set grid
set pointsize 1
plot "< paste $old... (5 Replies)
Hi
I am plotting a series of CDFs using gnuplot using
plot "data" u 1:(1./x.) smooth cumulative
I am doing this over many files and I need to tune the x value to the number of lines that meets a particular condition.
Is it possible to get the line count from shell using
cat file | grep... (7 Replies)
Need assistance in getting a script right. It requires little tweaking and I am not getting it right .
Using below data and the below script it creates a table with png file but regarding the time it create 6,7,8 and i want each time 6:15 ,6:30 and so on
So that i can view the exact graph... (3 Replies)
Discussion started by: ajayram_arya
3 Replies
LEARN ABOUT OPENSOLARIS
script
script(1) User Commands script(1)NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.11 30 Jan 2004 script(1)