Hi,

I'd like pgfplots to determine what tick labels to display, but I'd
like to control what text is shown.  Consider the following example:

  \documentclass{article}
  
  \usepackage{pgfplots}
  
  \begin{document}
  
  \begin{tikzpicture}
    \begin{axis}[xtick={1,2,3,4,5,6,7,8,9,10},
        xticklabels={aaa,bbb,ccc,ddd,eee,fff,ggg,hhh,iii,jjj},
        width=0.3\textwidth]
      \addplot[domain=1:10] {x};
    \end{axis}
  \end{tikzpicture}
  
  \end{document}

pgfplots displays labels for all of the specified ticks.  This results
in unreadable text due to the amount of overlap.

My plots are actually generated by a program.  So I can easily provide
a lot of labels, but it is hard to determine the right set of ticks to
provide.

Any thoughts on how to accomplish this?


Thanks,

Neal

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to