|
|
Other available plot modes
|
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)
|