Plot irregular circle in latexWhat makes the green line unable to reach the corresponding vertex of the...
Wrong Schengen Visa exit stamp on my passport, who can I complain to?
'Overwrote' files, space still occupied, are they lost?
Why cannot a convert make certain statements? I feel they are being pushed away at the same time respect is being given to them
In Bb5 systems against the Sicilian, why does White exchange their b5 bishop without playing a6?
Madrid to London w/ Expired 90/180 days stay as US citizen
how to know this integral finite or infinite
Are all men created equal according to Hinduism? Is this predominant western belief in agreement with the Vedas?
Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?
Travel distance across water in early prehistory
What is the word for a person who destroys monuments?
Wouldn't Kreacher have been able to escape even without following an order?
Amortized Loans seem to benefit the bank more than the customer
Why is belonging not transitive?
How to generate short fixed length cryptographic hashes?
Is it acceptable to use decoupling capacitor ground pad as ground for oscilloscope probe?
Does Forgotten Realms setting count as “High magic”?
Can an infinite series be thought of as adding up "infinitely many" terms?
Persuading players to be less attached to a pre-session 0 character concept
Permutations in Disguise
Is there a theorem in Real analysis similar to Cauchy's theorem in Complex analysis?
How to set a tolerance level for equality constraints
How many people need to succeed in a group check with three people?
What is the difference between an engine skirt and an engine nozzle?
Tips for remembering the order of parameters for ln?
Plot irregular circle in latex
What makes the green line unable to reach the corresponding vertex of the polygon?Typesetting figure in LaTeXHow to plot following graphHow to draw rectangles with cartesian axes and dimensional constraints in TikzHow can I draw the attached picture in LaTeX?Drawing a circle with textDrawing a partitioned circle with a circle in the middleDrawing a graph in LaTeXColoring specific areas in figureHow to draw the following figure in Latex
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How to draw figure of attached file in LaTex?

tikz-pgf
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
How to draw figure of attached file in LaTex?

tikz-pgf
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago
add a comment
|
How to draw figure of attached file in LaTex?

tikz-pgf
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
How to draw figure of attached file in LaTex?

tikz-pgf
tikz-pgf
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 hours ago
Mohsen AvajiMohsen Avaji
162 bronze badges
162 bronze badges
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mohsen Avaji is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago
add a comment
|
1
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago
1
1
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago
add a comment
|
2 Answers
2
active
oldest
votes
Just for fun purposes. Let other experts implement the randomly distorted radii.
documentclass[pstricks]{standalone}
usepackage{pst-node,pst-plot}
begin{document}
pstVerb{realtime srand}%
psLoop{25}{%
begin{pspicture}(-2,-2)(2,2)
curvepnodes[plotpoints=10]{0}{360}{Rand 5 div 1.5 add t PtoC}{P}
psnccurve(0,numexprPnodecount-1){P}
psline[linecolor=red](P0)
psline[linecolor=green](P3)
psline[linecolor=blue](P6)
end{pspicture}}
end{document}

Actually I can make the randomly distorted radii usingcurvepnodesbut this page is too narrow for the extra code.
– Well Harassed Programmer
8 hours ago
1
with packagexfp:fpeval{rand()*5}for real numbers between 0 and 5
– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
add a comment
|
Welcome. You can add random deformations on a smooth plot.
documentclass[tikz,border=3mm]{standalone}
begin{document}
begin{tikzpicture}[declare function={rr=1.5*(1+0.1*rnd);}]
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:rr);
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
(15+8*rnd+120*Y:t);
}
end{tikzpicture}
end{document}

