Sponsored Content
Top Forums Shell Programming and Scripting How to start working with GNU PLOT?? Post 302592865 by Naga06 on Wednesday 25th of January 2012 06:18:04 AM
Old 01-25-2012
I am getting below output after setting the terminal to postscript.
Code:
gnuplot> plot sin(x)
%%Page: 2 2
gnudict begin
gsave
50 50 translate
0.100 0.100 scale
90 rotate
0 -5040 translate
0 setgray
newpath
(Helvetica) findfont 140 scalefont setfont
1.000 UL
LTb
714 420 M
63 0 V
6185 0 R
-63 0 V
630 420 M
gsave 0 setgray
(-2) Rshow
grestore
1.000 UL
LTb
714 977 M
63 0 V
6185 0 R
-63 0 V
630 977 M
gsave 0 setgray
(-1.5) Rshow
grestore
1.000 UL
LTb
714 1533 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
(-1) Rshow
grestore
1.000 UL
LTb
714 2090 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
(-0.5) Rshow
grestore
1.000 UL
LTb
714 2646 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
( 0) Rshow
grestore
1.000 UL
LTb
714 3203 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
( 0.5) Rshow
grestore
1.000 UL
LTb
714 3759 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
( 1) Rshow
grestore
1.000 UL
LTb
714 4316 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
( 1.5) Rshow
grestore
1.000 UL
LTb
714 4872 M
63 0 V
6185 0 R
-63 0 V
-6269 0 R
gsave 0 setgray
( 2) Rshow
grestore
1.000 UL
LTb
714 420 M
0 63 V
0 4389 R
0 -63 V
714 280 M
gsave 0 setgray
( 0) Cshow
grestore
1.000 UL
LTb
1964 420 M
0 63 V
0 4389 R
0 -63 V
0 -4529 R
gsave 0 setgray
( 1) Cshow
grestore
1.000 UL
LTb
3213 420 M
0 63 V
0 4389 R
0 -63 V
0 -4529 R
gsave 0 setgray
( 2) Cshow
grestore
1.000 UL
LTb
4463 420 M
0 63 V
0 4389 R
0 -63 V
0 -4529 R
gsave 0 setgray
( 3) Cshow
grestore
1.000 UL
LTb
5712 420 M
0 63 V
0 4389 R
0 -63 V
0 -4529 R
gsave 0 setgray
( 4) Cshow
grestore
1.000 UL
LTb
6962 420 M
0 63 V
0 4389 R
0 -63 V
0 -4529 R
gsave 0 setgray
( 5) Cshow
grestore
1.000 UL
LTb
1.000 UL
LTb
714 420 M
6248 0 V
0 4452 V
-6248 0 V
714 420 L
LTb
140 2646 M
gsave 0 setgray
currentpoint gsave translate 90 rotate 0 0 M
(Y-AXIS) Cshow
grestore
grestore
LTb
3838 70 M
gsave 0 setgray
(X-AXIS) Cshow
grestore
1.000 UP
1.000 UL
LT0
LTb
6311 4739 M
gsave 0 setgray
(sin\(x\)) Rshow
grestore
LT0
6395 4739 M
399 0 V
714 2646 M
63 56 V
63 56 V
63 56 V
63 55 V
64 55 V
63 54 V
63 53 V
63 53 V
63 51 V
63 50 V
63 48 V
63 47 V
63 45 V
64 44 V
63 42 V
63 40 V
63 37 V
63 36 V
63 34 V
63 31 V
63 28 V
63 26 V
64 24 V
63 21 V
63 19 V
63 15 V
63 13 V
63 10 V
63 8 V
63 4 V
63 2 V
64 -1 V
63 -4 V
63 -7 V
63 -10 V
63 -12 V
63 -15 V
63 -18 V
63 -20 V
63 -24 V
64 -25 V
63 -28 V
63 -31 V
63 -33 V
63 -35 V
63 -37 V
63 -40 V
63 -41 V
63 -44 V
64 -45 V
63 -46 V
63 -48 V
63 -50 V
63 -51 V
63 -52 V
63 -53 V
63 -54 V
63 -54 V
64 -56 V
63 -55 V
63 -56 V
63 -57 V
63 -56 V
63 -56 V
63 -56 V
63 -55 V
63 -55 V
64 -54 V
63 -54 V
63 -52 V
63 -51 V
63 -50 V
63 -49 V
63 -48 V
63 -45 V
63 -44 V
64 -42 V
63 -41 V
63 -38 V
63 -36 V
63 -34 V
63 -31 V
63 -30 V
63 -26 V
63 -25 V
64 -21 V
63 -19 V
63 -16 V
63 -14 V
63 -11 V
63 -7 V
63 -6 V
63 -2 V
63 1 V
64 3 V
63 6 V
63 9 V
63 12 V
63 15 V
1.000 UL
LTb
714 420 M
6248 0 V
0 4452 V
-6248 0 V
714 420 L
1.000 UP
stroke
grestore
end
showpage
gnuplot>

