home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume24 / gnuplot3 / part09 < prev    next >
Encoding:
Text File  |  1991-10-26  |  48.6 KB  |  1,417 lines

  1. Newsgroups: comp.sources.misc
  2. From: gershon%gr@cs.utah.edu (Elber Gershon)
  3. Subject:  v24i031:  gnuplot3 - interactive function plotting utility, Part09/26
  4. Message-ID: <1991Oct26.222419.6640@sparky.imd.sterling.com>
  5. X-Md4-Signature: 1b42ad6f70c61f371e475ea330220443
  6. Date: Sat, 26 Oct 1991 22:24:19 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: gershon%gr@cs.utah.edu (Elber Gershon)
  10. Posting-number: Volume 24, Issue 31
  11. Archive-name: gnuplot3/part09
  12. Environment: UNIX, MS-DOS, VMS
  13. Supersedes: gnuplot2: Volume 11, Issue 65-79
  14.  
  15. #!/bin/sh
  16. # this is Part.09 (part 9 of a multipart archive)
  17. # do not concatenate these parts, unpack them in order with /bin/sh
  18. # file gnuplot/docs/gnuplot.doc continued
  19. #
  20. if test ! -r _shar_seq_.tmp; then
  21.     echo 'Please unpack part 1 first!'
  22.     exit 1
  23. fi
  24. (read Scheck
  25.  if test "$Scheck" != 9; then
  26.     echo Please unpack part "$Scheck" next!
  27.     exit 1
  28.  else
  29.     exit 0
  30.  fi
  31. ) < _shar_seq_.tmp || exit 1
  32. if test ! -f _shar_wnt_.tmp; then
  33.     echo 'x - still skipping gnuplot/docs/gnuplot.doc'
  34. else
  35. echo 'x - continuing file gnuplot/docs/gnuplot.doc'
  36. sed 's/^X//' << 'SHAR_EOF' >> 'gnuplot/docs/gnuplot.doc' &&
  37. X `dots`, or `errorbars`. The <linetype> and <pointtype> are positive
  38. X integer constants or expressions and specify the line type and point
  39. X type to be used for the plot. Line type 1 is the first line type used
  40. X by default, line type 2 is the second line type used by default, etc.
  41. X Examples:
  42. X This plots sin(x) with impulses:
  43. X         plot sin(x) with impulses
  44. X This plots x*y with points, x**2 + y**2 default:
  45. X         splot x*y w points, x**2 + y**2
  46. X This plots tan(x) with the default function style, "data.1" with lines:
  47. X         plot [ ] [-2:5] tan(x), "data.1" with l
  48. X This plots "leastsq.dat" with impulses:
  49. X         plot 'leastsq.dat' w i
  50. X This plots "exper.dat" with errorbars and lines connecting the points:
  51. X         plot 'exper.dat' w lines, 'exper.dat' w errorbars
  52. X Here 'exper.dat' should have three or four data columns.
  53. X This plots x**2 + y**2 and x**2 - y**2 with the same line type:
  54. X         splot x**2 + y**2 with line 1, x**2 - y**2 with line 1
  55. X This plots sin(x) and cos(x) with linespoints, using the
  56. X same line type but different point types:
  57. X         plot sin(x) with linesp 1 3, cos(x) with linesp 1 4
  58. X This plots file "data" with points style 3:
  59. X         plot "data" with points 1 3 
  60. X Note that the line style must be specified when specifying the point
  61. X style, even when it is irrelevant. Here the line style is 1 and the
  62. X point style is 3, and the line style is irrelevant.
  63. X See `set style` to change the default styles.
  64. 3 title
  65. ?plot title
  66. ?splot title
  67. X A title of each plot appears in the key. By default the title is
  68. X the function or file name as it appears on the plot command line.
  69. X The title can be changed by using the `title` option. This option 
  70. X should precede any `with` option.
  71. X Syntax:
  72. X         title "<title>"
  73. X where <title> is the new title of the plot and must be enclosed in
  74. X quotes. The quotes will not be shown in the key.
  75. X Examples:
  76. X This plots y=x with the title 'x':
  77. X         plot x
  78. X This plots the "glass.dat" file with the title 'surface of revolution':
  79. X         splot "glass.dat" title 'surface of revolution'
  80. X This plots x squared with title "x^2" and "data.1" with title
  81. X 'measured data':
  82. X         plot x**2 title "x^2", "data.1" t 'measured data'
  83. 2 print
  84. ?print
  85. X The `print` command prints the value of <expression> to the screen.
  86. X Syntax:
  87. X         print <expression>
  88. X See `expressions`.
  89. 2 pwd
  90. ?pwd
  91. X The `pwd` command prints the name of the working directory to the screen.
  92. X Syntax:
  93. X         pwd
  94. 2 quit
  95. ?quit
  96. X The `exit` and `quit` commands and END-OF-FILE character will exit
  97. X GNUPLOT. All these commands will clear the output device (as the
  98. X `clear` command does) before exiting.
  99. 2 replot
  100. ?replot
  101. X The `replot` command without arguments repeats the last `plot` or `splot`
  102. X command. This can be useful for viewing a plot with different `set`
  103. X options, or when generating the same plot for several devices.
  104. X Arguments specified after a `replot` command will be added onto the last
  105. X `plot` (`splot`) command (with an implied ',' separator) before it is
  106. X repeated. `replot` accepts the same arguments as the `plot` (`splot`)
  107. X commands except that ranges cannot be specified. See `command-line
  108. X editing` for ways to edit the last `plot` (`splot`) command.
  109. 2 save
  110. ?save
  111. X The `save` command saves user-defined functions, variables, set
  112. X options or all three plus the last `plot` (`splot`) command to the
  113. X specified file.
  114. X Syntax:
  115. X         save  {<option>} "<filename>"
  116. X where <option> is `functions`, `variables` or `set`. If no option is
  117. X used, GNUPLOT saves functions, variables, set options and the last `plot`
  118. X (`splot`) command.
  119. X `save`d files are written in text format and may be read by the `load`
  120. X command.
  121. X The filename must be enclosed in quotes.
  122. X Examples:
  123. X         save "work.gnu"
  124. X         save functions 'func.dat'
  125. X         save var 'var.dat'
  126. X         save set "options.dat"
  127. 2 set-show
  128. ?set
  129. ?show
  130. X The `set` command sets LOTS of options.
  131. X The `show` command shows their settings. `show all` shows all the
  132. X settings.
  133. 3 angles
  134. ?set angles
  135. ?show angles
  136. ?angles
  137. X By default, GNUPLOT assumes the independent variable in polar plots
  138. X is in units of radians. If `set angles degrees` is specified before
  139. X `set polar` then the default range is [0:360] and the independent
  140. X variable has units of degrees. This is particularly useful for
  141. X plots of data files. The angle setting also hold for the 3-d
  142. X mapping as set via the `set mapping` command.
  143. X
  144. X Syntax:
  145. X         set angles { degrees | radians }
  146. X         show angles
  147. 3 arrow
  148. ?set arrow
  149. ?set noarrow
  150. ?show arrow
  151. ?arrow
  152. ?noarrow
  153. X Arbitrary arrows can be placed on a plot using the `set arrow`
  154. X command.
  155. X Syntax:
  156. X          set arrow {<tag>} {from <sx>,<sy>{,<sz>}} 
  157. X                            {to <ex>,<ey>{,<ez>}} {{no}head}
  158. X          set noarrow {<tag>}
  159. X          show arrow
  160. X Unspecified coordinates default to 0. The x, y, and z values are in
  161. X the graph's coordinate system. The z coordinate is only used in
  162. X `splot` commands. <tag> is an integer that identifies the arrow. If no
  163. X tag is given, the lowest unused tag value is assigned automatically.
  164. X The tag can be used to delete or change a specific arrow. To change
  165. X any attribute of an existing arrow, use the `set arrow` command with
  166. X the appropriate tag, and specify the parts of the arrow to be
  167. X changed. Specifying nohead requests the arrow be drawn without a head
  168. X (yielding a line segment). By default, arrows have heads.
  169. X Arrows outside the plotted boundaries are permitted but may cause
  170. X device errors.
  171. X Examples:
  172. X To set an arrow pointing from the origin to (1,2), use:
  173. X          set arrow to 1,2
  174. X To set an arrow from (-10,4,2) to (-5,5,3), and tag the arrow number
  175. X 3, use:
  176. X          set arrow 3 from -10,4,2 to -5,5,3
  177. X To change the preceding arrow begin at 1,1,1, without an arrow head,
  178. X use:
  179. X          set arrow 3 from 1,1,1 nohead
  180. X To delete arrow number 2 use:
  181. X          set noarrow 2
  182. X To delete all arrows use:
  183. X          set noarrow
  184. X To show all arrows (in tag order) use:
  185. X          show arrow
  186. 3 autoscale
  187. ?set autoscale
  188. ?set noautoscale
  189. ?show autoscale
  190. ?autoscale
  191. ?noautoscale
  192. X Auto scaling may be set individually on the x, y or z axis
  193. X or globally on all axes. The default is to autoscale all axes.
  194. X When autoscaling, the plot range is automatically computed and the
  195. X dependent axis (y for a `plot` and z for `splot`) is scaled to
  196. X include the range of the function or data being plotted.
  197. X If autoscaling of the dependent axis (y or z) is not set, the
  198. X current y or z range is used.
  199. X See `set yrange` or `set zrange`.
  200. X Autoscaling the independent variables (x for `plot` and x,y for
  201. X `splot`) is a request to set the domain to match any data file being
  202. X plotted. If there are no data files then autoscaling an independent
  203. X variable has no effect. In other words, in the absence of a data
  204. X file, functions alone do not affect the x range (or the y range if
  205. X plotting z = f(x,y)).
  206. X See `set xrange`, or `set yrange`.
  207. X The behavior of autoscaling remains consistent in parametric mode,
  208. X however, there are more dependent variables and hence more control
  209. X over x, y, and z plot scales. In parametric mode, the independent or
  210. X dummy variable is t for `plot`s and u,v for `splot`s.  Autoscale in
  211. X parametric mode, then, controls all ranges (t, u, v, x, y, and z) and
  212. X allows x, y, and z to be fully autoscaled.
  213. X See `set parametric`.
  214. X Syntax:
  215. X         set autoscale <axes>
  216. X         set noautoscale <axes>
  217. X         show autoscale
  218. X where <axes> is either `x`, `y`, `z` or `xy`. If <axes> is not given
  219. X then all axes are assumed.
  220. X Examples:
  221. X This sets autoscaling of the y axis. x axis autoscaling is not
  222. X affected.
  223. X         set autoscale y
  224. X This sets autoscaling of the x and y axes.
  225. X         set autoscale xy
  226. X This sets autoscaling of the x, y and z axes.
  227. X         set autoscale
  228. X This disables autoscaling of the x, y and z axes.
  229. X         set noautoscale
  230. X This disables autoscaling of the z axis only.
  231. X         set noautoscale z
  232. 4 parametric mode
  233. ?autoscale parametric
  234. ?set autoscale t
  235. X When in parametric mode (`set parametric`) the xrange is as
  236. X fully scalable as the yrange. In other words, in parametric
  237. X mode the x axis can be automatically scaled to fit the range
  238. X of the parametric function that is being plotted. Of course,
  239. X the y axis can also be automatically scaled just as in the
  240. X non-parametric case. If autoscaling on the x axis is not set,
  241. X the current x range is used.
  242. X When there is a mix of data files and functions, the xrange of
  243. X the functions is selected as that of the data files if autoscale
  244. X is true for x. While this keeps the behavior compatible with
  245. X non-parametric plotting, it may not be retained in the future.
  246. X The problem is that, in parametric mode, the x and y ranges are
  247. X not as distinguishable as in the non-parametric mode and this
  248. X behavior may not be the most useful.
  249. X For completeness a last command `set autoscale t` is accepted.
  250. X However, the effect of this "scaling" is very minor. When
  251. X GNUPLOT determines that the t range would be empty it makes a
  252. X small adjustment if autoscaling is true. Otherwise, GNUPLOT
  253. X gives an error. Such behavior may, in fact, not be very useful
  254. X and the command `set autoscale t` is certainly questionable.
  255. X `splot` extends the above idea similarly. If autoscaling is set then
  256. X x, y, and z ranges are computed and each axis scaled to fit the
  257. X resulting data.
  258. 3 border
  259. ?set border
  260. ?set noborder
  261. ?show border
  262. ?border
  263. ?noborder
  264. X The `set border` and `set noborder` commands controls the display of
  265. X the plot borders for the `plot` and `splot` commands.
  266. X Syntax:
  267. X         set border
  268. X         set noborder
  269. X         show border
  270. 3 clip
  271. ?set clip
  272. ?set noclip
  273. ?show clip
  274. ?clip
  275. ?noclip
  276. X GNUPLOT can clip data points and lines that are near the boundaries
  277. X of a plot. 
  278. X Syntax:
  279. X         set clip <clip-type>
  280. X         set noclip <clip-type>
  281. X         show clip
  282. X
  283. X Three clip types are supported by GNUPLOT: `points`, `one`, and `two`.
  284. X One, two, or all three clip types may be active for a single plot.
  285. X
  286. X The `points` clip type forces GNUPLOT to clip (actually, not plot at
  287. X all) data points that fall within but too close to the boundaries
  288. X (this is so the large symbols used for points will not extend outside
  289. X the boundary lines). Without clipping points near the boundaries may
  290. X look bad; try adjusting the x and y ranges.
  291. X
  292. X Setting the `one` clip type causes GNUPLOT to plot the line segments
  293. X which have only one of the two endpoints with the plotting region.
  294. X Only the in-range portion of the line is drawn.  The alternative is to
  295. X not draw any portion of the line segment.
  296. X
  297. X Some lines may have both endpoints out of range, but pass through the
  298. X plotting area. Setting the `two` clip-type allows the visible portion
  299. X of these lines to be drawn.
  300. X In no case is a line drawn outside the plotting area.
  301. X
  302. X The defaults are `noclip points`, `clip one`, and `noclip two`.
  303. X
  304. X To check the state of all forms of clipping, use
  305. X         show clip
  306. X
  307. X For backward compatibility with older versions, the following forms
  308. X are also permitted.
  309. X        set clip
  310. X        set noclip
  311. X `set clip` is synonymous with `set clip points`. `set noclip` turns
  312. X off all three types of clipping.
  313. 3 Cntrparam
  314. ?set cntrparam
  315. ?show cntrparam
  316. ?cntrparam
  317. X Sets the different parameters for the contouring plot (see also `contour`).
  318. X Syntax:
  319. X         set cntrparam { { linear | cubicspline | bspline } |
  320. X                         points <n> |
  321. X                         levels <n> |
  322. X                         order <n> }
  323. X This command controls the way contours are plotted. <n> should be an
  324. X integral constant expression. The parameters are:
  325. X `linear`, `cubicspline`, `bspline` - Controls type of approximation or
  326. X interpolation. If `linear`, then the contours are drawn piecewise
  327. X linear, as extracted from the surface directly. If `cubicspline`, then
  328. X piecewise linear contours are interpolated to form a somewhat smoother
  329. X contours, but which may undulate. The third option is the uniform
  330. X `bspline`, which only approximates the piecewise linear data but is
  331. X guaranteed to be smoother.
  332. X `points` - Eventually all drawings are done with piecewise linear
  333. X strokes.  This number controls the number of points used to
  334. X approximate a curve.  Relevant for `cubicspline` and `bspline` modes
  335. X only.
  336. X `levels` - Number of contour levels. If the surface is bounded by zmin
  337. X and zmax then contours will be generated from zmin+dz to zmax-dz
  338. X in steps of size dz, where dz = (zmax - zmin) / (levels + 1).
  339. X `order`  - Order of the bspline approximation to be used. The bigger this
  340. X order is, the smoother the resulting contour.  (Of course, higher order
  341. X bspline curves will move further away from the original peicewise linear
  342. X data.)  This option is relevant for `bspline` mode only. Allowed values are 
  343. X integers in the range from 2 (linear) to 10.
  344. 3 contour
  345. ?set contour
  346. ?show contour
  347. ?contour
  348. X Enable contour drawing for surfaces. This option is available for `splot`
  349. X only.
  350. X Syntax:
  351. X         set contour { base | surface | both }
  352. X         set nocontour
  353. X If no option is provided to `set contour`, the default is `base`.
  354. X The three options specify where to draw the contours: `base` draws
  355. X the contours on the grid base where the x/ytics are placed, `surface`
  356. X draws the contours on the surfaces themselves, and `both` draws the
  357. X contours on both the base and the surface.
  358. X See also `set cntrparam` for the parameters that affect the drawing of 
  359. X contours.
  360. 3 data style
  361. ?set data style
  362. ?show data style
  363. ?data style
  364. X The `set data style` command changes the default plotting style
  365. X for data plots.
  366. X
  367. X Syntax:
  368. X         set data style 
  369. X         show data style 
  370. X         set data style <style-choice>
  371. X
  372. X In the first case, `set data style` returns the possible style
  373. X choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  374. X or `errorbars`.  `show data style` shows the current default
  375. X plotting style for data.  `set data style dots` would actually 
  376. X change the default plotting style.  See also `plot`.
  377. 3 dummy
  378. ?set dummy
  379. ?show dummy
  380. ?dummy
  381. X By default, GNUPLOT assumes that the independent variable for the
  382. X `plot` command is x, and the independent variables for the `splot`
  383. X command are x and y. They are called the dummy variables because it
  384. X is just a notation to indicate the independent variables. The `set
  385. X dummy` command changes these default dummy variable names. For
  386. X example, it may be more convenient to call the dummy variable t
  387. X when plotting time functions:
  388. X         set dummy t
  389. X         plot sin(t), cos(t)
  390. X Syntax:
  391. X         set dummy <dummy-var>{,<dummy-var>}
  392. X         show dummy
  393. X Examples:
  394. X         set dummy u,v
  395. X         set dummy ,s
  396. X to set both dummy variables to u and v or set only the second
  397. X variable to s.
  398. X The `set parametric` command also changes the dummy variables (to t
  399. X for `plot` and u,v for `splot`s).
  400. 3 format
  401. ?set format
  402. ?show format
  403. ?format
  404. X The format of the tic-mark labels can be set with the `set format`
  405. X command. The default format for both axes is "%g", but other formats
  406. X such as "%.2f" or "%3.0fm" are often desirable. Anything accepted by
  407. X printf when given a double precision number, and then accepted by the
  408. X terminal, will work. In particular, the formats f, e, and g will work,
  409. X and the d, o, x, c, s, and u formats will not work.
  410. X Syntax:
  411. X         set format {<axes>} {"<format-string>"}
  412. X         show format
  413. X where <axes> is either `x`, `y`, `z`, `xy`, or nothing (which is the
  414. X same as `xy`). The length of the string representing a ticmark (after
  415. X formatting with printf) is restricted to 100 characters.  If the
  416. X format string is omitted, the format will be returned to the default
  417. X "%g". For LaTeX users, the format "$%g$" is often desirable.  If the
  418. X empty string "" is used, no label will be plotted with each tic,
  419. X though the tic mark will still be plotted. To eliminate all tic marks,
  420. X use `set noxtics` or `set noytics`.
  421. X See also `set xtics` and `set ytics` for more control over tic labels.
  422. 3 function style
  423. ?set function style
  424. ?show function style
  425. ?function style
  426. X The `set function style` command changes the default plotting style
  427. X for functions.
  428. X
  429. X Syntax:
  430. X         set function style 
  431. X         show function style 
  432. X         set function style <style-choice>
  433. X
  434. X In the first case, `set function style` returns the possible style
  435. X choices:  `lines`, `points`, `linespoints`, `dots`, `impulses`, 
  436. X or `errorbars`.  `show function style` shows the current default
  437. X plotting style for functions.  `set function style linespoints`
  438. X would actually change the default plotting style.  See also `plot`.
  439. 3 functions
  440. ?show functions
  441. X The `show functions` command lists all user-defined functions and
  442. X their definitions.
  443. X Syntax:
  444. X         show functions
  445. 3 grid
  446. ?set grid
  447. ?show grid
  448. ?grid
  449. X The optional `set grid` draws a grid at the tic marks with the axis
  450. X linetype.
  451. X Syntax:
  452. X         set grid
  453. X         set nogrid
  454. X         show grid
  455. 3 isosamples
  456. ?set isosamples
  457. ?show isosamples
  458. ?isosamples
  459. X An isoline is a curve parametrized by one of the surface parameters
  460. X while the other surface parameter is fixed. Isolines are a simple
  461. X means to display a surface. By fixing the u parameter of surface
  462. X s(u,v), the iso-u lines of the form c(v) = s(u0,v) are produced, and
  463. X by fixing the v parameter, the iso-v lines of the form c(u) = s(u,v0)
  464. X are produced.
  465. X The isoline density of surfaces may be changed by the `set isosamples`
  466. X command. By default, sampling is set to 10 isolines per u or v axis.
  467. X A higher sampling rate will produce more accurate plots, but will take
  468. X longer. This parameter has no effect on data file plotting.
  469. X Syntax:
  470. X         set isosamples <expression>
  471. X         show isosamples
  472. 3 key
  473. ?set key
  474. ?show key
  475. ?key
  476. X The `set key` enables a key describing curves on a plot.  By default
  477. X the key is placed in the upper right corner of the plot.
  478. X Syntax:
  479. X         set key
  480. X         set key <x>,<y>{,<z>}
  481. X         set nokey
  482. X         show key
  483. X The coordinates <x>, <y> (and <z> for `splot`s) specify the location
  484. X of the key on the plot. The key is drawn as a sequence of lines, with
  485. X one plot described on each line. On the right hand side of each line
  486. X is a representation that attempts to mimic the way the curve is
  487. X plotted.  On the left side of each line is the text description,
  488. X obtained from the `plot` command. See `plot title` to change this
  489. X description. The lines are vertically arranged so an imaginary
  490. X straight line divides the left- and right-hand sides of the key. It is
  491. X the coordinates of this line that are specified with the `set key`
  492. X command. In a `plot`, only the x and y coordinates are used to specify
  493. X the line position.  For a `splot`, x, y and z are all being used as a
  494. X 3-d location mapped using the same mapping as the plot itself to form
  495. X the required 2-d screen position of the imaginary line.
  496. X Some or all of the key may be outside of the plot boundary, although
  497. X this may interfere with other labels and may cause an error on some
  498. X devices.
  499. X Examples:
  500. X This places the key at the default location:
  501. X         set key
  502. X This disables the key:
  503. X         set nokey
  504. X This places a key at coordinates 2,3.5,2
  505. X         set key 2,3.5,2
  506. 3 label
  507. ?set label
  508. ?set nolabel
  509. ?show label
  510. ?label
  511. ?nolabel
  512. X Arbitrary labels can be placed on the plot using the `set label`
  513. X command.  If the z coordinate is given on a `plot` it is ignored; if
  514. X it is missing on a `splot` it is assumed to be 0.
  515. X Syntax:
  516. X          set label {<tag>} {"<label_text>"} {at <x>,<y>{,<z>}}
  517. X                            {<justification>}
  518. X          set nolabel {<tag>}
  519. X          show label
  520. X The text defaults to "", and the position to 0,0,0.  The <x>, <y>, and
  521. X <z> values are in the graph's coordinate system.  The tag is an
  522. X integer that is used to identify the label. If no <tag> is given, the
  523. X lowest unused tag value is assigned automatically. The tag can be used
  524. X to delete or change a specific label. To change any attribute of an
  525. X existing label, use the `set label` command with the appropriate tag,
  526. X and specify the parts of the label to be changed.
  527. X By default, the text is placed flush left against the point x,y,z.
  528. X To adjust the way the label is positioned with respect to the point
  529. X x,y,z, add the parameter <justification>, which may be `left`, `right`
  530. X or `center`, indicating that the point is to be at the left, right or
  531. X center of the text. Labels outside the plotted boundaries are
  532. X permitted but may interfere with axes labels or other text.
  533. X Examples:
  534. X To set a label at (1,2) to "y=x" use:
  535. X          set label "y=x" at 1,2
  536. X To set a label "y=x^2" with the right of the text at (2,3,4), and tag
  537. X the label number 3, use:
  538. X          set label 3 "y=x^2" at 2,3,4 right
  539. X To change the preceding label to center justification, use:
  540. X          set label 3 center
  541. X To delete label number 2 use:
  542. X          set nolabel 2
  543. X To delete all labels use:
  544. X          set nolabel
  545. X To show all labels (in tag order) use:
  546. X          show label
  547. X (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  548. X a newline.)
  549. 3 logscale
  550. ?set logscale
  551. ?set nologscale
  552. ?show logscale
  553. ?logscale
  554. ?nologscale
  555. X Log scaling may be set on the x, y, and z axes.
  556. X Syntax:
  557. X         set logscale <axes>
  558. X         set nologscale <axes>
  559. X         show logscale
  560. X where <axes> may be any combinations of `x`, `y`, and `z`, in any
  561. X order.  If <axes> is not given then all three axes are assumed.  The
  562. X command `set logscale` turns on log scaling on the specified axes,
  563. X while `set nologscale` turns off log scaling.
  564. X Examples:
  565. X To enable log scaling in both x and z axes:
  566. X        set logscale xz
  567. X To disable z axis log scaling:
  568. X        set nologscale z
  569. 3 mapping
  570. ?set mapping
  571. ?show mapping
  572. ?mapping
  573. X Syntax:
  574. X         set mapping { cartesian | spherical | cylindrical }
  575. X Data for `splot`s are usually in regular Euclidean space and are
  576. X provided in Cartesian coordinates. Such 3-d data require three
  577. X coordinates (x, y and z) or one coordinate (only z) in each line in
  578. X the data file.  In order to be able to use spherical or cylindrical
  579. X coordinate systems, use the `set mapping` command. In both cases two
  580. X coordinates are expected in each line of the data. For a spherical
  581. X coordinate system, these are theta and phi (in units as specified by
  582. X `set angles`) and the mapping is:
  583. X         x = cos( theta ) * cos( phi )
  584. X         y = sin( theta ) * cos( phi )
  585. X         z = sin( phi )
  586. X For a cylindrical coordinate system, the mapping uses two variables,
  587. X theta (in units as specified by `set angles`) and z:
  588. X         x = cos( theta )
  589. X         y = sin( theta )
  590. X         z = z
  591. X Again, note that mapping will affect data file `splot`s only.
  592. 3 offsets
  593. ?set offsets
  594. ?show offsets
  595. ?offsets
  596. X The amount of the graph that the plot takes up may be controlled to
  597. X some extent with the `set offsets` command. This command takes four
  598. X offset arguments: <left>, <right>, <top> and <bottom>. By default,
  599. X each offset is 0. Each offset may be a constant or an expression. Left
  600. X and right offsets are given in units of the x axis, while top and
  601. X bottom offsets are given in units of the y axis. The plot of sin(x),
  602. X displayed with offsets of 0, 0, 2, 2 will take up 1/3 of the
  603. X displayed y axis. Offsets are particularly useful with polar
  604. X coordinates as a means of compensating for aspect ratio distortion.
  605. X Offsets are ignored in `splot`s.
  606. X Syntax:
  607. X         set offsets <left>, <right>, <top>, <bottom>
  608. X         show offsets
  609. 3 output
  610. ?set output
  611. ?show output
  612. ?output
  613. X By default, plots are displayed to the standard output. The `set
  614. X output` command redirects the display to the specified file or
  615. X device.
  616. X Syntax:
  617. X         set output {"<filename>"}
  618. X         show output
  619. X The filename must be enclosed in quotes. If the filename is
  620. X omitted, output will be sent to the standard output.
  621. 3 parametric
  622. ?set parametric
  623. ?set noparametric
  624. ?show parametric
  625. ?parametric
  626. ?noparametric
  627. X The `set parametric` command changes the meaning of `plot` (`splot`)
  628. X from normal functions to parametric functions. The command
  629. X `set noparametric` changes the plotting style back to normal,
  630. X single-valued expression plotting.
  631. X In 2-d plotting, a parametric function is determined by a pair
  632. X of parametric functions operating on a parameter. An example
  633. X of a 2-d parametric function would be plot sin(t),cos(t) (which
  634. X defines a circle).
  635. X For 3-d plotting, the surface is described as x=f(u,v), y=g(u,v),
  636. X z=h(u,v). Therefore a triplet of functions are required. An example of
  637. X 3-d parametric function would be cos(u)*cos(v),cos(u)*sin(v),sin(u)
  638. X (which defines a sphere). It takes three parametric function
  639. X specifications in terms of the parametric dummy arguments to describe
  640. X a single graph.
  641. X The total set of possible plots is a superset of the simple f(x)
  642. X style plots, since the two (three) functions can describe the
  643. X x and y (and z) values to be computed separately. In fact,
  644. X plots of the type t,f(t) (u,v,f(u,v)) are equivalent to those
  645. X produced with f(x) when the x values are computed using the
  646. X identity function as the first function.
  647. X Note that the order the parametric functions are specified is
  648. X xfunction, yfunction (and zfunction) and that each operates over the
  649. X common parametric domain.
  650. X Also, the `set parametric` function implies a new range of values.
  651. X Whereas the normal f(x) and f(x,y) style plotting assume an xrange
  652. X and yrange (and zrange), the parametric mode additionally specifies a
  653. X trange, urange, and vrange. These ranges may be set
  654. X directly with `set trange`, `set urange` and `set vrange`, or by
  655. X specifying the range on the `plot` or `splot` commands. Currently
  656. X the default range for these parametric variables is [-5:5].
  657. X Setting the ranges to something more meaningful is expected.
  658. 3 polar
  659. ?set polar
  660. ?set nopolar
  661. ?show polar
  662. ?polar
  663. ?nopolar
  664. X The `set polar` command changes the meaning of the plot from
  665. X rectangular coordinates to polar coordinates. In polar coordinates,
  666. X the dummy variable (x) is an angle. The range of this angle is changed
  667. X from whatever it was to [0:2*pi], or, if degree unit has been selected,
  668. X to [0:360] (see `set angles`).
  669. X The command `set nopolar` changes the meaning of the plot back to the
  670. X default rectangular coordinate system. The range of x is changed from
  671. X whatever it was to [-10:10].
  672. X The `set polar` command is not supported for `splot`s.  See the
  673. X `set mapping` command for similar functionality for `splot`s.
  674. X While in polar coordinates the meaning of an expression in x is really
  675. X r = f(x), where x is an angle of rotation. The xrange controls the
  676. X domain (the angle) of the function, and the yrange controls the range
  677. X (the radius). The plot is plotted in a rectangular box, and the x and
  678. X y axes are both in units of the radius. Thus, the yrange controls both
  679. X dimensions of the plot output. The tics and units are written along
  680. X the axes rather than at the left and bottom. These unit are offset by
  681. X <rmin> specified by the `rrange` (See `set rrange`). It is not
  682. X possible to specify different output dimensions in the x or y
  683. X directions. The yrange can be used to shift the plot diagonally to
  684. X display only the first or third quadrants.
  685. X Syntax:
  686. X         set polar
  687. X         set nopolar
  688. X         show polar
  689. X Example:
  690. X         set polar
  691. X         plot x*sin(x)
  692. X         plot [-2*pi:2*pi] [-3:3] x*sin(x)
  693. X The first plot uses the default polar angular domain of 0 to 2*pi.
  694. X The radius (and the size of the plot) is scaled automatically. The
  695. X second plot expands the domain, and restricts the range of the radius
  696. X (and the size of the plot) to [-3:3].
  697. 3 rrange
  698. ?set rrange
  699. ?show rrange
  700. ?rrange
  701. X The `set rrange` command sets the radial range used to compute x and y
  702. X values when in polar mode. If not in polar mode (see `set polar`) then
  703. X this range is not used. Use of this command offsets the polar
  704. X singularity to the <rmin> value and shifts the units on the axes tic
  705. X marks. For instance, `set rrange [-40:40]` would set the origin to -40
  706. X and would plot values of radial values between -40 to 40. Thus, if
  707. X 360 degrees of data were plotted, then the plot would extend 80 units
  708. X in radially from the origin.  To view the entire plot,  a 
  709. X `set yrange [-80:80]` command would create a square viewport with
  710. X a circular plot tangent at the axes.  Because `xrange` is used
  711. X specify the angular extent, only a square viewport can be specified
  712. X by `yrange`.  For instance, `set yrange [0:80]` would display the
  713. X first quadrant and `set yrange [-80:0]` would display the third
  714. X quadrant.  Any square viewport of any size can be specified but it
  715. X is constrained to be centered on a 45 degree line.
  716. X This range may also be specified on the `plot` command line when in
  717. X polar mode.
  718. X Syntax:
  719. X         set rrange [{<rmin> : <rmax>}]
  720. X where <rmin> and <rmax> terms are constants or expressions.
  721. X Both the <rmin> and <rmax> terms are optional. Anything omitted will
  722. X not be changed, so 
  723. X         set rrange [:10]
  724. X changes rmax to 10 without affecting rmin.
  725. 3 samples
  726. ?set samples
  727. ?show samples
  728. ?samples
  729. X The sampling rate of functions may be changed by the `set samples`
  730. X command. By default, sampling is set to 100 points. A higher sampling
  731. X rate will produce more accurate plots, but will take longer. This
  732. X parameter no longer has any effect on data-file plotting.
  733. X Syntax:
  734. X         set samples <expression>
  735. X         show samples
  736. 3 size
  737. ?set size
  738. ?show size
  739. ?size
  740. X The `set size` command scales the displayed size of the plot.  On some
  741. X terminals, changing the size of the plot will result in text being
  742. X misplaced. Increasing the size of the plot may produce strange
  743. X results. Decreasing is safer.
  744. X Syntax:
  745. X         set size {<xscale>,<yscale>}
  746. X         show size
  747. X The <xscale> and <yscale> values are the scaling factors for the size.
  748. X The defaults (1,1) are selected if the scaling factors are omitted.
  749. X Examples: 
  750. X To set the size to normal size use:
  751. X         set size
  752. X To make the plot half size use:
  753. X         set size 0.5,0.5
  754. X To show the size use:
  755. X         show size
  756. X For the LaTeX and Fig terminals the default size (scale factor 1,1)
  757. X is 5 inches wide by 3 inches high. The big Fig terminal (`bfig`) is 7
  758. X inches wide by 5 inches high. The postscript default is landscape mode
  759. X 10 inches wide and 7 inches high. 
  760. X Note that the size of the plot includes the space used by the labels; 
  761. X the plotting area itself is smaller. 
  762. 3 style
  763. ?set style
  764. ?show style
  765. ?style
  766. X Plots may be displayed in one of six styles: `lines`, `points`,
  767. X `linespoints`, `impulses`, `dots`, or `errorbars`. The `lines` style
  768. X connects adjacent points with lines. The `points` style displays a
  769. X small symbol at each point. The `linespoints` style does both
  770. X `lines` and `points`. The `impulses` style displays a vertical line
  771. X from the x axis to each point. The `dots` style plots a tiny dot at
  772. X each data point; this is useful for scatter plots with many points.
  773. X The `errorbars` style is relevant only for to data file `plot`s. It is
  774. X treated like `points` for function `plot`s and `splot`s. For data file
  775. X `plot`s, `errorbars` is like `points`, except that a vertical error
  776. X bar is also drawn: for each point (x,y), a line is drawn from (x,ylow)
  777. X to (x,yhigh). A tic mark is placed at the ends of the error bar. The
  778. X ylow and yhigh values are read from the data file's third and fourth
  779. X columns, or as specified with the `using` option to plot.  See `plot
  780. X errorbars` for more information.
  781. X Default styles are chosen with the `set function style` and `set
  782. X data style` commands. See `plot style` for information about how
  783. X to override the default plotting style for individual functions.
  784. X Syntax:
  785. X         set function style <style>
  786. X         set data style <style>
  787. X         show function style
  788. X         show data style
  789. X where <style> is `lines`, `points`, `linespoints`, `impulses`,
  790. X `dots`, or `errorbars`.
  791. 3 surface
  792. ?set surface
  793. ?set nosurface
  794. ?show surface
  795. ?surface
  796. X `set surface` controls the display of surfaces. It is useful if
  797. X contours are to be displayed by themselves. Whenever `set nosurface`
  798. X is issued, no surface isolines/mesh will be drawn. See also `set
  799. X contour`.
  800. X Syntax:
  801. X         set surface
  802. X         set nosurface
  803. X         show surface
  804. 3 terminal
  805. ?set terminal
  806. ?show terminal
  807. ?terminal
  808. X GNUPLOT supports many different graphics devices. Use the `set
  809. X terminal` command to select the type of device for which GNUPLOT
  810. X will produce output.
  811. X Syntax:
  812. X         set terminal {<terminal-type>}
  813. X         show terminal
  814. X If <terminal-type> is omitted, GNUPLOT will list the available
  815. X terminal types. <terminal-type> may be abbreviated.
  816. X Use `set output` to redirect this output to a file or device.
  817. X
  818. X Several terminals have additional options. For example, see `dumb`,
  819. X `iris4d`, `hpljii` or `postscript`.
  820. 4 dumb
  821. ?set terminal dumb
  822. ?dumb
  823. X The dumb terminal driver has an optional size specification.
  824. X
  825. X Syntax:
  826. X         set terminal dumb {<xsize> <ysize>}
  827. X
  828. X where <xsize> and <ysize> set the size of the dumb terminals. Default
  829. X is 79 by 24.
  830. X
  831. X Examples:
  832. X         set term dumb
  833. X         set term dumb 79 49 #(VGA screen - why would anyone want to do that!?)
  834. 4 hpljii
  835. ?set terminal hpljii
  836. ?hpljii
  837. X The HP LaserJet II and HP DeskJet drivers have a single option.
  838. X
  839. X Syntax:
  840. X         set terminal hpljii {<resolution>}
  841. X         set terminal hpdj   {<resolution>}
  842. X
  843. X where <resolution> is the resolution of the output in dots per inch.
  844. X It must be `75`, `100`, `150` or `300`.
  845. X
  846. X Example:
  847. X         set terminal hpljii 150
  848. 4 iris4d
  849. ?set terminal iris4d
  850. ?iris4d
  851. X The iris4d driver can operate in two modes.
  852. X
  853. X Syntax:
  854. X         set terminal iris4d {24}
  855. X
  856. X If the hardware supports only 8 bits, use the default `set terminal
  857. X iris4d`. If, however, the hardware supports 24 bits (8 per
  858. X red/green/blue), use `set terminal iris4d 24`.
  859. X
  860. X When using 24-bit mode, the colors can be directly specified via the
  861. X file .gnuplot_iris4d that is searched in the current directory and
  862. X then in the home directory specified by the HOME environment variable.
  863. X This file holds RGB values for the background, border, labels and nine
  864. X plotting colors, in that order. For example, here is a file containing
  865. X the default colors:
  866. X         85   85   85     /* Back Ground */
  867. X         0    0    0      /* Boundary */
  868. X         170  0    170    /* Labeling */
  869. X         85   255  255    /* Plot Color 1 */
  870. X         170  0    0      /* Plot Color 2 */
  871. X         0    170  0      /* Plot Color 3 */
  872. X         255  85   255    /* Plot Color 4 */
  873. X         255  255  85     /* Plot Color 5 */
  874. X         255  85   85     /* Plot Color 6 */
  875. X         85   255  85     /* Plot Color 7 */
  876. X         0    170  170    /* Plot Color 8 */
  877. X         170  170  0      /* Plot Color 9 */
  878. X This file has exactly 12 lines of RGB triples. No empty lines are
  879. X allowed and anything after the third number in line is ignored.
  880. 4 postscript
  881. ?set terminal postscript
  882. ?postscript
  883. X Several options may be set in the PostScript driver.
  884. X
  885. X Syntax:
  886. X         set terminal postscript {<mode>} {<color>}
  887. X                                 {"<fontname>"} {<fontsize>}
  888. X
  889. X where <mode> is `landscape`, `portrait` or `default`. Selecting default
  890. X sets all options to their defaults.
  891. X <color> is either `color` or `monochrome`.
  892. X "<fontname>" is the name of a valid PostScript font.
  893. X <fontsize> is the size of the font in PostScript points, before 
  894. X scaling by the `set size` command.
  895. X Defaults are `landscape`, `monochrome`, "Courier", and 14pt.
  896. X Default size of PostScript plot is landscape mode 10 inches wide 
  897. X and 7 inches high.
  898. X
  899. X Examples:
  900. X         set size 1,1
  901. X         set term postscript default       # old postscript
  902. X         set term postscript landscape 22  # old psbig
  903. X         set size 0.5,0.5
  904. X         set term postscript portrait 14   # old epsf1
  905. X         set term postscript portrait 22   # old epsf2
  906. X         set size 1,1; set term post landscape color "Times-Roman" 14 
  907. 3 tics
  908. ?set tics
  909. ?show tics
  910. ?tics
  911. X By default, tics are drawn inwards from the border on all four sides.
  912. X The `set tics` command can be used to change the tics to be 
  913. X drawn outwards on the left and bottom borders only.
  914. X This is useful when doing impulse plots.
  915. X Syntax:
  916. X         set tics {<direction>}
  917. X         show tics
  918. X where <direction> may be `in` or `out`. `set tics` defaults to `in`.
  919. X See also the `set xtics`, `set ytics`, and `set ztics` command for more
  920. X control of tic marks.
  921. ?set ticslevel
  922. ?show ticslevel
  923. ?ticslevel
  924. X Using splot, in 3-d plots, one can adjust the relative height of the
  925. X vertical (Z) axis using `set ticslevel`. The numeric argument provided
  926. X specifies the location of the bottom of the scale. a zero will put it
  927. X on the bottom grid and any positive number somewhere along the z axis.
  928. X Syntax:
  929. X         set ticslevel {<level>}
  930. X         show tics
  931. X where <level> is a non negative numeric argument. For example,
  932. X
  933. X         set ticslevel 0.5
  934. X
  935. X sets the tics level to the default value.
  936. X See also the `set view`.
  937. 3 time
  938. ?set time
  939. ?show time
  940. ?time
  941. X The optional `set time` places the time and date of the plot either
  942. X at the top or bottom of the left margin. The exact location is
  943. X device dependent.
  944. X Syntax:
  945. X         set time {<xoff>}{,<yoff>}
  946. X         set notime
  947. X         show time
  948. X Specifying constants <xoff> or <yoff> as optional offsets for the time
  949. X will move the time <xoff> or <yoff> character screen coordinates. For
  950. X example,
  951. X         set time ,-3
  952. X will change only the y offset of the time, moving the title down by
  953. X roughly the height of three characters.
  954. 3 title
  955. ?set title
  956. ?show title
  957. ?title
  958. X The `set title` command produces a plot title that is centered at the
  959. X top of the plot. Using the optional x,y screen offsets, the title
  960. X can be placed anywhere on the plot. `set title` with no parameters
  961. X clears the title.
  962. X Syntax:
  963. X          set title {"<title-text>"} {<xoff>}{,<yoff>}
  964. X          show title
  965. X Specifying constants <xoff> or <yoff> as optional offsets for the
  966. X title will move the title <xoff> or <yoff> character screen
  967. X coordinates. Note these are screen coordinates and not plot
  968. X coordinates. For example,
  969. X          set title ,-1
  970. X will change only the y offset of the title, moving the title down by
  971. X roughly the height of one character.
  972. X (The Latex, EEPIC, and Imagen drivers allow \\ in a string to specify
  973. X a newline.)
  974. 3 trange
  975. ?set trange
  976. ?show trange
  977. ?trange
  978. X The `set trange` command sets the parametric range used to compute
  979. X x and y values when in parametric mode. If not in parametric mode
  980. X (see `set parametric`) then this range is not used. This command
  981. X does not affect x/y autoscaling or x/y ranges.
  982. X This range may also be specified on the `plot` command line when
  983. X in parametric mode.
  984. X Syntax:
  985. X         set trange [{<tmin> : <tmax>}]
  986. X where <tmin> and <tmax> terms are constants or expressions.
  987. X Both the <tmin> and <tmax> terms are optional. Anything omitted will
  988. X not be changed, so 
  989. X         set trange [:10]
  990. X changes tmax to 10 without affecting tmin.  See also `set urange` and
  991. X `set parametric`.
  992. 3 urange
  993. ?set urange
  994. ?show urange
  995. ?urange
  996. X The `set urange` and `set vrange` commands sets the parametric ranges used 
  997. X to compute x, y, and z values when in `splot` parametric mode. If not in 
  998. X parametric mode (see `set parametric`) then these ranges are not used. This 
  999. X command does not affect x/y autoscaling or x/y ranges.
  1000. X This range may also be specified on the `splot` command line when
  1001. X in parametric mode.  See `plot` for more information
  1002. X Syntax:
  1003. X         set urange [{<umin> : <umax>}]
  1004. X where <umin> and <umax> terms are constants or expressions.
  1005. X Both the <umin> and <umax> terms are optional. Anything omitted will
  1006. X not be changed, so 
  1007. X         set urange [:10]
  1008. X changes umax to 10 without affecting umin.  See also `set trange`.
  1009. 3 variables
  1010. ?show variables
  1011. X The `show variables` command lists all user-defined variables and
  1012. X their values.
  1013. X Syntax:
  1014. X         show variables
  1015. 3 view
  1016. ?set view
  1017. ?show view
  1018. ?view
  1019. X The `set view` command sets the view point for `splot`s. This
  1020. X command controls the way the 3-d coordinates of the plot are mapped
  1021. X into the 2-d screen space. This command provides controls to both
  1022. X rotation and scaling of the plotted data but supports orthographic
  1023. X projections only.
  1024. X Syntax:
  1025. X         set view <rot_x> {,{<rot_z>}{,{<scale>}{,<scale_z>}}}
  1026. X         show view
  1027. X where <rot_x> and <rot_z> control the rotation angles (in degrees)
  1028. X along a virtual 3-d coordinate system aligned with the screen such
  1029. X that the screen horizontal axis is x, screen vertical axis is y, and
  1030. X the axis perpendicular to the screen is z. <rot_x> is bounded to the
  1031. X [0:180] range with a default of 60 degrees, while <rot_z> is bounded
  1032. X to the [0:360] range with a default of 30 degrees. <scale> controls
  1033. X the scaling of the entire `splot`, while <scale_z> scales the z axis
  1034. X only. Both scales default to 1.0.
  1035. X Examples:
  1036. X         set view 60, 30, 1, 1
  1037. X         set view ,,0.5
  1038. X The first sets all the four default values. The second changes 
  1039. X only scale, to 0.5.
  1040. X
  1041. X See also `set ticslevel`.
  1042. 3 vrange
  1043. ?set vrange
  1044. ?show vrange
  1045. ?vrange
  1046. X The `set vrange` command is similar to the `set urange` command.
  1047. X Please see `set urange`.
  1048. 3 xlabel
  1049. ?set xlabel
  1050. ?show xlabel
  1051. ?xlabel
  1052. X The `set xlabel` command sets the x-axis label that is centered along
  1053. X the x axis. Using the optional x,y screen offsets, the label can be
  1054. X placed anywhere on the plot. `set xlabel` with no parameters clears
  1055. X the label.
  1056. X Syntax: 
  1057. X          set xlabel {"<label>"} {<xoff>}{,<yoff>}
  1058. X          show xlabel
  1059. X Specifying constants <xoff> or <yoff> as optional offsets for the
  1060. X label will move the label <xoff> or <yoff> character screen
  1061. X coordinates. For example,
  1062. X          set xlabel -1
  1063. X will change only the x offset of the xlabel, moving the label roughly
  1064. X one character width to the left.
  1065. X (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  1066. X a newline.)
  1067. 3 xrange
  1068. ?set xrange
  1069. ?show xrange
  1070. ?xrange
  1071. X The `set xrange` command sets the horizontal range that will be
  1072. X displayed. This command turns x axis autoscaling off.
  1073. X This range may also be specified on the `plot` command line.
  1074. X Syntax:
  1075. X         set xrange [{<xmin> : <xmax>}]
  1076. X where <xmin> and <xmax> terms are constants or expressions.
  1077. X Both the <xmin> and <xmax> terms are optional. Anything omitted will
  1078. X not be changed, so 
  1079. X         set xrange [:10]
  1080. X changes xmax to 10 without affecting xmin.
  1081. 3 xtics
  1082. ?set xtics
  1083. ?set noxtics
  1084. ?show xtics
  1085. ?xtics
  1086. ?noxtics
  1087. X Fine control of the x axis tic marks is possible with the
  1088. X `set xtics` command. The x-axis tic marks may be turned off with the
  1089. X `set noxtics` command. They may be turned on (the default state) with
  1090. X `set xtics`.
  1091. X Syntax:
  1092. X          set xtics { {<start>, <incr>{, <end>}} |
  1093. X                      {({"<label>"} <pos> {, {"<label>"} <pos>}...)} }
  1094. X          set noxtics
  1095. X          show xtics
  1096. X
  1097. X The <start>, <incr>, <end> form specifies that a series of tics will
  1098. X be plotted on the x axis between the x values <start> and <end>
  1099. X with an increment of <incr>. If <end> is not given it is assumed to be
  1100. X infinity. The increment may be negative. For example,
  1101. X           set xtics 0,.5,10
  1102. X makes tics at 0, 0.5, 1, 1.5, ..., 9.5, 10.
  1103. X The ("<label>" <pos>, ...) form allows arbitrary tic positions or
  1104. X non-numeric tic labels. A set of tics are a set of positions, each
  1105. X with its own optional label. Note that the label is a string enclosed
  1106. X by quotes, and may be a constant string, such as "hello", or contain
  1107. X formatting information for the tic number (which is the same as the
  1108. X position), such as "%3f clients". See `set format` for more
  1109. X information about this case. The label may even be empty.
  1110. X Examples:
  1111. X          set xtics ("low" 0, "medium" 50, "high" 100)
  1112. X          set xtics (1,2,4,8,16,32,64,128,256,512,1024)
  1113. X          set xtics ("bottom" 0, "" 10, "top" 20)
  1114. X Tics will only be plotted when in range.
  1115. X The `set ytics` and `set noytics` commands work identically.
  1116. X See also the `set format` command.
  1117. 3 xzeroaxis
  1118. ?set xzeroaxis
  1119. ?set noxzeroaxis
  1120. ?show xzeroaxis
  1121. ?xzeroaxis
  1122. ?noxzeroaxis
  1123. X `set xzeroaxis` draws the x-axis. By default, this option is on.
  1124. X `set noxzeroaxis` causes GNUPLOT to omit the x-axis.
  1125. X Syntax:
  1126. X         set xzeroaxis
  1127. X         set noxzeroaxis
  1128. X         show xzeroaxis
  1129. 3 ylabel
  1130. ?set ylabel
  1131. ?show ylabel
  1132. ?ylabel
  1133. X The `set ylabel` command sets the y-axis label.  The position of this
  1134. X label depends on the terminal, and can be one of the following three
  1135. X positions (the position can be adjusted with optional parameters).
  1136. X 1. Horizontal text flushed left at the top left of the plot.
  1137. X Terminals that cannot rotate text will probably use this method.
  1138. X 2. Vertical text centered vertically at the left of the plot.
  1139. X Terminals that can rotate text will probably use this method.
  1140. X 3. Horizontal text centered vertically at the left of the plot.
  1141. X The LaTeX and EEPIC drivers use this method. The user must insert 
  1142. X line breaks using \\ to prevent the ylabel from overwriting
  1143. X the plot. To produce a vertical row of characters, add \\
  1144. X between every printing character (but this is ugly).
  1145. X Syntax:  
  1146. X          set ylabel {"<label>"} {<xoff>}{,<yoff>}
  1147. X          show ylabel
  1148. X With no parameters, the label is cleared. Specifying constants <xoff>
  1149. X or <yoff> as optional offsets for the label will move the label <xoff>
  1150. X or <yoff> character screen coordinates. For example,
  1151. X          set ylabel -1
  1152. X will change only the x offset of the ylabel, moving the label roughly
  1153. X one character width left of its default position. This is especially
  1154. X useful with the LaTeX driver.
  1155. X (The LaTeX, EEPIC, and Imagen drivers allow \\ in a string to specify
  1156. X a newline.)
  1157. 3 yrange
  1158. ?set yrange
  1159. ?show yrange
  1160. ?yrange
  1161. X The `set yrange` command sets the vertical range that will be
  1162. X displayed. This command turns y axis autoscaling off.
  1163. X This range may also be specified on the `plot` command line.
  1164. X Syntax:
  1165. X         set yrange [{<ymin> : <ymax>}]
  1166. X where <ymin> and <ymax> terms are constants or expressions.
  1167. X Both the <ymin> and <ymax> terms are optional. Anything omitted will
  1168. X not be changed, so 
  1169. X         set yrange [:10]
  1170. X changes ymax to 10 without affecting ymin.
  1171. 3 ytics
  1172. ?set ytics
  1173. ?set noytics
  1174. ?show ytics
  1175. ?ytics
  1176. ?noytics
  1177. X The `set ytics` and `set noytics` commands are similar to the `set xtics`
  1178. X and `set noxtics` commands. Please see `set xtics`.
  1179. 3 yzeroaxis
  1180. ?set yzeroaxis
  1181. ?set noyzeroaxis
  1182. ?show yzeroaxis
  1183. ?yzeroaxis
  1184. ?noyzeroaxis
  1185. X `set yzeroaxis` draws the y-axis. By default, this option is on.
  1186. X `set noyzeroaxis` causes GNUPLOT to omit the y-axis.
  1187. X Syntax:
  1188. X         set yzeroaxis
  1189. X         set noyzeroaxis
  1190. X         show yzeroaxis
  1191. 3 zero
  1192. ?set zero
  1193. ?show zero
  1194. ?zero
  1195. X The `zero` value is the default threshold for values approaching 0.0.
  1196. X GNUPLOT will not plot a point if its imaginary part is greater in
  1197. X magnitude than the `zero` threshold. Axis ranges cannot be less than
  1198. X `zero`. The default `zero` value is 1e-8. This can be changed with
  1199. X the `set zero` command.
  1200. X
  1201. X Syntax:
  1202. X         set zero <expression>
  1203. X         show zero
  1204. 3 zeroaxis
  1205. ?set zeroaxis
  1206. ?set nozeroaxis
  1207. ?show zeroaxis
  1208. ?zeroaxis
  1209. SHAR_EOF
  1210. true || echo 'restore of gnuplot/docs/gnuplot.doc failed'
  1211. fi
  1212. echo 'End of  part 9'
  1213. echo 'File gnuplot/docs/gnuplot.doc is continued in part 10'
  1214. echo 10 > _shar_seq_.tmp
  1215. exit 0
  1216.  
  1217. exit 0 # Just in case...
  1218. -- 
  1219. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  1220. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  1221. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  1222. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  1223.