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.

see what's below. I can't compile it. It works with xtick=\empty though.

\documentclass[12pt]{book}
\usepackage{tikz,pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[ytick=\empty]
\addplot[mark=square*,blue]
coordinates{(1, 1)(2, 5)(3, 20)};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
share|improve this question
    
where can i get this bugfix? i have the same problem ... –  user9670 Nov 29 '11 at 12:16
    
@Joseph unfortunately, it was the first bugfix AFTER the stable release. I hope to make the next bugfix release before christmas (or after christmas). –  Christian Feuersänger Nov 29 '11 at 22:01
    
@Alex you can get the bugfix at pgfplots.sourceforge.net -- download the "unstable" version and install it into some local directory. The pgfplots manual contains instructions how to adapt your TeX installation to use the local directory. –  Christian Feuersänger Nov 29 '11 at 22:02
    
@ChristianFeuersänger That's why for siunitx I have two branches :-) Thanks for the update. –  Joseph Wright Nov 29 '11 at 22:12
    
@Joseph I can "best" that: currently, I have 7 for pgfplots :) (stable, master, unstable, and some very special feature branches which are more-or-less in experimental state). But nevertheless, the release cycles are still longer than I would like. Releasing always takes at least two days of careful work to avoid stupid compatibility mistakes :( –  Christian Feuersänger Nov 29 '11 at 22:40

1 Answer 1

up vote 3 down vote accepted

Using ytick={} should do the trick.

Alternatively adapting the solution from tick removal with pfgplots

\documentclass[12pt]{book}
\usepackage{tikz,pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[ytick style={draw=none}]
\addplot[mark=square*,blue]
coordinates{(1, 1)(2, 5)(3, 20)};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
share|improve this answer
    
not for me, unfortunately. It looks like it is a bug since it is wroking well with axis. –  pluton Aug 1 '11 at 20:54
    
See updated solution. –  Peter Grill Aug 1 '11 at 20:59
    
thanks but it's still a problem since the exact same code with xtick works fine. –  pluton Aug 1 '11 at 23:08
    
Submit this as a pgfplots possible bug report here by clicking on the Add new link. –  Werner Aug 2 '11 at 17:51
1  
@Werner thanks for the report, I read it here. I confirm that this is a bug - sorry about that. I have a preliminary bugfix ready at hand. –  Christian Feuersänger Aug 2 '11 at 19:46

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.