Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a graph and it doesn't start at zero. How do I add the symbol (my vague description is mentioned in the title) to the y axis of the graph? If it helps, my graph is a scatterplot.

enter image description here

share|improve this question
3  
It helps if your file, code or something minimal was given here so that we don't need to find a proper example to replicate your problem. See for example this one to provide some data on the fly to your example : tex.stackexchange.com/questions/79177/… –  percusse Oct 27 '12 at 11:36

1 Answer 1

up vote 10 down vote accepted

There's the key axis y discontinuity=<crunch|parallel|none> that will insert a symbol on your axis:

\documentclass[tikz,border=2mm]{article}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
\begin{axis}[ymin=370,axis y discontinuity=crunch]
\addplot {rnd*200+400};
\end{axis}
\end{tikzpicture}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.