타원과 선 사이의 영역을 채울 수 없습니다(더 작은 영역).

타원과 선 사이의 영역을 채울 수 없습니다(더 작은 영역).

ABC인 호의 전체 영역(더 작은 영역)을 채울 수 없습니다. 호의 일부가 남아 있습니다. 이에 대한 도움을 주십시오. 감사해요...

\documentclass{article}
\usepackage{tikz,pgfplots}
%\usepackage[x11names]{xcolor}
\usepackage{tikz}
\usetikzlibrary{intersections}
\usepackage{pgfplots}\pgfplotsset{compat=newest}
\pgfdeclarelayer{bg}    % declare background
\pgfsetlayers{bg,main}  % order of layers (main = standard layer)
\pgfplotsset{compat=1.13}
\usepackage{amsmath}
\usetikzlibrary{positioning}

\begin{document}
\begin{tikzpicture} 
\draw (0,-2) -- (0,3); 
\draw (-4,0) -- (5,0);
\draw (0,0)circle[x radius = 3 cm , y radius = 1 cm]; % DRAW ELLIPSE 
\draw (3,0)coordinate[label=below:$A$](a); 
\draw (1,1)coordinate[label=above:$B$](b); 
\draw (0,0)coordinate[label=below left:$O$](o) 
(0,1)coordinate[label=left:$C$](c);
\begin{pgfonlayer}{bg} 
\clip plot (0,0)circle[x radius = 3 cm , y radius = 1 cm];
\fill[blue] (a) -- (b) -- (c) -- (a) -- cycle;
\end{pgfonlayer}
\end{tikzpicture} 
\end{document}

답변1

"아크"라고 하면 이런 뜻인가요?

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{intersections}
\pgfdeclarelayer{bg}    % declare background
\pgfsetlayers{bg,main}  % order of layers (main = standard layer)

\begin{document}
\begin{tikzpicture} 
\draw (0,-2) -- (0,3); 
\draw (-4,0) -- (5,0);
\draw (0,0)circle[x radius = 3 cm , y radius = 1 cm]; % DRAW ELLIPSE 
\draw (3,0)coordinate[label=below:$A$](a); 
\draw (1,1)coordinate[label=above:$B$](b); 
\draw (0,0)coordinate[label=below left:$O$](o) 
(0,1)coordinate[label=left:$C$](c);
\begin{pgfonlayer}{bg} 
\clip plot (0,0)circle[x radius = 3 cm , y radius = 1 cm];
\fill[blue] (a) |- (c) --cycle;
\end{pgfonlayer}
\end{tikzpicture} 
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보