Heat equation: Squiggly linesRotate a node but not its content: the case of the ellipse decorationPushing text below an absolutely positioned boxTikZ/ERD: node (=Entity) label on the insideHow to find location of position of nodes in TikZ graph automatically to use?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themPgfplots 3d Arc ArrowHow to draw a 3d horseshoe in TikZMaking arrow with a gradual colour

A Non Math Puzzle. What is the middle number?

Should I not go forward with internship interview process if I don't have the time to prepare properly?

Bitcoin successfully deducted on sender wallet but did not reach receiver wallet

How much maintenance time did it take to make an F4U Corsair ready for another flight?

Why aren't rainbows blurred-out into nothing after they are produced?

How can Radagast come across Gandalf and Thorin's company?

Markov-chain sentence generator in Python

Heating Margarine in Pan = loss of calories?

Word for an event that will likely never happen again

Can a PC use the Levitate spell to avoid movement speed reduction from exhaustion?

How can this older-style irrigation tee be replaced?

Heat equation: Squiggly lines

Solution to German Tank Problem

Understanding the point of a kölsche Witz

Do beef farmed pastures net remove carbon emissions?

Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?

The cat ate your input again!

When were the tantalum capacitors first used in computing?

If "more guns less crime", how do gun advocates explain that the EU has less crime than the US?

What gave Harry Potter the idea of writing in Tom Riddle's diary?

U.S. Jurisdiction over Virgin Islands

How to assign many blockers at the same time?

Super Duper Vdd stiffening required on 555 timer, what is the best way?

Are 变 and 変 the same?



Heat equation: Squiggly lines


Rotate a node but not its content: the case of the ellipse decorationPushing text below an absolutely positioned boxTikZ/ERD: node (=Entity) label on the insideHow to find location of position of nodes in TikZ graph automatically to use?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themPgfplots 3d Arc ArrowHow to draw a 3d horseshoe in TikZMaking arrow with a gradual colour






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








8















I am working on recreating an image of an heat equation as shown below



enter image description here



I have mostly been successful, however I am still not sure how to add the squiggly lines. Is there also an easier way to make sure the labels 1,0,and 1, are properly aligned? In the figure they have the same baseline, but in my graph they vary.



Any other improvements or ways to create the displayed image are appreciated as always



enter image description here



Code



documentclass[tikz]standalone
usetikzlibrarypositioning

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) node [pos=0.5,label=below:colorUiT-red$u=g$]
(xmax,0) -- (xmax,ymax) node [pos=0.5,label=right:colorUiT-red$u=0$]
(xmax,ymax) -- (0,ymax) node [pos=0.5,label=above:colorUiT-red$u=0$]
(0,ymax) -- (0,0) node [pos=0.5,label= left:colorUiT-red$u=0$];
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
node[below left] (0,0) $0$;
node[label=left:$1$] (s2) at (0,ymax) ;
node[label=below:$1$] (s4) at (xmax,0) ;
endtikzpicture
enddocument









share|improve this question



















  • 2





    You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

    – Skillmon
    17 hours ago











  • You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

    – Zarko
    17 hours ago











  • How is the first figure an "image of an heat equation"?

    – rafa11111
    6 hours ago

















8















I am working on recreating an image of an heat equation as shown below



enter image description here



I have mostly been successful, however I am still not sure how to add the squiggly lines. Is there also an easier way to make sure the labels 1,0,and 1, are properly aligned? In the figure they have the same baseline, but in my graph they vary.



Any other improvements or ways to create the displayed image are appreciated as always



enter image description here



Code



documentclass[tikz]standalone
usetikzlibrarypositioning

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) node [pos=0.5,label=below:colorUiT-red$u=g$]
(xmax,0) -- (xmax,ymax) node [pos=0.5,label=right:colorUiT-red$u=0$]
(xmax,ymax) -- (0,ymax) node [pos=0.5,label=above:colorUiT-red$u=0$]
(0,ymax) -- (0,0) node [pos=0.5,label= left:colorUiT-red$u=0$];
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
node[below left] (0,0) $0$;
node[label=left:$1$] (s2) at (0,ymax) ;
node[label=below:$1$] (s4) at (xmax,0) ;
endtikzpicture
enddocument









share|improve this question



















  • 2





    You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

    – Skillmon
    17 hours ago











  • You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

    – Zarko
    17 hours ago











  • How is the first figure an "image of an heat equation"?

    – rafa11111
    6 hours ago













