College of Engineering Logo Web Server Logs Student Server Logs Orange bar Main Page General Information Special Events Programs Research Student Information Computer Facility Outreach Xtreme Engineering Jobs Available

Other available plot modes

Computer Facility University of Hawaii at Manoa
College of Engineering

Parametric Plots

Instead of using a single function to describe a curve, you can use the set parametric command to set Gnuplot to use parametric curves. When making these plots, you will need to specify two functions of the dummy variable t, called f(t) and f(t). (To turn it off, use set noparametric)

set parametric
plot cos(t * 3), sin(t * 2)

Polar Plots

Similar to the above setting, you can use the set polar option to set the axes to use polar coordinates, rather than cartesian. For polar plots, the x coordinate becomes theta and the y coordinate becomes r or radius. (To turn it back to cartesian coordinates, use set nopolar)

set polar
plot cos(2 * x)

Author: Ben Yoshino (ben@wiliki.eng.hawaii.edu)

Comments, Questions? | E-mail: webmaster@wiliki.eng.hawaii.edu


Last updated on Thursday, August %.1d, 2002
Copyright © 2001 University of Hawai`i, College of Engineering, Computer Facility
All rights reserved.