8.14 Three-dimensional plottingThree-dimensional graphs may be produced by placing the modifier 3d immediately after the plot command, as demonstrated by the following simple example which draws a helix: set key below ![]() Many plot styles take additional columns of data when used on three-dimensional plots, reading in three values for the The example above also demonstrates that the set size command takes an additional aspect ratio zratio which affects three-dimensional plots; whereas the aspect ratio ratio determines the ratio of the lengths of the The angle from which three-dimensional plots are viewed can be set using the set view command. This should be followed by two angles, which can either be expressed in degrees, as dimensionless numbers, or as quantities with physical units of angle: set view 60,30 set unit angle nodimensionless set view unit(0.1*rev),unit(2*rad) The orientation The replot command command may be used to add additional datasets to three-dimensional plots in an entirely analogous fashion to two-dimensional plots.
|