8












8








8


2






I am working on recreating an image of an heat equation as shown below



enter image description here



I have mostly been successful, however I am still not sure how to add the squiggly lines. Is there also an easier way to make sure the labels 1,0,and 1, are properly aligned? In the figure they have the same baseline, but in my graph they vary.



Any other improvements or ways to create the displayed image are appreciated as always



enter image description here



Code



documentclass[tikz]standalone
usetikzlibrarypositioning

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) node [pos=0.5,label=below:colorUiT-red$u=g$]
(xmax,0) -- (xmax,ymax) node [pos=0.5,label=right:colorUiT-red$u=0$]
(xmax,ymax) -- (0,ymax) node [pos=0.5,label=above:colorUiT-red$u=0$]
(0,ymax) -- (0,0) node [pos=0.5,label= left:colorUiT-red$u=0$];
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
node[below left] (0,0) $0$;
node[label=left:$1$] (s2) at (0,ymax) ;
node[label=below:$1$] (s4) at (xmax,0) ;
endtikzpicture
enddocument









share|improve this question














I am working on recreating an image of an heat equation as shown below



enter image description here



I have mostly been successful, however I am still not sure how to add the squiggly lines. Is there also an easier way to make sure the labels 1,0,and 1, are properly aligned? In the figure they have the same baseline, but in my graph they vary.



Any other improvements or ways to create the displayed image are appreciated as always



enter image description here



Code



documentclass[tikz]standalone
usetikzlibrarypositioning

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) node [pos=0.5,label=below:colorUiT-red$u=g$]
(xmax,0) -- (xmax,ymax) node [pos=0.5,label=right:colorUiT-red$u=0$]
(xmax,ymax) -- (0,ymax) node [pos=0.5,label=above:colorUiT-red$u=0$]
(0,ymax) -- (0,0) node [pos=0.5,label= left:colorUiT-red$u=0$];
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
node[below left] (0,0) $0$;
node[label=left:$1$] (s2) at (0,ymax) ;
node[label=below:$1$] (s4) at (xmax,0) ;
endtikzpicture
enddocument






tikz-pgf tikz-arrows






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 17 hours ago









N3buchadnezzarN3buchadnezzar

4,7135 gold badges42 silver badges97 bronze badges




4,7135 gold badges42 silver badges97 bronze badges










  • 2





    You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

    – Skillmon
    17 hours ago











  • You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

    – Zarko
    17 hours ago











  • How is the first figure an "image of an heat equation"?

    – rafa11111
    6 hours ago












  • 2





    You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

    – Skillmon
    17 hours ago











  • You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

    – Zarko
    17 hours ago











  • How is the first figure an "image of an heat equation"?

    – rafa11111
    6 hours ago







2




2





You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

– Skillmon
17 hours ago





You can create squiggly lines with something like draw (0,0) to[out=90, in=-90] (1,1);.

– Skillmon
17 hours ago













You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

– Zarko
17 hours ago





You may use pin and redefine pin on way as is described in 17.10.3 The Pin Option in TikZ & PGFmanula, pp 249 (v 3.1.4b)

– Zarko
17 hours ago













How is the first figure an "image of an heat equation"?

– rafa11111
6 hours ago





How is the first figure an "image of an heat equation"?

– rafa11111
6 hours ago










2 Answers
2






active

oldest

votes


















9














Very similar to Skillmons answer (in that this uses in and out).



documentclass[tikz]standalone
usetikzlibrarypositioning,arrows.meta,bending

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) coordinate[pos=0.6] (p1) node[pos=0.5,UiT-red,below=1em](u1)$u=g$
(xmax,0) -- (xmax,ymax) coordinate[pos=0.6] (p2) node[pos=0.5,UiT-red,right=1em](u2)$u=0$
(xmax,ymax) -- (0,ymax) coordinate[pos=0.6] (p3) node[pos=0.5,UiT-red,above=1em](u3)$u=0$
(0,ymax) -- (0,0) coordinate[pos=0.6] (p4) node[pos=0.5,UiT-red,left=1em](u4)$u=0$;
foreach X in 1,...,4
draw[-Stealth[bend],UiT-red] (uX) to[out=X*90,in=X*90-180] (pX);
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
path (0,0) node[below left] $0$
(0,ymax) node[left] $1$ (xmax,0) node[below] $1$;
endtikzpicture
enddocument


