Outline:

Range
Border
Zero axes
Key
Tics
  Major tics
  Minor tics
  Nomirror and second tics
  Other options for tics
Grid
Want only the plot?
Title, key title, and lable
  Title
  Key title
  Label
  Arrow
Resolution
3D Plot general
Scaling
  Size ratio
  Tics level
  Log scale
Parameterizing
  Parametric
  Polar


Resolution

Let's plot sin(100*x) without any option.
gnuplot> plot sin(100*x)
gnuplot hirophysics
It looks spiky and it doesn't look like a smooth sinusoidal wave. When you need the finer plot, you will raise the sampling. The default sampling is 100, so try 1000.
gnuplot> set samples 1000
gnuplot> plot sin(100*x)
gnuplot hirophysics
Now, the plot looks smoothly continuous. The larger number of sampling, the finer plot you can have. However, note that a larger samples would take much more time to show the result.

For a 3D plot, use isosamples instead of samples. The default is 10, so let's try 50. (The detailed instruction for 3D plots will be given in the next section.)
gnuplot> set isosamples 50
gnuplot> splot [0:2*pi] [0:2*pi] sin(x)*cos(y)
gnuplot hirophysicsgnuplot hirophysics
Previous page Next page