Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Gnuplot Tutorial
→
Gnuplot Interview Questions in Gnuplot Tutorial
→
How To Plot Two Functions In Non-overlapping Regi...
1.
How To Plot Two Functions In Non-overlapping Regions?
Answer»
Parametric plot can be used to plot 2 functions in non-overlapping regions.
Following examples illustrates:
gnuplot> set parametric
gnuplot> aaf=1
gnuplot> bb=3
gnuplot>
CC
=2
gnuplot> dd=4
gnuplot> x1(t) = aa+(bb-aa)*t
gnuplot>
X2
(t) = cc+(dd-cc)*t
gnuplot> f1(x) =
SIN
(x)
gnuplot> f2(x) = x**2/8
gnuplot> plot [t=0:1] x1(t),f1(x1(t)) title "f1", x2(t), f2(x2(t)) title "f2"
The
LAST
line of code is parametric plot that plots the functions x1 and f1, x2 and f2.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How Would You Define A Function In Gnuplot?
How To Plot A Vertical Line?
How To Call Gnuplot In A Pipe Or With A Gnuplot-script Doesn't Produce A Plot?
How To Fix The Bug Of Partial Displaying Of Output Files?
How To Produce Graph Of An Exact Border Size?
How To Plot Two Functions In Non-overlapping Regions?
How To Include Accented Characters?
How To Fill An Area Between Two Curves?
How To Plot Implicit Defined Graphs?
How To Make Surface Mesh Finer?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies