I'm trying to use the shape "circular sector" pgfman301a, p.706.
- I find no way to change length of axes (should be variable dependent of circle dimension).
- to position "apex" on 0,0
- why "minimum size" doesn't work?
The code:
\documentclass[]{scrartcl}
\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern}
\usepackage[ngerman]{babel} \usepackage[margin=0cm,a4paper]{geometry}
\usepackage[a4,frame,center]{crop}
\usepackage{tikz}
\usetikzlibrary{mindmap,%to get annotations
decorations.fractals,
decorations.pathmorphing,
decorations.text,
positioning,
fadings,lindenmayersystems,shadings,calendar,spy,math,calc,
shapes.geometric,
intersections,
shadows,
fadings,backgrounds}
\begin{document}
\begin{tikzpicture}
\coordinate (circleorig) at (0cm,0cm);
\newdimen\circledim
\tikzmath{ \circledim=8 cm; }%end tikzmath
\tikzset{shape circlesec/.style={bottom color=black!30,
top color=red,
draw,
fill=yellow!30,
line width=0.1pt,
inner xsep=0pt,
inner ysep=0pt,
}
}%end tikzset
%help lines
%\draw [help lines,step=0.5cm] (0,5) grid (8,-8);
\foreach \x in {-8,-7.5,...,8}
\draw [yshift=0 cm](\x,1pt) -- (\x,-1pt) node[anchor=north]{\tiny $\x$};
\foreach \y in {-8,-7.5,...,8}
\draw [yshift=0 cm](1pt,\y) -- (-1pt,\y) node[anchor=east]{\tiny $\y$};
\node [name=j,
shape=circular sector,
style=shape circlesec,
inner sep=0cm,
circular sector angle=30,
shape border uses incircle,
shape border rotate=-105,
%minimum size = 10cm,%has no effect?
]
%at (sector center)
{\fbox{\begin{minipage}{3.5cm}
Januar: Bildung\\
der ersten silikaten\\
Erdrinde bald nach \\
dem prim\"aren,\\
dissonanten Akt.
\end{minipage}}
};
%\draw[shift=(j.south)] plot[mark=x] coordinates{(0,0)}
% node[right] {j.south};
\end{tikzpicture}
\end{document}
minimum size
has no effect because the node is bigger than 10cm. Tryminimum size = 15cm
. I don't know what you call the "apex" but if it is in your case thearc end
anchor, you can setanchor=arc end
.