Squiggles mocking polynomials in TikZ
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
1
How can I draw squiggles in TikZ to mock the plot of polynomials?
tikz-pgf
add a comment |
up vote
3
down vote
favorite
1
How can I draw squiggles in TikZ to mock the plot of polynomials?
tikz-pgf
TikZ understands commands likedraw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.
– marmot
yesterday
add a comment |
up vote
3
down vote
favorite
1
up vote
3
down vote
favorite
1
1
How can I draw squiggles in TikZ to mock the plot of polynomials?
tikz-pgf
How can I draw squiggles in TikZ to mock the plot of polynomials?
tikz-pgf
tikz-pgf
edited yesterday
Peter Mortensen
52336
52336
asked yesterday
qweruiop
27619
27619
TikZ understands commands likedraw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.
– marmot
yesterday
add a comment |
TikZ understands commands likedraw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.
– marmot
yesterday
TikZ understands commands like
draw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.– marmot
yesterday
TikZ understands commands like
draw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.– marmot
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
8
down vote
accepted
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshapes.arrows
begindocument
begintikzpicture
beginscope[local bounding box=left]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth] (2*x,0.7*sin(x*540)+0.4*x+2*(2-Y));
endscope
beginscope[xshift=5cm,local bounding box=right]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth]
(2.5*x+0.5*cos(x*200),-0.7*sin(x*540)+2*(2-Y));
endscope
path (left.east) -- (right.west)
node[midway,font=sffamily,single arrow, draw]randomize;
endtikzpicture
enddocument
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
accepted
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshapes.arrows
begindocument
begintikzpicture
beginscope[local bounding box=left]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth] (2*x,0.7*sin(x*540)+0.4*x+2*(2-Y));
endscope
beginscope[xshift=5cm,local bounding box=right]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth]
(2.5*x+0.5*cos(x*200),-0.7*sin(x*540)+2*(2-Y));
endscope
path (left.east) -- (right.west)
node[midway,font=sffamily,single arrow, draw]randomize;
endtikzpicture
enddocument
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
add a comment |
up vote
8
down vote
accepted
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshapes.arrows
begindocument
begintikzpicture
beginscope[local bounding box=left]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth] (2*x,0.7*sin(x*540)+0.4*x+2*(2-Y));
endscope
beginscope[xshift=5cm,local bounding box=right]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth]
(2.5*x+0.5*cos(x*200),-0.7*sin(x*540)+2*(2-Y));
endscope
path (left.east) -- (right.west)
node[midway,font=sffamily,single arrow, draw]randomize;
endtikzpicture
enddocument
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
add a comment |
up vote
8
down vote
accepted
up vote
8
down vote
accepted
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshapes.arrows
begindocument
begintikzpicture
beginscope[local bounding box=left]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth] (2*x,0.7*sin(x*540)+0.4*x+2*(2-Y));
endscope
beginscope[xshift=5cm,local bounding box=right]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth]
(2.5*x+0.5*cos(x*200),-0.7*sin(x*540)+2*(2-Y));
endscope
path (left.east) -- (right.west)
node[midway,font=sffamily,single arrow, draw]randomize;
endtikzpicture
enddocument
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryshapes.arrows
begindocument
begintikzpicture
beginscope[local bounding box=left]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth] (2*x,0.7*sin(x*540)+0.4*x+2*(2-Y));
endscope
beginscope[xshift=5cm,local bounding box=right]
foreach X [count=Y] in green!60!black,yellow!80!orange,red
draw[X] plot[variable=x,domain=0:1,smooth]
(2.5*x+0.5*cos(x*200),-0.7*sin(x*540)+2*(2-Y));
endscope
path (left.east) -- (right.west)
node[midway,font=sffamily,single arrow, draw]randomize;
endtikzpicture
enddocument
edited yesterday
answered yesterday
marmot
74.8k483159
74.8k483159
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
add a comment |
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
Thanks. There are so much I don't know about tikz...
– qweruiop
yesterday
6
6
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
@qweruiop I guess you are in good company because I think that this statement applies to everyone but at most 5 people (Till Tantau and a few others).
– marmot
yesterday
add a comment |
draft saved
draft discarded
draft saved
draft discarded
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459822%2fsquiggles-mocking-polynomials-in-tikz%23new-answer', 'question_page');
);
Post as a guest
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
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
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
TikZ understands commands like
draw[blue] plot[variable=x,domain=0:1] (2*x+0.4*cos(x*200),-0.7*sin(x*540));
that draw something like your "randomized" plots.– marmot
yesterday