filling an intersection between shapes
I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes}
begin{document}
begin{tikzpicture}
node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0,0.7)(RO1){};
node [draw, ellipse, thick, rotate=24, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0.2,-0.5)(RO2){};
node [draw, ellipse, thick, rotate=162, green!50!black, minimum width=8cm, minimum height=4.4cm, align=center] at (-0.7,0.5)(RO5){};
node [draw, ellipse, thick, rotate=235, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-1.33,-0.7)(RO4){};
node [draw, ellipse, thick, rotate=130, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-0.1,-1.5)(RO3){};
end{tikzpicture}
end{document}
tikz-pgf fill clip
add a comment |
I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes}
begin{document}
begin{tikzpicture}
node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0,0.7)(RO1){};
node [draw, ellipse, thick, rotate=24, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0.2,-0.5)(RO2){};
node [draw, ellipse, thick, rotate=162, green!50!black, minimum width=8cm, minimum height=4.4cm, align=center] at (-0.7,0.5)(RO5){};
node [draw, ellipse, thick, rotate=235, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-1.33,-0.7)(RO4){};
node [draw, ellipse, thick, rotate=130, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-0.1,-1.5)(RO3){};
end{tikzpicture}
end{document}
tikz-pgf fill clip
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
I have added image.
– mdf
Jan 6 at 18:43
add a comment |
I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes}
begin{document}
begin{tikzpicture}
node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0,0.7)(RO1){};
node [draw, ellipse, thick, rotate=24, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0.2,-0.5)(RO2){};
node [draw, ellipse, thick, rotate=162, green!50!black, minimum width=8cm, minimum height=4.4cm, align=center] at (-0.7,0.5)(RO5){};
node [draw, ellipse, thick, rotate=235, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-1.33,-0.7)(RO4){};
node [draw, ellipse, thick, rotate=130, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-0.1,-1.5)(RO3){};
end{tikzpicture}
end{document}
tikz-pgf fill clip
I need assistance in finding out how to fill the intersection between the shapes RO1, RO2, RO4, RO5 in the following. Assistance appreciated.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes}
begin{document}
begin{tikzpicture}
node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0,0.7)(RO1){};
node [draw, ellipse, thick, rotate=24, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0.2,-0.5)(RO2){};
node [draw, ellipse, thick, rotate=162, green!50!black, minimum width=8cm, minimum height=4.4cm, align=center] at (-0.7,0.5)(RO5){};
node [draw, ellipse, thick, rotate=235, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-1.33,-0.7)(RO4){};
node [draw, ellipse, thick, rotate=130, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-0.1,-1.5)(RO3){};
end{tikzpicture}
end{document}
tikz-pgf fill clip
tikz-pgf fill clip
edited Jan 6 at 20:41
AndréC
8,39411445
8,39411445
asked Jan 6 at 14:42
mdfmdf
233
233
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
I have added image.
– mdf
Jan 6 at 18:43
add a comment |
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
I have added image.
– mdf
Jan 6 at 18:43
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
I have added image.
– mdf
Jan 6 at 18:43
I have added image.
– mdf
Jan 6 at 18:43
add a comment |
1 Answer
1
active
oldest
votes
I don't have time to explain how I did it because I have to go to lunch (sorry).
Be aware that instead of trying to find the intersection of nodes that is very difficult and complicated, I rewrote the ellipses as a path.
I will explain later if you wish.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes,intersections}
begin{document}
begin{tikzpicture}
defplan{(-5,-5.5)rectangle(5,6)}
defellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
defellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
defellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
defellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
defellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%clipplan;
draw[green!50!black]ellipseone;
draw[green!50!black]ellipsetwo;
draw[green!50!black]ellipsethree;
draw[green!50!black]ellipsefour;
draw[green!50!black]ellipsefive;
clipellipsefour;
clipellipsetwo;
clipellipsefive;
clipellipseone;
fill[orange!80,even odd rule]planellipsethree;
end{tikzpicture}
end{document}
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468828%2ffilling-an-intersection-between-shapes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I don't have time to explain how I did it because I have to go to lunch (sorry).
Be aware that instead of trying to find the intersection of nodes that is very difficult and complicated, I rewrote the ellipses as a path.
I will explain later if you wish.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes,intersections}
begin{document}
begin{tikzpicture}
defplan{(-5,-5.5)rectangle(5,6)}
defellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
defellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
defellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
defellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
defellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%clipplan;
draw[green!50!black]ellipseone;
draw[green!50!black]ellipsetwo;
draw[green!50!black]ellipsethree;
draw[green!50!black]ellipsefour;
draw[green!50!black]ellipsefive;
clipellipsefour;
clipellipsetwo;
clipellipsefive;
clipellipseone;
fill[orange!80,even odd rule]planellipsethree;
end{tikzpicture}
end{document}
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
add a comment |
I don't have time to explain how I did it because I have to go to lunch (sorry).
Be aware that instead of trying to find the intersection of nodes that is very difficult and complicated, I rewrote the ellipses as a path.
I will explain later if you wish.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes,intersections}
begin{document}
begin{tikzpicture}
defplan{(-5,-5.5)rectangle(5,6)}
defellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
defellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
defellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
defellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
defellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%clipplan;
draw[green!50!black]ellipseone;
draw[green!50!black]ellipsetwo;
draw[green!50!black]ellipsethree;
draw[green!50!black]ellipsefour;
draw[green!50!black]ellipsefive;
clipellipsefour;
clipellipsetwo;
clipellipsefive;
clipellipseone;
fill[orange!80,even odd rule]planellipsethree;
end{tikzpicture}
end{document}
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
add a comment |
I don't have time to explain how I did it because I have to go to lunch (sorry).
Be aware that instead of trying to find the intersection of nodes that is very difficult and complicated, I rewrote the ellipses as a path.
I will explain later if you wish.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes,intersections}
begin{document}
begin{tikzpicture}
defplan{(-5,-5.5)rectangle(5,6)}
defellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
defellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
defellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
defellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
defellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%clipplan;
draw[green!50!black]ellipseone;
draw[green!50!black]ellipsetwo;
draw[green!50!black]ellipsethree;
draw[green!50!black]ellipsefour;
draw[green!50!black]ellipsefive;
clipellipsefour;
clipellipsetwo;
clipellipsefive;
clipellipseone;
fill[orange!80,even odd rule]planellipsethree;
end{tikzpicture}
end{document}
I don't have time to explain how I did it because I have to go to lunch (sorry).
Be aware that instead of trying to find the intersection of nodes that is very difficult and complicated, I rewrote the ellipses as a path.
I will explain later if you wish.
documentclass[border=5]{standalone}
usepackage{tikz}
usetikzlibrary{shapes,intersections}
begin{document}
begin{tikzpicture}
defplan{(-5,-5.5)rectangle(5,6)}
defellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
defellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
defellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
defellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
defellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%clipplan;
draw[green!50!black]ellipseone;
draw[green!50!black]ellipsetwo;
draw[green!50!black]ellipsethree;
draw[green!50!black]ellipsefour;
draw[green!50!black]ellipsefive;
clipellipsefour;
clipellipsetwo;
clipellipsefive;
clipellipseone;
fill[orange!80,even odd rule]planellipsethree;
end{tikzpicture}
end{document}
edited Jan 6 at 20:40
answered Jan 6 at 19:13
AndréCAndréC
8,39411445
8,39411445
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
add a comment |
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
1
1
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
that is a nice solution, thank you.
– mdf
Jan 6 at 19:27
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
If this solution has solved your problem, it is customary to accept it. Read: tex.stackexchange.com/help/someone-answers
– AndréC
Jan 6 at 20:34
1
1
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
@AndréC Perfect! Very beautiful.
– Sebastiano
Jan 6 at 23:20
1
1
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
@Sebastiano Thank you, I first looked for how to make the intersection of shape and I found the answer of percusse: tex.stackexchange.com/a/53195/138900 as it is complicated I went to the simplest by adapting this solution: texample.net/tikz/examples/…
– AndréC
Jan 7 at 5:16
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468828%2ffilling-an-intersection-between-shapes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you have seen this as example and the TikZ/pgf guide how to fill an intersection?
– Sebastiano
Jan 6 at 15:47
Can you add a scan of a handmade coloring so that we can agree on the area to color?
– AndréC
Jan 6 at 16:04
I have added image.
– mdf
Jan 6 at 18:43