enter image description here






share|improve this answer



























  • Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

    – N3buchadnezzar
    16 hours ago











  • @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

    – user121799
    16 hours ago











  • I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

    – N3buchadnezzar
    16 hours ago


















6














Packing the lines into it with to and the out and in keys (quick and dirty).



documentclass[tikz]standalone
usetikzlibrarypositioning

definecolorUiT-mainHTML003349
definecolorUiT-blueHTML007396
definecolorUiT-redHTMLCB333B

begindocument
begintikzpicture
defxmax2defymax2
% Shade the box
shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
% Draw the border of the box and add labels
draw [color=UiT-blue]
(0,0) -- (xmax,0) node
[pos=0.5,label=below:colorUiT-red$u=g$](b)
(xmax,0) -- (xmax,ymax) node
[pos=0.5,label=right:colorUiT-red$u=1$](r)
(xmax,ymax) -- (0,ymax) node
[pos=0.5,label=above:colorUiT-red$u=2$](t)
(0,ymax) -- (0,0) node [pos=0.5,label=
left:colorUiT-red$u=3$](l);
% Add the S in the centre
path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
% Draw the axis
draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
% Label the axis
node[below left] (0,0) $0$;
node[label=left:$1$] (s2) at (0,ymax) ;
node[label=below:$1$] (s4) at (xmax,0) ;
%
draw[<-,UiT-red] (b.center)++(.1,-0.01) to[out=-90,in=90] ++(-0.2,-0.25);
draw[<-,UiT-red] (r.center)++(.01,+0.1) to[out=0,in=180] ++(0.25,-0.2);
draw[<-,UiT-red] (t.center)++(.1,0.01) to[out=90,in=-90] ++(-0.2,0.25);
draw[<-,UiT-red] (l.center)++(-.01,+0.1) to[out=180,in=0] ++(-0.25,-0.2);
endtikzpicture
enddocument


enter image description here






