Dear Denis,

thank you for your interest in pgfplots.

I think I can help you here... consider the following example:

---------------------------

\documentclass{article}

\usepackage{pgfplots}

\begin{document}

\begin{tikzpicture}
     \begin{axis}[axis line style={draw=none},
         xtick=data,
         xticklabel=\relax, % omit all x tick labels
         extra x ticks={-3,1.2,2.5},% draw some additional tick labels
         extra tick style={
             tick style={draw=none}, % do not draw tick *lines* for 
additional labels
             xticklabel=\pgfmathprintnumber\tick, % undo the 
'xticklabel=\relax'
         }]
     \addplot {x};
     \end{axis}
\end{tikzpicture}
\end{document}

---------------------

Your first point can be achieved by means of "axis line 
style={draw=none}". This can be done for x only (or for y only) using "x 
axis line style={...},separate axis lines".

The second request is new for me, I have never seen it. If I am not 
mistaken, you want to place tick lines at every occuring data position, 
right? Furthermore, you want to place some (randomly chosen?) tick 
labels which have no associated tick line, only tick labels (please 
correct me if I'm wrong).

I hope this answers your question as such.

Concerning tuftes principles in general:

I stumbled over Tufte's principles some time ago (compare 
http://tex.stackexchange.com/questions/29293/is-there-a-package-that-provides-graphing-in-the-style-of-ed-tufte
 
).

Perhaps some kind of specialized "finance" or "statistics" library would 
be interesting - it seems as if tufte's principles apply to the graphs 
arising in these areas. Or perhaps a general "tufte" library, I do not 
know. I am not willing to change the existing pgfplots default (because 
of backwards compatibility and because I believe that tuftes principles 
do not apply to all scientific applications). If you are willing to 
collect a set of use-cases which are of "general interest", I might come 
up with a suitable solution.

I believe that much is possible with pgfplots and its available hooks 
(compare the texexchange link and my example above). Consequently, a 
"tufte" library might work on a very high-level, without really changing 
any internals (or only few).

Best regards

Christian

Am 02.12.2011 09:34, schrieb Denis Brizard:
> Dear Dr Feuersänger,
>
> I came across the documentation of your PGFplots package and I think I 
> did not find the solution to my problem.
>
> 1- My aim is to be able to get an axis without any line but still with 
> ticks. This is to "maximize data-ink ratio" such as introduced by 
> Edward Tufte. I tryed 'lines=none' but them, the ticks are suppressed 
> too and
>
> 2- The next step would be to put ticks corresponding to the plotted 
> data (not regularly spaced ticks), see
> http://www.juiceanalytics.com/writing/tufte-charts-in-excel/
> for an example of what I mean.
>
> Well, I am not sure this is yet possible with PGFplots and I don't 
> know the amount of programming it requires. This may be an idea for 
> further developments. Point 1 may be the most difficult, point 2 could 
> be tackled by specifying by hand which ticks are to be displayed.
>
> I hope I was clear enough since I do not know if you are familiar with 
> Tufte's principles.
>
> Feel free to contact me if you need any detail.
> Best regards,
> Denis Brizard
>
> ps: The ideas of Tufte are fully developped in his book:
> The Visual Display of Quantitative Information, Edward R. Tufte
>


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to