[pstricks] discontinuous y-axis

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Apr 13 14:17:11 CEST 2010


Am 13.04.2010 11:41, schrieb Antoine Pairet:

> Is there an option for psgraph environment to draw a discontinuous
> y-axis? If not, is there such a functionality available in another
> PSTrciks environment?

no, there is no such option

> I have not seen such an option in the documentation, but I could have
> missed it. If you are aware of this option, please let me know.
> 
> If this option does not exist, what I plan to do is the following:
>       * shift all the convergence values in order to suppress large
>         white area

use \pstScalePoints(1,1){}{value sub}
for manipulating your y-Data, replace value with any number,
which makes sense.

>       * suppress the automatic drawing of the y-axis

yAxis=false

>       * manually construct a y-axis with \psline
>       * manually place the ticks and labels on the y-axis

see example for the x-axis:
http://tug.org/PSTricks/main.cgi?file=pst-plot/psaxes#intAxes

Herbert


More information about the PSTricks mailing list