pie chart مخطط قطاعي دائري

📅 April 03, 2024   |   👁️ Views: 73







\documentclass{article}
\usepackage{pgf-pie}
\usepackage{xcolor}

\begin{document}

\begin{figure}[h]
    \centering
    \begin{tikzpicture}
        \pie[text=legend,
            color={blue!20, red!50, green!50, orange!50}]
            {40/A, 30/B, 20/C, 10/D}
    \end{tikzpicture}
    \caption{Example Pie Chart with Custom Colors}
    \label{fig:pie_chart_colors}
\end{figure}
\end{document}


\documentclass{article}
\usepackage{pgf-pie}
\usepackage{xcolor}

\begin{document}

\begin{figure}[h]
    \centering
    \begin{tikzpicture}
        \pie[text=legend,
            color={blue!20, red!50, green!50, orange!50}]
            {40/A, 30/B, 20/C, 10/D}
    \end{tikzpicture}
    \caption{Example Pie Chart with Custom Colors}
    \label{fig:pie_chart_colors}
\end{figure}
\end{document}



Related Courses, Exams, and Exercises


Course PDF:

📥 Download pie chart مخطط قطاعي دائري (PDF)

if you find this content helpful, Please consider supporting me with a small donation
إن وجدت هذا المحتوى مفيدا، من فضلك إدعمني بمبلغ بسيط كتبرع

Buy me a coffee — إشتر لي قهوة

PayPal.me • عبر بايبال

Or bank transfer • أو حوالة بنكية

Titulaire : RADOUAN MOSAID
RIB : 230 090 6501953211022000 65
IBAN : MA64 2300 9065 0195 3211 0220 0065
BIC / SWIFT : CIHMMAMC

QR Code for Bank Transfer