share|improve this answer



























    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f503898%2fheat-equation-squiggly-lines%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









    9














    Very similar to Skillmons answer (in that this uses in and out).



    documentclass[tikz]standalone
    usetikzlibrarypositioning,arrows.meta,bending

    definecolorUiT-mainHTML003349
    definecolorUiT-blueHTML007396
    definecolorUiT-redHTMLCB333B

    begindocument
    begintikzpicture
    defxmax2defymax2
    % Shade the box
    shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
    % Draw the border of the box and add labels
    draw [color=UiT-blue]
    (0,0) -- (xmax,0) coordinate[pos=0.6] (p1) node[pos=0.5,UiT-red,below=1em](u1)$u=g$
    (xmax,0) -- (xmax,ymax) coordinate[pos=0.6] (p2) node[pos=0.5,UiT-red,right=1em](u2)$u=0$
    (xmax,ymax) -- (0,ymax) coordinate[pos=0.6] (p3) node[pos=0.5,UiT-red,above=1em](u3)$u=0$
    (0,ymax) -- (0,0) coordinate[pos=0.6] (p4) node[pos=0.5,UiT-red,left=1em](u4)$u=0$;
    foreach X in 1,...,4
    draw[-Stealth[bend],UiT-red] (uX) to[out=X*90,in=X*90-180] (pX);
    % Add the S in the centre
    path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
    % Draw the axis
    draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
    draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
    % Label the axis
    path (0,0) node[below left] $0$
    (0,ymax) node[left] $1$ (xmax,0) node[below] $1$;
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer



























    • Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

      – N3buchadnezzar
      16 hours ago











    • @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

      – user121799
      16 hours ago











    • I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

      – N3buchadnezzar
      16 hours ago















    9














    Very similar to Skillmons answer (in that this uses in and out).



    documentclass[tikz]standalone
    usetikzlibrarypositioning,arrows.meta,bending

    definecolorUiT-mainHTML003349
    definecolorUiT-blueHTML007396
    definecolorUiT-redHTMLCB333B

    begindocument
    begintikzpicture
    defxmax2defymax2
    % Shade the box
    shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
    % Draw the border of the box and add labels
    draw [color=UiT-blue]
    (0,0) -- (xmax,0) coordinate[pos=0.6] (p1) node[pos=0.5,UiT-red,below=1em](u1)$u=g$
    (xmax,0) -- (xmax,ymax) coordinate[pos=0.6] (p2) node[pos=0.5,UiT-red,right=1em](u2)$u=0$
    (xmax,ymax) -- (0,ymax) coordinate[pos=0.6] (p3) node[pos=0.5,UiT-red,above=1em](u3)$u=0$
    (0,ymax) -- (0,0) coordinate[pos=0.6] (p4) node[pos=0.5,UiT-red,left=1em](u4)$u=0$;
    foreach X in 1,...,4
    draw[-Stealth[bend],UiT-red] (uX) to[out=X*90,in=X*90-180] (pX);
    % Add the S in the centre
    path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
    % Draw the axis
    draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
    draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
    % Label the axis
    path (0,0) node[below left] $0$
    (0,ymax) node[left] $1$ (xmax,0) node[below] $1$;
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer



























    • Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

      – N3buchadnezzar
      16 hours ago











    • @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

      – user121799
      16 hours ago











    • I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

      – N3buchadnezzar
      16 hours ago













    9












    9








    9







    Very similar to Skillmons answer (in that this uses in and out).



    documentclass[tikz]standalone
    usetikzlibrarypositioning,arrows.meta,bending

    definecolorUiT-mainHTML003349
    definecolorUiT-blueHTML007396
    definecolorUiT-redHTMLCB333B

    begindocument
    begintikzpicture
    defxmax2defymax2
    % Shade the box
    shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
    % Draw the border of the box and add labels
    draw [color=UiT-blue]
    (0,0) -- (xmax,0) coordinate[pos=0.6] (p1) node[pos=0.5,UiT-red,below=1em](u1)$u=g$
    (xmax,0) -- (xmax,ymax) coordinate[pos=0.6] (p2) node[pos=0.5,UiT-red,right=1em](u2)$u=0$
    (xmax,ymax) -- (0,ymax) coordinate[pos=0.6] (p3) node[pos=0.5,UiT-red,above=1em](u3)$u=0$
    (0,ymax) -- (0,0) coordinate[pos=0.6] (p4) node[pos=0.5,UiT-red,left=1em](u4)$u=0$;
    foreach X in 1,...,4
    draw[-Stealth[bend],UiT-red] (uX) to[out=X*90,in=X*90-180] (pX);
    % Add the S in the centre
    path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
    % Draw the axis
    draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
    draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
    % Label the axis
    path (0,0) node[below left] $0$
    (0,ymax) node[left] $1$ (xmax,0) node[below] $1$;
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer















    Very similar to Skillmons answer (in that this uses in and out).



    documentclass[tikz]standalone
    usetikzlibrarypositioning,arrows.meta,bending

    definecolorUiT-mainHTML003349
    definecolorUiT-blueHTML007396
    definecolorUiT-redHTMLCB333B

    begindocument
    begintikzpicture
    defxmax2defymax2
    % Shade the box
    shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
    % Draw the border of the box and add labels
    draw [color=UiT-blue]
    (0,0) -- (xmax,0) coordinate[pos=0.6] (p1) node[pos=0.5,UiT-red,below=1em](u1)$u=g$
    (xmax,0) -- (xmax,ymax) coordinate[pos=0.6] (p2) node[pos=0.5,UiT-red,right=1em](u2)$u=0$
    (xmax,ymax) -- (0,ymax) coordinate[pos=0.6] (p3) node[pos=0.5,UiT-red,above=1em](u3)$u=0$
    (0,ymax) -- (0,0) coordinate[pos=0.6] (p4) node[pos=0.5,UiT-red,left=1em](u4)$u=0$;
    foreach X in 1,...,4
    draw[-Stealth[bend],UiT-red] (uX) to[out=X*90,in=X*90-180] (pX);
    % Add the S in the centre
    path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
    % Draw the axis
    draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
    draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
    % Label the axis
    path (0,0) node[below left] $0$
    (0,ymax) node[left] $1$ (xmax,0) node[below] $1$;
    endtikzpicture
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 16 hours ago

























    answered 16 hours ago









    user121799user121799

    121k6 gold badges192 silver badges361 bronze badges




    121k6 gold badges192 silver badges361 bronze badges















    • Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

      – N3buchadnezzar
      16 hours ago











    • @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

      – user121799
      16 hours ago











    • I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

      – N3buchadnezzar
      16 hours ago

















    • Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

      – N3buchadnezzar
      16 hours ago











    • @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

      – user121799
      16 hours ago











    • I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

      – N3buchadnezzar
      16 hours ago
















    Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

    – N3buchadnezzar
    16 hours ago





    Fantastic answer as always Mormont! Any idea how to align the 0 with the two 1s in the picture? =)

    – N3buchadnezzar
    16 hours ago













    @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

    – user121799
    16 hours ago





    @N3buchadnezzar I added something in which they are aligned. The issue is that you were using label in situations in which IMHO just nodes are the cleaner option.

    – user121799
    16 hours ago













    I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

    – N3buchadnezzar
    16 hours ago





    I agree that nodes are cleaner, why did I not think of that. Sorry for still being a novice when it comes to tikz. Thanks again for a wonderful answer

    – N3buchadnezzar
    16 hours ago













    6














    Packing the lines into it with to and the out and in keys (quick and dirty).



    documentclass[tikz]standalone
    usetikzlibrarypositioning

    definecolorUiT-mainHTML003349
    definecolorUiT-blueHTML007396
    definecolorUiT-redHTMLCB333B

    begindocument
    begintikzpicture
    defxmax2defymax2
    % Shade the box
    shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
    % Draw the border of the box and add labels
    draw [color=UiT-blue]
    (0,0) -- (xmax,0) node
    [pos=0.5,label=below:colorUiT-red$u=g$](b)
    (xmax,0) -- (xmax,ymax) node
    [pos=0.5,label=right:colorUiT-red$u=1$](r)
    (xmax,ymax) -- (0,ymax) node
    [pos=0.5,label=above:colorUiT-red$u=2$](t)
    (0,ymax) -- (0,0) node [pos=0.5,label=
    left:colorUiT-red$u=3$](l);
    % Add the S in the centre
    path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
    % Draw the axis
    draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
    draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
    % Label the axis
    node[below left] (0,0) $0$;
    node[label=left:$1$] (s2) at (0,ymax) ;
    node[label=below:$1$] (s4) at (xmax,0) ;
    %
    draw[<-,UiT-red] (b.center)++(.1,-0.01) to[out=-90,in=90] ++(-0.2,-0.25);
    draw[<-,UiT-red] (r.center)++(.01,+0.1) to[out=0,in=180] ++(0.25,-0.2);
    draw[<-,UiT-red] (t.center)++(.1,0.01) to[out=90,in=-90] ++(-0.2,0.25);
    draw[<-,UiT-red] (l.center)++(-.01,+0.1) to[out=180,in=0] ++(-0.25,-0.2);
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer





























      6














      Packing the lines into it with to and the out and in keys (quick and dirty).



      documentclass[tikz]standalone
      usetikzlibrarypositioning

      definecolorUiT-mainHTML003349
      definecolorUiT-blueHTML007396
      definecolorUiT-redHTMLCB333B

      begindocument
      begintikzpicture
      defxmax2defymax2
      % Shade the box
      shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
      % Draw the border of the box and add labels
      draw [color=UiT-blue]
      (0,0) -- (xmax,0) node
      [pos=0.5,label=below:colorUiT-red$u=g$](b)
      (xmax,0) -- (xmax,ymax) node
      [pos=0.5,label=right:colorUiT-red$u=1$](r)
      (xmax,ymax) -- (0,ymax) node
      [pos=0.5,label=above:colorUiT-red$u=2$](t)
      (0,ymax) -- (0,0) node [pos=0.5,label=
      left:colorUiT-red$u=3$](l);
      % Add the S in the centre
      path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
      % Draw the axis
      draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
      draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
      % Label the axis
      node[below left] (0,0) $0$;
      node[label=left:$1$] (s2) at (0,ymax) ;
      node[label=below:$1$] (s4) at (xmax,0) ;
      %
      draw[<-,UiT-red] (b.center)++(.1,-0.01) to[out=-90,in=90] ++(-0.2,-0.25);
      draw[<-,UiT-red] (r.center)++(.01,+0.1) to[out=0,in=180] ++(0.25,-0.2);
      draw[<-,UiT-red] (t.center)++(.1,0.01) to[out=90,in=-90] ++(-0.2,0.25);
      draw[<-,UiT-red] (l.center)++(-.01,+0.1) to[out=180,in=0] ++(-0.25,-0.2);
      endtikzpicture
      enddocument


      enter image description here






      share|improve this answer



























        6












        6








        6







        Packing the lines into it with to and the out and in keys (quick and dirty).



        documentclass[tikz]standalone
        usetikzlibrarypositioning

        definecolorUiT-mainHTML003349
        definecolorUiT-blueHTML007396
        definecolorUiT-redHTMLCB333B

        begindocument
        begintikzpicture
        defxmax2defymax2
        % Shade the box
        shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
        % Draw the border of the box and add labels
        draw [color=UiT-blue]
        (0,0) -- (xmax,0) node
        [pos=0.5,label=below:colorUiT-red$u=g$](b)
        (xmax,0) -- (xmax,ymax) node
        [pos=0.5,label=right:colorUiT-red$u=1$](r)
        (xmax,ymax) -- (0,ymax) node
        [pos=0.5,label=above:colorUiT-red$u=2$](t)
        (0,ymax) -- (0,0) node [pos=0.5,label=
        left:colorUiT-red$u=3$](l);
        % Add the S in the centre
        path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
        % Draw the axis
        draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
        draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
        % Label the axis
        node[below left] (0,0) $0$;
        node[label=left:$1$] (s2) at (0,ymax) ;
        node[label=below:$1$] (s4) at (xmax,0) ;
        %
        draw[<-,UiT-red] (b.center)++(.1,-0.01) to[out=-90,in=90] ++(-0.2,-0.25);
        draw[<-,UiT-red] (r.center)++(.01,+0.1) to[out=0,in=180] ++(0.25,-0.2);
        draw[<-,UiT-red] (t.center)++(.1,0.01) to[out=90,in=-90] ++(-0.2,0.25);
        draw[<-,UiT-red] (l.center)++(-.01,+0.1) to[out=180,in=0] ++(-0.25,-0.2);
        endtikzpicture
        enddocument


        enter image description here






        share|improve this answer













        Packing the lines into it with to and the out and in keys (quick and dirty).



        documentclass[tikz]standalone
        usetikzlibrarypositioning

        definecolorUiT-mainHTML003349
        definecolorUiT-blueHTML007396
        definecolorUiT-redHTMLCB333B

        begindocument
        begintikzpicture
        defxmax2defymax2
        % Shade the box
        shade[top color=white,bottom color=UiT-blue] (0,0) rectangle (xmax,ymax);
        % Draw the border of the box and add labels
        draw [color=UiT-blue]
        (0,0) -- (xmax,0) node
        [pos=0.5,label=below:colorUiT-red$u=g$](b)
        (xmax,0) -- (xmax,ymax) node
        [pos=0.5,label=right:colorUiT-red$u=1$](r)
        (xmax,ymax) -- (0,ymax) node
        [pos=0.5,label=above:colorUiT-red$u=2$](t)
        (0,ymax) -- (0,0) node [pos=0.5,label=
        left:colorUiT-red$u=3$](l);
        % Add the S in the centre
        path (0,ymax) -- (xmax,0) node [pos=0.5]$S$;
        % Draw the axis
        draw[thick,-stealth] (-1,0) -- (.5+xmax,0) node[anchor= west] $x$;
        draw[thick,-stealth] (0,-0.5) -- (0,.5+ymax) node[anchor=south east] $y$;
        % Label the axis
        node[below left] (0,0) $0$;
        node[label=left:$1$] (s2) at (0,ymax) ;
        node[label=below:$1$] (s4) at (xmax,0) ;
        %
        draw[<-,UiT-red] (b.center)++(.1,-0.01) to[out=-90,in=90] ++(-0.2,-0.25);
        draw[<-,UiT-red] (r.center)++(.01,+0.1) to[out=0,in=180] ++(0.25,-0.2);
        draw[<-,UiT-red] (t.center)++(.1,0.01) to[out=90,in=-90] ++(-0.2,0.25);
        draw[<-,UiT-red] (l.center)++(-.01,+0.1) to[out=180,in=0] ++(-0.25,-0.2);
        endtikzpicture
        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 17 hours ago









        SkillmonSkillmon

        27.7k1 gold badge27 silver badges56 bronze badges




        27.7k1 gold badge27 silver badges56 bronze badges






























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f503898%2fheat-equation-squiggly-lines%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

            Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

            19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу