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 want to plot some functions without marks and reference them in my text - the problem is that in the text there are some random marks and i can't turn them off somehow.

plotl/.style={blue,no marks,ultra thick,domain=-2:2,samples=50},
plotd/.style={red,no marks,ultra thick,domain=-2:2,samples=50}
Text blablbalbal \ref{plot:probH} blablalbalba \ref{plot:probL}\\
    \begin{axis}[width=\textwidth,height= 200pt,legend pos=north east,xlabel = $E_x$, ylabel=$p_x$]
\addplot+[plotl]{0.15*exp(-x/0.5)/(0.5*sinh(4)};\addlegendentry{$T = 0.5$}\label{plot:probL}
\addplot+[plotd]{0.15*exp(-x/4)/(4*sinh(0.5)};\addlegendentry{$T = 4.0$}\label{plot:probH}

enter image description here

share|improve this question
Remove the + after the \addplot. –  Jake Oct 12 '13 at 21:04
thanks a lot. you could make an answer out of this (i think the question hasn't been asked before - at least searching didn't yield useful results). –  oerpli Oct 12 '13 at 21:14
add comment

Your Answer


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

Browse other questions tagged or ask your own question.