Вы находитесь на странице: 1из 3

/PSTricks/pst-plot/examples

Welcome to the PSTricks web site


Search pst-plot -- examples

3D examples | Axes | Bessel curves | chemical elements as x-axis label | Dataplot | Different units for the
Main page axis | fileplot | filling areas between two curves | Gaußcurve | Grid plot | Introduction | listplot | logarithmic
axes | Parametric plots | Plot of arccos(x) | Plot of arctan(x) | Plot of sin(1/x) | Plot only every nth data |
Index plotstyle | psaxes | shaded areas under a curve | Simple Examples | surface plots | Units demo |

Bug list
The following plots were produced with the packages pst-plot, which is part of pstricks. The plot-package
Documentation
always requires the corresponding tex-file pst-plot.tex.
Doc errors
Examples You can download Plotting functions from the DTK, the journal of DANTE, and also Plotting data records
Gallery (english) (german)
Packages
The inverse function of tan(x), the atan(x), has the syntax y=atan(nominator/demoninator) and
the values are in the range of 0..360°. This is in difference to the default definition of -90...+90°. The
CTAN
following example shows also a plot with the \parametricplot macro. For the plot of a tan(x) go here
Search CTAN:
Germany
Ireland
United Kingdom
USA

Statistics

the 5th edition, total


of 912 pages,
includes 64 color
pages
You need package pstricks-add. For another (better) solution see also package pst-
func.

http://tug.org/PSTricks/main.cgi?file=pst-plot/examples (1 of 3)5/29/2010 4:18:30 AM


/PSTricks/pst-plot/examples

To plot the inverse function of cos(x), the arccos(x) is easier to plot with the parametric macro instead of
the psplot macro.

This examples shows an extremely number of plotted points. The first plot has 3000 and the second one
4000, divided in two intervals of 3000 and 1000. This example shows, that there are nearly no restrictions in
setting the plotpoints=??? option.

Download the LaTeX Source for more information.


sin0.png

The data file holds


1000 data records,
but only every nth
should be plotted.
There is a new
option step. This
example shows two
curves, the blue one
shows every data
record and the red
one only every 50th
record.
The option step is
only valid for the
\listplot macro,
so that the datafile
the 2nd edition, total
has to be read
of 960 pages,
before by the
includes 32 color
\readdata macro.
pages

http://tug.org/PSTricks/main.cgi?file=pst-plot/examples (2 of 3)5/29/2010 4:18:30 AM


/PSTricks/pst-plot/examples

Different units

local time: Fri May 28 18:16:42 CEST 2010 ; file is: 286.718912037037 days old
contact webmaster _at_ perce.de

http://tug.org/PSTricks/main.cgi?file=pst-plot/examples (3 of 3)5/29/2010 4:18:30 AM

Вам также может понравиться