Now I have set output to a file. But its not in Graphical format.

---------- Post updated at 04:48 PM ---------- Previous update was at 04:46 PM ----------

I am using gnuplot version 4.0 ........ on a remote system.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Working out end time from start + elapsed

Hi, I'm writing a script and have become stuck trying to define a variable (COMP) by adding an elapsed time (ELAPSE e.g 00:55) to a start time (START e.g 23:50). Can anybody give me a solution as to how I can get a completion time in hh:mm from the variables above? thanks Richard (4 Replies)
Discussion started by: rik1551
4 Replies

2. Shell Programming and Scripting

gnu sed regex grouping not working?

Hello, from the gnu sed manual, I should be able to do this: `\(REGEXP\)' Groups the inner REGEXP as a whole, this is used to: * Apply postfix operators, like `\(abcd\)*': this will search for zero or more whole sequences of `abcd', while `abcd*' ... (3 Replies)
Discussion started by: Allasso
3 Replies

3. Solaris

Solaris 10, start inetd in a zone not working

Hello all, I`ve the following problem - I cannot start inetd in any way possible: bash-3.00# svcs inetd STATE STIME FMRI offline Jul_30 svc:/network/inetd:default bash-3.00# bash-3.00# svcadm enable -r inetd bash-3.00# svcs inetd STATE STIME FMRI... (6 Replies)
Discussion started by: click
6 Replies

4. Slackware

pppoe-start not working

Hello. I'm new here and i'm new to slack (concept) as well. I made a connection for pppoe with pppoe-setup, bringed up eth0 with ifconfig but when i try pppoe-connect i get "Cannot determine ethernet address for proxy ARP" and with pppoe-start i get "child pppd process terminated". How can i make... (0 Replies)
Discussion started by: editheraven
0 Replies

5. Shell Programming and Scripting

Ls help: ls not working with start character search (^)

Experts, How to list a file using ^ character, for all files started with character a. (os= hp-ux ) # ls -l -rw------- 1 useradm users 0 Mar 26 14:30 abc -rw------- 1 useradm users 0 Mar 26 14:30 def -rw------- 1 useradm users 0 Mar 26... (7 Replies)
Discussion started by: rveri
7 Replies

6. What is on Your Mind?

Has Python Lost The Plot?

Not sure if this should be in the Programming forum so placed here for safety... I used to really love Python, but as it has evolved from V1.4.0, (for the classic AMIGA in my case), to its present V3.4.? incarnation has it become less user friendly for newbie and amateur coders? I have... (6 Replies)
Discussion started by: wisecracker
6 Replies
ENVEXT(1)						  The Canonical Csound Reference						 ENVEXT(1)

NAME
envext - Extracts the envelope of a file to a text file. . SYNTAX
envext [-flags] soundfile csound -U envext [-flags] soundfile INITIALIZATION
soundfile - Name of the input soundfile. The following flags are available for envext (The default values are stated in parenthesis): -o fnam Name of output filename (newenv) -w size (in seconds) of analysis window (0.25) The envext utility generates a text file containing time and amplitude pairs by finding the absolute peak within each window. EXAMPLE
Using the command (while in the manual directory): csound -U envext examples/mary.wav will produce the a text file containing the following: 0.000 0.000 0.000 0.000 0.250 0.000 0.500 0.000 0.750 0.000 1.249 0.170 1.499 0.269 1.530 0.307 1.872 0.263 2.056 0.304 2.294 0.241 2.570 0.216 2.761 0.178 3.077 0.011 3.251 0.001 3.500 0.000 Which shows the time for the peak amplitude within each measured window. CREDITS
Author: John ffitch 1995 AUTHORS
Barry Vercoe MIT Media Lab Author. Dan Ellis MIT Media Lab, Cambridge Massachussetts Author. COPYRIGHT
5.10 08/01/2011 ENVEXT(1)
All times are GMT -4. The time now is 05:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy