Problem with fill colorTikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationTikZ scaling graphic and adjust node position and keep font sizeAsymptote: 3D fill color is undesiredFill color with tikzpictureFill color intersectionsHow can I color fill the annulus with tikz?pgfplots - Problem with the fill commandTikZ fill using draw colorHow to fill a right-angle mark with a color?
Expand and Contract
Why would the Red Woman birth a shadow if she worshipped the Lord of the Light?
Arrow those variables!
Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?
How writing a dominant 7 sus4 chord in RNA ( Vsus7 chord in the 1st inversion)
Is there a hemisphere-neutral way of specifying a season?
Detention in 1997
Little known, relatively unlikely, but scientifically plausible, apocalyptic (or near apocalyptic) events
Watching something be piped to a file live with tail
Personal Teleportation: From Rags to Riches
Avoiding the "not like other girls" trope?
Why no variance term in Bayesian logistic regression?
Why doesn't using multiple commands with a || or && conditional work?
Forgetting the musical notes while performing in concert
What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?
Ambiguity in the definition of entropy
Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?
What mechanic is there to disable a threat instead of killing it?
A category-like structure without composition?
How do I gain back my faith in my PhD degree?
How do I deal with an unproductive colleague in a small company?
Solving a recurrence relation (poker chips)
Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?
Alternative to sending password over mail?
Problem with fill color
TikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationTikZ scaling graphic and adjust node position and keep font sizeAsymptote: 3D fill color is undesiredFill color with tikzpictureFill color intersectionsHow can I color fill the annulus with tikz?pgfplots - Problem with the fill commandTikZ fill using draw colorHow to fill a right-angle mark with a color?
I use the following command to create regular polygons. The 5th argument is there to insert options for styling the polygons. Though the line width is 0.3mm as I set it, it looks like the fill=red
option is not accepted.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
I don't know if the structure of the command is not allowing any other option.
tikz-pgf tikz-styles fill polygon
add a comment |
I use the following command to create regular polygons. The 5th argument is there to insert options for styling the polygons. Though the line width is 0.3mm as I set it, it looks like the fill=red
option is not accepted.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
I don't know if the structure of the command is not allowing any other option.
tikz-pgf tikz-styles fill polygon
Indraw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), sofill=red
is useless here. It is not clear what you want to fill. Do you want(0,0)
in place of(cycle)
here?
– Kpym
2 days ago
I want to fill the area inside the polygon and I thought that it can be done troughdraw
command.
– mac
2 days ago
add a comment |
I use the following command to create regular polygons. The 5th argument is there to insert options for styling the polygons. Though the line width is 0.3mm as I set it, it looks like the fill=red
option is not accepted.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
I don't know if the structure of the command is not allowing any other option.
tikz-pgf tikz-styles fill polygon
I use the following command to create regular polygons. The 5th argument is there to insert options for styling the polygons. Though the line width is 0.3mm as I set it, it looks like the fill=red
option is not accepted.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
I don't know if the structure of the command is not allowing any other option.
tikz-pgf tikz-styles fill polygon
tikz-pgf tikz-styles fill polygon
asked 2 days ago
macmac
732716
732716
Indraw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), sofill=red
is useless here. It is not clear what you want to fill. Do you want(0,0)
in place of(cycle)
here?
– Kpym
2 days ago
I want to fill the area inside the polygon and I thought that it can be done troughdraw
command.
– mac
2 days ago
add a comment |
Indraw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), sofill=red
is useless here. It is not clear what you want to fill. Do you want(0,0)
in place of(cycle)
here?
– Kpym
2 days ago
I want to fill the area inside the polygon and I thought that it can be done troughdraw
command.
– mac
2 days ago
In
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), so fill=red
is useless here. It is not clear what you want to fill. Do you want (0,0)
in place of (cycle)
here?– Kpym
2 days ago
In
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), so fill=red
is useless here. It is not clear what you want to fill. Do you want (0,0)
in place of (cycle)
here?– Kpym
2 days ago
I want to fill the area inside the polygon and I thought that it can be done trough
draw
command.– mac
2 days ago
I want to fill the area inside the polygon and I thought that it can be done trough
draw
command.– mac
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
I am wondering why you don't follow approaches like this
documentclassarticle
usepackageamsmath,tikz
usetikzlibraryshapes
newcommandpolygon[5][]%
node[draw,#5,regular polygon,regular polygon sides=#2,minimum size=2*#3cm] (p) ;
foreach i[count=j] in #4
path (p.center)--(p.corner j) node[pos=1.2] $i$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
However, I think you should not define a macro for this.
If you want to follow your way, Kpym has given you the right way: use (0,0)
instead of cycle
. However, one has to do a bit more. Also, there will be a very thin white line.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]%
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
fill[#5] (x:#3) -- (x + angle:#3) -- (0,0);
draw[#5] (x:#3) -- (x + angle:#3);
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet nearGamma
? There is a strange closure of the exagon.
– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
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%2f482549%2fproblem-with-fill-color%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 am wondering why you don't follow approaches like this
documentclassarticle
usepackageamsmath,tikz
usetikzlibraryshapes
newcommandpolygon[5][]%
node[draw,#5,regular polygon,regular polygon sides=#2,minimum size=2*#3cm] (p) ;
foreach i[count=j] in #4
path (p.center)--(p.corner j) node[pos=1.2] $i$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
However, I think you should not define a macro for this.
If you want to follow your way, Kpym has given you the right way: use (0,0)
instead of cycle
. However, one has to do a bit more. Also, there will be a very thin white line.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]%
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
fill[#5] (x:#3) -- (x + angle:#3) -- (0,0);
draw[#5] (x:#3) -- (x + angle:#3);
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet nearGamma
? There is a strange closure of the exagon.
– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
add a comment |
I am wondering why you don't follow approaches like this
documentclassarticle
usepackageamsmath,tikz
usetikzlibraryshapes
newcommandpolygon[5][]%
node[draw,#5,regular polygon,regular polygon sides=#2,minimum size=2*#3cm] (p) ;
foreach i[count=j] in #4
path (p.center)--(p.corner j) node[pos=1.2] $i$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
However, I think you should not define a macro for this.
If you want to follow your way, Kpym has given you the right way: use (0,0)
instead of cycle
. However, one has to do a bit more. Also, there will be a very thin white line.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]%
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
fill[#5] (x:#3) -- (x + angle:#3) -- (0,0);
draw[#5] (x:#3) -- (x + angle:#3);
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet nearGamma
? There is a strange closure of the exagon.
– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
add a comment |
I am wondering why you don't follow approaches like this
documentclassarticle
usepackageamsmath,tikz
usetikzlibraryshapes
newcommandpolygon[5][]%
node[draw,#5,regular polygon,regular polygon sides=#2,minimum size=2*#3cm] (p) ;
foreach i[count=j] in #4
path (p.center)--(p.corner j) node[pos=1.2] $i$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
However, I think you should not define a macro for this.
If you want to follow your way, Kpym has given you the right way: use (0,0)
instead of cycle
. However, one has to do a bit more. Also, there will be a very thin white line.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]%
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
fill[#5] (x:#3) -- (x + angle:#3) -- (0,0);
draw[#5] (x:#3) -- (x + angle:#3);
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
I am wondering why you don't follow approaches like this
documentclassarticle
usepackageamsmath,tikz
usetikzlibraryshapes
newcommandpolygon[5][]%
node[draw,#5,regular polygon,regular polygon sides=#2,minimum size=2*#3cm] (p) ;
foreach i[count=j] in #4
path (p.center)--(p.corner j) node[pos=1.2] $i$;
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
However, I think you should not define a macro for this.
If you want to follow your way, Kpym has given you the right way: use (0,0)
instead of cycle
. However, one has to do a bit more. Also, there will be a very thin white line.
documentclassarticle
usepackageamsmath,tikz,tkz-euclide,pgfplots,calculator
newcommandpolygon[5][]%
pgfmathsetmacroangle360/#2
pgfmathsetmacroa(#2-1)/2
FLOORasol
pgfmathsetmacrostartangle-90 + angle/2
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
fill[#5] (x:#3) -- (x + angle:#3) -- (0,0);
draw[#5] (x:#3) -- (x + angle:#3);
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
foreach [count=i] j in #4
pgfmathsetmacroxstartangle - angle*(i+sol)
node[anchor=center] at (x:#3+.3) $j$;
foreach i in 1,2,...,#2
pgfmathsetmacroxstartangle + angle*i
tkzDefPoint(x:#3)A_#2
tkzDrawPoint(A_#2)
begindocument
begintikzpicture
draw[line width=0.3mm] (0,0) circle (1);
polygon[]61A,B,varGamma,varDelta,E,Zline width=0.3mm,fill=red
endtikzpicture
enddocument
edited 2 days ago
answered 2 days ago
JouleVJouleV
10.3k22558
10.3k22558
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet nearGamma
? There is a strange closure of the exagon.
– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
add a comment |
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet nearGamma
? There is a strange closure of the exagon.
– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
1
1
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
The first sulotion is neat and simple. I had no idea that there was a ready to use option for regular polygons. Also I realised, as Kpym mentioned, that each time I was drawing the same segment twice, so there was no polygon to fill.
– mac
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet near
Gamma
? There is a strange closure of the exagon.– Sebastiano
2 days ago
My upvoted surely. Can you put, please, in first plane the gray bullet near
Gamma
? There is a strange closure of the exagon.– Sebastiano
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@Sebastiano I will add in a while. However, I don't see anything strange.
– JouleV
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
@JouleV In the 2nd picture (2nd code).
– Sebastiano
2 days ago
1
1
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
Ah, ok, I will find some ways to solve. Anyway that way is not recommended clearly.
– JouleV
2 days ago
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%2f482549%2fproblem-with-fill-color%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
In
draw[#5] (x:#3) -- (x + angle:#3) -- cycle;
you have nothing to fill (this is just a segment drawn twice), sofill=red
is useless here. It is not clear what you want to fill. Do you want(0,0)
in place of(cycle)
here?– Kpym
2 days ago
I want to fill the area inside the polygon and I thought that it can be done trough
draw
command.– mac
2 days ago