overlay with beamer
Brought to you by:
cfeuersaenger,
ludewich
Is it possible to use the overlay function with beamer in order to uncover the lines one by one?
Is it possible to have axis offsets without the intersection of x and y axes?
Is it possible to have a reverse axis (eg the larger number at the left with decreasing numbers toward the right on x-axis)?
Hello,
Yes, you can combine pgfplots with beamer - I've done so in the past. I think I've used the '\only' command, but it shouldn't make a difference. In case you have problems, mail them to pgfplots-features@lists.sourceforge.net.
I fear I do not understand the question concerning 'axis offsets'... do you mean that the axis lines go through the origin instead of a bounding box? This is possible...
A reverse axis is possible starting with the developerversion. It will be part of the next stable release. Up to now, there are some work-arounds which involve several manual adjustments. My (old) notes contain the following fragments which can be used as work-arounds, although it would be better to wait for the next version. HEre are the notes anyway:
- 'x dir =-1' -> scale automatically
- x=-5.5cm, yticklabel pos=right, yticklabel style=left
could be a style (combined with x dir)
- the anchor names are now strange - they are mirrored :-(
\begin{tikzpicture}
\begin{axis}[
title={Test},
xlabel={Time [s]},
ylabel={Segment},
x=0.9cm, y=-0.9mm,
%xlabel style={at={(0.5,1)}},
%ylabel style={yshift=-6pt},
%title style={at={(0.5,0)}},
%xticklabel style={yshift=-6mm},
%xticklabel pos=top,
]
\addplot plot coordinates {(0,30) (3,0) };
\end{axis}
\end{tikzpicture}
Probably
means
axis line shift
.Last edit: Symbol 1 2017-06-05