Graphics, Figures & Tables ⇒ filling a region
filling a region
Anybody knoes how to do this?
I have tried several combinations using \clip, \scope etc. without success.
Best regards,
Kent
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10329
- Joined: Mon Mar 10, 2008 9:44 pm
filling a region
start, filling between ellipse and parabola2, adding:
Code: Select all
\begin{scope}
\clip (S) ellipse (\a cm and \b cm);
\filldraw[rotate=90,fill=yellow] (T) parabola (PP2) -- (9,0);
\end{scope}
Stefan
filling a region
May be I was not precise enough to define what I wanted to achieve.
I want the shading to be as indicated in black in the attached file.
Kent
- Attachments
-
- image2017-11-02-191233.pdf
- (51.41 KiB) Downloaded 198 times
- Stefan Kottwitz
- Site Admin
- Posts: 10329
- Joined: Mon Mar 10, 2008 9:44 pm
filling a region
Code: Select all
\begin{scope}
\clip (S) ellipse (\a cm and \b cm);
\filldraw[rotate=90,fill=yellow] (T) parabola (PP2) -- (-5,0);
\filldraw[rotate=90,fill=yellow] (T) parabola (PP) -- ( 5,0);
\end{scope}
filling a region
Your support is highly appreciated.