Surely you may animate this, too.
documentclass[tikz,border=3mm]{standalone}
begin{document}
foreach X in {1,...,42}
{begin{tikzpicture}
path[use as bounding box] (-1.8,-1.8) rectangle (1.8,1.8);
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:{1.5*(1+0.1*rnd)});
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
({15+6*(rnd-0.5)+120*Y}:t);
}
end{tikzpicture}}
end{document}

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/4.0/"u003ecc by-sa 4.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
});
}
});
Mohsen Avaji is a new contributor. Be nice, and check out our Code of Conduct.
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%2f508410%2fplot-irregular-circle-in-latex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just for fun purposes. Let other experts implement the randomly distorted radii.
documentclass[pstricks]{standalone}
usepackage{pst-node,pst-plot}
begin{document}
pstVerb{realtime srand}%
psLoop{25}{%
begin{pspicture}(-2,-2)(2,2)
curvepnodes[plotpoints=10]{0}{360}{Rand 5 div 1.5 add t PtoC}{P}
psnccurve(0,numexprPnodecount-1){P}
psline[linecolor=red](P0)
psline[linecolor=green](P3)
psline[linecolor=blue](P6)
end{pspicture}}
end{document}

Actually I can make the randomly distorted radii usingcurvepnodesbut this page is too narrow for the extra code.
– Well Harassed Programmer
8 hours ago
1
with packagexfp:fpeval{rand()*5}for real numbers between 0 and 5
– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
add a comment
|
Just for fun purposes. Let other experts implement the randomly distorted radii.
documentclass[pstricks]{standalone}
usepackage{pst-node,pst-plot}
begin{document}
pstVerb{realtime srand}%
psLoop{25}{%
begin{pspicture}(-2,-2)(2,2)
curvepnodes[plotpoints=10]{0}{360}{Rand 5 div 1.5 add t PtoC}{P}
psnccurve(0,numexprPnodecount-1){P}
psline[linecolor=red](P0)
psline[linecolor=green](P3)
psline[linecolor=blue](P6)
end{pspicture}}
end{document}

Actually I can make the randomly distorted radii usingcurvepnodesbut this page is too narrow for the extra code.
– Well Harassed Programmer
8 hours ago
1
with packagexfp:fpeval{rand()*5}for real numbers between 0 and 5
– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
add a comment
|
Just for fun purposes. Let other experts implement the randomly distorted radii.
documentclass[pstricks]{standalone}
usepackage{pst-node,pst-plot}
begin{document}
pstVerb{realtime srand}%
psLoop{25}{%
begin{pspicture}(-2,-2)(2,2)
curvepnodes[plotpoints=10]{0}{360}{Rand 5 div 1.5 add t PtoC}{P}
psnccurve(0,numexprPnodecount-1){P}
psline[linecolor=red](P0)
psline[linecolor=green](P3)
psline[linecolor=blue](P6)
end{pspicture}}
end{document}

Just for fun purposes. Let other experts implement the randomly distorted radii.
documentclass[pstricks]{standalone}
usepackage{pst-node,pst-plot}
begin{document}
pstVerb{realtime srand}%
psLoop{25}{%
begin{pspicture}(-2,-2)(2,2)
curvepnodes[plotpoints=10]{0}{360}{Rand 5 div 1.5 add t PtoC}{P}
psnccurve(0,numexprPnodecount-1){P}
psline[linecolor=red](P0)
psline[linecolor=green](P3)
psline[linecolor=blue](P6)
end{pspicture}}
end{document}

answered 8 hours ago
Well Harassed ProgrammerWell Harassed Programmer
6,1821 gold badge13 silver badges49 bronze badges
6,1821 gold badge13 silver badges49 bronze badges
Actually I can make the randomly distorted radii usingcurvepnodesbut this page is too narrow for the extra code.
– Well Harassed Programmer
8 hours ago
1
with packagexfp:fpeval{rand()*5}for real numbers between 0 and 5
– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
add a comment
|
Actually I can make the randomly distorted radii usingcurvepnodesbut this page is too narrow for the extra code.
– Well Harassed Programmer
8 hours ago
1
with packagexfp:fpeval{rand()*5}for real numbers between 0 and 5
– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
Actually I can make the randomly distorted radii using
curvepnodes but this page is too narrow for the extra code.– Well Harassed Programmer
8 hours ago
Actually I can make the randomly distorted radii using
curvepnodes but this page is too narrow for the extra code.– Well Harassed Programmer
8 hours ago
1
1
with package
xfp: fpeval{rand()*5} for real numbers between 0 and 5– user187802
8 hours ago
with package
xfp: fpeval{rand()*5} for real numbers between 0 and 5– user187802
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
@user187802: Thank you!
– Well Harassed Programmer
8 hours ago
add a comment
|
Welcome. You can add random deformations on a smooth plot.
documentclass[tikz,border=3mm]{standalone}
begin{document}
begin{tikzpicture}[declare function={rr=1.5*(1+0.1*rnd);}]
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:rr);
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
(15+8*rnd+120*Y:t);
}
end{tikzpicture}
end{document}

