Fite
27-08-2013, 13:45
Hallo Leute,
ich möchte gerne ein Kreissegment mit einem Radius von 20cm durch die inneren Eckpunkte von den beiden Recktecken legen (siehe Minimalbeispiel). Der Kreis soll aber nur innerhalb der beiden Eckpunkte liegen und das drumherum soll abgeschnitt werden. Wie kriege ich das am besten hin? Ich weiß, ist nicht ganz trivial... VG, Fite
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{figure}[htbp]
\centering
\begin{tikzpicture}[scale=0.4]
% Links
\draw [very thick] (-1,-0.09)--(-1.87,9.87)--(-0.87,9.96)--(0,0)--(-1,-0.09);
\draw [very thick] (-0.5,-0.04)--(-1.37,9.92);
\draw [very thick] (1.5,0)--(2.5,-0.09)--(3.37,9.87)--(2.37,9.96)--(1.5,0);
\draw [very thick] (2,-0.04)--(2.87,9.92);
\draw [very thick] (-1.04,0.41)--(-0.04,0.5);
\draw [very thick] (-1.08,0.91)--(-0.09,1);
\draw [very thick] (-1.13,1.41)--(-0.13,1.49);
\draw [very thick] (-1.17,1.91)--(-0.17,1.99);
\draw [very thick] (-1.21,2.4)--(-0.22,2.49);
\draw [very thick] (-1.26,2.9)--(-0.26,2.99);
\draw [very thick] (-1.3,3.4)--(-0.31,3.49);
\draw [very thick] (-1.34,3.9)--(-0.35,3.98);
\draw [very thick] (-1.39,4.4)--(-0.39,4.48);
\draw [very thick] (-1.43,4.89)--(-0.44,4.98);
\draw [very thick] (-1.48,5.39)--(-0.48,5.48);
\draw [very thick] (-1.52,5.89)--(-0.52,5.98);
\draw [very thick] (-1.56,6.39)--(-0.57,6.48);
\draw [very thick] (-1.61,6.89)--(-0.61,6.97);
\draw [very thick] (-1.65,7.38)--(-0.65,7.47);
\draw [very thick] (-1.69,7.88)--(-0.7,7.97);
\draw [very thick] (-1.74,8.38)--(-0.74,8.47);
\draw [very thick] (-1.78,8.88)--(-0.78,8.97);
\draw [very thick] (-1.82,9.38)--(-0.83,9.46);
% Rechts
\draw [very thick] (1.54,0.5)--(2.54,0.41);
\draw [very thick] (1.69,1)--(2.58,0.91);
\draw [very thick] (1.63,1.49)--(2.63,1.41);
\draw [very thick] (1.67,1.99)--(2.67,1.91);
\draw [very thick] (1.72,2.49)--(2.71,2.4);
\draw [very thick] (1.76,2.99)--(2.76,2.9);
\draw [very thick] (1.81,3.49)--(2.8,3.4);
\draw [very thick] (1.85,3.98)--(2.84,3.9);
\draw [very thick] (1.89,4.48)--(2.89,4.4);
\draw [very thick] (1.94,4.98)--(2.93,4.89);
\draw [very thick] (1.98,5.48)--(2.98,5.39);
\draw [very thick] (2.02,5.98)--(3.02,5.89);
\draw [very thick] (2.07,6.48)--(3.06,6.39);
\draw [very thick] (2.11,6.97)--(3.11,6.89);
\draw [very thick] (2.15,7.47)--(3.15,7.38);
\draw [very thick] (2.2,7.97)--(3.19,7.88);
\draw [very thick] (2.24,8.47)--(3.24,8.38);
\draw [very thick] (2.28,8.97)--(3.28,8.88);
\draw [very thick] (2.33,9.46)--(3.32,9.38);
% Mitte
\draw [very thick] (1.04,0.01)--(1.04,0.51)--(1.14,1.01)--(1.18,1.51)--(1.29,4.5)--(1.39,5)--(1.52,5.5)--(1.66,8.49)--(1.75,8.99)--(1.86,9.99);
\draw [very thick] (0.75,1.01)--(0.75,1.51)--(0.75,4.51)--(0.68,5.01)--(0.52,5.51)--(0.47,8.01)--(0.4,8.5)--(0.32,9)--(0.25,10);
\draw [very thick] (1.02,5.01)--(1.02,5.51)--(1.05,8.01)--(1.15,8.5)--(1.25,9)--(1.33,10);
\draw [very thick] (0.75,8.51)--(0.75,10.01);
\draw [very thick] (0.46,0.01)--(0.46,0.51)--(0.36,1.01)--(0.32,1.51)--(0.21,4.5)--(0.18,5)--(0.02,5.5)--(-0.14,8.49)--(-0.18,8.99)--(-0.27,9.99);
% Versetzungen
\draw [very thick] (0.6,0.7)--(0.9,0.7);
\draw [very thick] (0.75,0.7)--(0.75,0.9);
\draw [very thick] (0.87,4.7)--(1.17,4.7);
\draw [very thick] (1.02,4.7)--(1.02,4.9);
\draw [very thick] (0.6,8.2)--(0.9,8.2);
\draw [very thick] (0.75,8.2)--(0.75,8.4);
% Kreis
\draw (0.75,-19.99) circle(20cm);
\end{tikzpicture}
\end{figure}
\end{document}
ich möchte gerne ein Kreissegment mit einem Radius von 20cm durch die inneren Eckpunkte von den beiden Recktecken legen (siehe Minimalbeispiel). Der Kreis soll aber nur innerhalb der beiden Eckpunkte liegen und das drumherum soll abgeschnitt werden. Wie kriege ich das am besten hin? Ich weiß, ist nicht ganz trivial... VG, Fite
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{figure}[htbp]
\centering
\begin{tikzpicture}[scale=0.4]
% Links
\draw [very thick] (-1,-0.09)--(-1.87,9.87)--(-0.87,9.96)--(0,0)--(-1,-0.09);
\draw [very thick] (-0.5,-0.04)--(-1.37,9.92);
\draw [very thick] (1.5,0)--(2.5,-0.09)--(3.37,9.87)--(2.37,9.96)--(1.5,0);
\draw [very thick] (2,-0.04)--(2.87,9.92);
\draw [very thick] (-1.04,0.41)--(-0.04,0.5);
\draw [very thick] (-1.08,0.91)--(-0.09,1);
\draw [very thick] (-1.13,1.41)--(-0.13,1.49);
\draw [very thick] (-1.17,1.91)--(-0.17,1.99);
\draw [very thick] (-1.21,2.4)--(-0.22,2.49);
\draw [very thick] (-1.26,2.9)--(-0.26,2.99);
\draw [very thick] (-1.3,3.4)--(-0.31,3.49);
\draw [very thick] (-1.34,3.9)--(-0.35,3.98);
\draw [very thick] (-1.39,4.4)--(-0.39,4.48);
\draw [very thick] (-1.43,4.89)--(-0.44,4.98);
\draw [very thick] (-1.48,5.39)--(-0.48,5.48);
\draw [very thick] (-1.52,5.89)--(-0.52,5.98);
\draw [very thick] (-1.56,6.39)--(-0.57,6.48);
\draw [very thick] (-1.61,6.89)--(-0.61,6.97);
\draw [very thick] (-1.65,7.38)--(-0.65,7.47);
\draw [very thick] (-1.69,7.88)--(-0.7,7.97);
\draw [very thick] (-1.74,8.38)--(-0.74,8.47);
\draw [very thick] (-1.78,8.88)--(-0.78,8.97);
\draw [very thick] (-1.82,9.38)--(-0.83,9.46);
% Rechts
\draw [very thick] (1.54,0.5)--(2.54,0.41);
\draw [very thick] (1.69,1)--(2.58,0.91);
\draw [very thick] (1.63,1.49)--(2.63,1.41);
\draw [very thick] (1.67,1.99)--(2.67,1.91);
\draw [very thick] (1.72,2.49)--(2.71,2.4);
\draw [very thick] (1.76,2.99)--(2.76,2.9);
\draw [very thick] (1.81,3.49)--(2.8,3.4);
\draw [very thick] (1.85,3.98)--(2.84,3.9);
\draw [very thick] (1.89,4.48)--(2.89,4.4);
\draw [very thick] (1.94,4.98)--(2.93,4.89);
\draw [very thick] (1.98,5.48)--(2.98,5.39);
\draw [very thick] (2.02,5.98)--(3.02,5.89);
\draw [very thick] (2.07,6.48)--(3.06,6.39);
\draw [very thick] (2.11,6.97)--(3.11,6.89);
\draw [very thick] (2.15,7.47)--(3.15,7.38);
\draw [very thick] (2.2,7.97)--(3.19,7.88);
\draw [very thick] (2.24,8.47)--(3.24,8.38);
\draw [very thick] (2.28,8.97)--(3.28,8.88);
\draw [very thick] (2.33,9.46)--(3.32,9.38);
% Mitte
\draw [very thick] (1.04,0.01)--(1.04,0.51)--(1.14,1.01)--(1.18,1.51)--(1.29,4.5)--(1.39,5)--(1.52,5.5)--(1.66,8.49)--(1.75,8.99)--(1.86,9.99);
\draw [very thick] (0.75,1.01)--(0.75,1.51)--(0.75,4.51)--(0.68,5.01)--(0.52,5.51)--(0.47,8.01)--(0.4,8.5)--(0.32,9)--(0.25,10);
\draw [very thick] (1.02,5.01)--(1.02,5.51)--(1.05,8.01)--(1.15,8.5)--(1.25,9)--(1.33,10);
\draw [very thick] (0.75,8.51)--(0.75,10.01);
\draw [very thick] (0.46,0.01)--(0.46,0.51)--(0.36,1.01)--(0.32,1.51)--(0.21,4.5)--(0.18,5)--(0.02,5.5)--(-0.14,8.49)--(-0.18,8.99)--(-0.27,9.99);
% Versetzungen
\draw [very thick] (0.6,0.7)--(0.9,0.7);
\draw [very thick] (0.75,0.7)--(0.75,0.9);
\draw [very thick] (0.87,4.7)--(1.17,4.7);
\draw [very thick] (1.02,4.7)--(1.02,4.9);
\draw [very thick] (0.6,8.2)--(0.9,8.2);
\draw [very thick] (0.75,8.2)--(0.75,8.4);
% Kreis
\draw (0.75,-19.99) circle(20cm);
\end{tikzpicture}
\end{figure}
\end{document}