0% found this document useful (0 votes)
35 views13 pages

150 Gnuplotstarter PDF

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views13 pages

150 Gnuplotstarter PDF

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

GNUPLOT STARTER LAB 1

Name: Priyanshu Saha


Roll No:150
Semester : SEM 1 (December 2024)
Year: UG NEP (1 Year)
st

Paper Code : C1PH230112P


GNUPLOT LAB 1 (10th September)

Activity 1:
Converting terminal window from “windows” to “qt”

First we have to write “show term”. If terminal is qt then we have to write “set term
win enh” and press enter. It's now converted to windows.

PLOTTING FUNCTIONS
Activity 2:
Potting sin(x) and cos(x) with range:
Activity 3:
Writing the code in text file:

Creating a note pad file and writing the code. This code contains
setting title and zero axis too.
OUTPUT:
17th September, 2024

ACTIVITY 1:
Indicating points on a plot: (Maxima and minima)
FACTSHEET EXERCISE 1:
a)

A sin curve is a periodic function. It can be shifted both vertically and horizontally.
For example: y(x) = sin(x) + 5 shifts the sine curve up by five units. Similarly with the
changing x the curve gets translated upwards.
b)
c)

d)
e)
FACTSHEET EXERCISE 2:
a)

b)
c)

The two curves intersect at ( 1.43559, 2.46344).


d)

The values for x for which k(x) = 4 are 3.26397,4.85704 and 5.93294
respectively. (from the plot)
e)

sampling size 1000:


sample size 400:

sample size 40:

You might also like