Surely you may animate this, too.
documentclass[tikz,border=3mm]{standalone}
begin{document}
foreach X in {1,...,42}
{begin{tikzpicture}
path[use as bounding box] (-1.8,-1.8) rectangle (1.8,1.8);
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:{1.5*(1+0.1*rnd)});
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
({15+6*(rnd-0.5)+120*Y}:t);
}
end{tikzpicture}}
end{document}

add a comment
|
Welcome. You can add random deformations on a smooth plot.
documentclass[tikz,border=3mm]{standalone}
begin{document}
begin{tikzpicture}[declare function={rr=1.5*(1+0.1*rnd);}]
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:rr);
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
(15+8*rnd+120*Y:t);
}
end{tikzpicture}
end{document}

Surely you may animate this, too.
documentclass[tikz,border=3mm]{standalone}
begin{document}
foreach X in {1,...,42}
{begin{tikzpicture}
path[use as bounding box] (-1.8,-1.8) rectangle (1.8,1.8);
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:{1.5*(1+0.1*rnd)});
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
({15+6*(rnd-0.5)+120*Y}:t);
}
end{tikzpicture}}
end{document}

add a comment
|
Welcome. You can add random deformations on a smooth plot.
documentclass[tikz,border=3mm]{standalone}
begin{document}
begin{tikzpicture}[declare function={rr=1.5*(1+0.1*rnd);}]
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:rr);
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
(15+8*rnd+120*Y:t);
}
end{tikzpicture}
end{document}

Surely you may animate this, too.
documentclass[tikz,border=3mm]{standalone}
begin{document}
foreach X in {1,...,42}
{begin{tikzpicture}
path[use as bounding box] (-1.8,-1.8) rectangle (1.8,1.8);
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:{1.5*(1+0.1*rnd)});
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
({15+6*(rnd-0.5)+120*Y}:t);
}
end{tikzpicture}}
end{document}

Welcome. You can add random deformations on a smooth plot.
documentclass[tikz,border=3mm]{standalone}
begin{document}
begin{tikzpicture}[declare function={rr=1.5*(1+0.1*rnd);}]
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:rr);
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
(15+8*rnd+120*Y:t);
}
end{tikzpicture}
end{document}

Surely you may animate this, too.
documentclass[tikz,border=3mm]{standalone}
begin{document}
foreach X in {1,...,42}
{begin{tikzpicture}
path[use as bounding box] (-1.8,-1.8) rectangle (1.8,1.8);
draw[clip] plot[smooth cycle,variable=t,samples at={0,45,...,315}] (t:{1.5*(1+0.1*rnd)});
foreach X [count=Y starting from 0] in {red,blue,green!70!black}
{draw[X] plot[smooth,variable=t,samples at={0,0.25,...,1.75}]
({15+6*(rnd-0.5)+120*Y}:t);
}
end{tikzpicture}}
end{document}

edited 8 hours ago
answered 9 hours ago
Schrödinger's catSchrödinger's cat
7,25011 silver badges22 bronze badges
7,25011 silver badges22 bronze badges
add a comment
|
add a comment
|
Mohsen Avaji is a new contributor. Be nice, and check out our Code of Conduct.
Mohsen Avaji is a new contributor. Be nice, and check out our Code of Conduct.
Mohsen Avaji is a new contributor. Be nice, and check out our Code of Conduct.
Mohsen Avaji is a new contributor. Be nice, and check out our Code of Conduct.
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%2f508410%2fplot-irregular-circle-in-latex%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
1
Welcome to TeX.SX. Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document.
– Stefan Pinnow
9 hours ago