PSTricks - Graphics for T<span class="e">e</span>X and L<span class="a">a</span>T<span class="e">e</span>X


Welcome to the PSTricks web site

pst-plot -- Axes
TUG logo

Main page

Index
Bug list
Documentation
Doc errors
Examples
2D Gallery
3D Gallery
Packages
References
CTAN
Search CTAN:
Germany
USA

Statistics

 


Extended translation of the the 5th edition

 


the 7th edition, total of 960 colored pages

 


2nd edition, 212 pages, includes 32 color pages

 


 


 


 


 


 

 

 


 


arrayjob package |  Calculated labels |  chemical elements as x-axis label |  Decimal Comma |  Documentation |  Great axes values |  Interrupted x-axis |  Label as index  |  Label position  |  Label step |  logarithmic axes |  Multiple axes |  Negative axis |  Small axes values |  special x-axis labels |  Trigonometrical labels | 


See also on the example pages for labeling axes ...
Decimal Comma
If you want to have a decimal comma instead of the dot use the option comma for the psaxes macro.
\psaxes[xunit=2cm,Dx=0.5,Dy=0.5,comma]{->}(5,5)

It is very easy to modify the label setting of the axes.
The right example shows one for a very small intervall for both axes.
\documentclass[12pt]{article}
\usepackage{pstricks,pst-plot}

\begin{document}

\psset{xunit=20cm,yunit=20cm}
\begin{pspicture}(0.7,-0.1)(1.1,0.4)
  \psaxes[Ox=0.08,Dx=0.05,Oy=0,Dy=0.05]%
      {<->}(0.8,0)(1.1,0.4)
\end{pspicture}

\end{document}
For more examples load the pstricks-add documentation.
psaxes0.png
label0.png

Great values
When you have an intervall for one of the axes let's say from 1950...1972, then it is not possible to choose an unit less than 2.95mm. In this case it is better to choose an internal interval from 0...22 and starting the axis label with the value 1950.
axes0.png axes10.png

Multi axes
multiAxes0.png axes1.png
axes4.png axes13.png
axes14.png
axes5.png

Negative x axis
axes3.png axes11.png

axes2.png axes16.png

Trigonometric labels
trigLabels.png trigLabels3.png
trigLabels2.png

axes0.png

axes1.png axes1.png

Special x-axis values
axes6.png axes6.png
axes9.png plot17.png
exa015.png

Logarithmic Axes number as index
axes7.png axes8.png

axes15.png

$Id: psaxes 1594 2020-08-20 08:01:11Z hvoss $

local time: Sat Apr 20 04:48:22 CEST 2024 ; file is: 564.474247685185 days old
contact webmaster _at_ perce.de