Color shading a wind turbine blade in tikz





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








3

















I am pretty new to tikz and my goal is to draw a generic wind turbine blade such that I can fill it with colors shading from green (left) to red (right)
like a colormap plot I hope you get the idea.



With my current skills I could draw the blade in a line by line fashion, but I would like to learn how to do it in a "smarter" way such that I easily can color the figure within the lines.



Generic turbine blade










share|improve this question





























  • Please show the code you used to draw the blade

    – Someone
    May 28 at 11:20











  • This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

    – Nicklas Koldkjær
    May 28 at 11:28


















3

















I am pretty new to tikz and my goal is to draw a generic wind turbine blade such that I can fill it with colors shading from green (left) to red (right)
like a colormap plot I hope you get the idea.



With my current skills I could draw the blade in a line by line fashion, but I would like to learn how to do it in a "smarter" way such that I easily can color the figure within the lines.



Generic turbine blade










share|improve this question





























  • Please show the code you used to draw the blade

    – Someone
    May 28 at 11:20











  • This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

    – Nicklas Koldkjær
    May 28 at 11:28














3












3








3








I am pretty new to tikz and my goal is to draw a generic wind turbine blade such that I can fill it with colors shading from green (left) to red (right)
like a colormap plot I hope you get the idea.



With my current skills I could draw the blade in a line by line fashion, but I would like to learn how to do it in a "smarter" way such that I easily can color the figure within the lines.



Generic turbine blade










share|improve this question

















I am pretty new to tikz and my goal is to draw a generic wind turbine blade such that I can fill it with colors shading from green (left) to red (right)
like a colormap plot I hope you get the idea.



With my current skills I could draw the blade in a line by line fashion, but I would like to learn how to do it in a "smarter" way such that I easily can color the figure within the lines.



Generic turbine blade







tikz-pgf






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited May 28 at 13:21









ian

2868 bronze badges




2868 bronze badges










asked May 28 at 11:18









Nicklas KoldkjærNicklas Koldkjær

183 bronze badges




183 bronze badges
















  • Please show the code you used to draw the blade

    – Someone
    May 28 at 11:20











  • This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

    – Nicklas Koldkjær
    May 28 at 11:28



















  • Please show the code you used to draw the blade

    – Someone
    May 28 at 11:20











  • This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

    – Nicklas Koldkjær
    May 28 at 11:28

















Please show the code you used to draw the blade

– Someone
May 28 at 11:20





Please show the code you used to draw the blade

– Someone
May 28 at 11:20













This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

– Nicklas Koldkjær
May 28 at 11:28





This is just a picture, i could draw the blade but i am looking for a method to avoid drawing it line for line

– Nicklas Koldkjær
May 28 at 11:28










1 Answer
1






active

oldest

votes


















7


















With tikz shade command:



documentclass{standalone}

usepackage{tikz}

begin{document}

begin{tikzpicture}
shadedraw[left color=green,right color=red] (0.6315,3.6977) .. controls (0.7398,3.5492) and (0.7503,3.3778) .. (0.6550,3.3151) .. controls (0.5597,3.2523) and (0.3948,3.3219) .. (0.2865,3.4705) .. controls (0.1783,3.6190) and (0.1678,3.7903) .. (0.2631,3.8531) .. controls (0.3583,3.9158) and (0.5233,3.8463) .. (0.6315,3.6977) -- cycle
(0.2221,3.8172) .. controls (0.2221,3.8172) and (0.6084,4.1358) .. (0.8203,4.2755) .. controls (0.8203,4.2755) and (1.1664,5.1021) .. (1.2321,5.1457) .. controls (1.3934,5.2527) and (5.8407,7.6417) .. (6.7093,8.1135) .. controls (6.7482,8.1346) and (6.8111,8.1615) .. (6.8414,8.1290) .. controls (6.8791,8.0885) and (6.8541,7.9998) .. (6.8103,7.9659) .. controls (5.0401,6.5957) and (0.6494,3.3122) .. (0.6494,3.3122);
end{tikzpicture}
end{document}


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


    }
    });















    draft saved

    draft discarded
















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493025%2fcolor-shading-a-wind-turbine-blade-in-tikz%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









    7


















    With tikz shade command:



    documentclass{standalone}

    usepackage{tikz}

    begin{document}

    begin{tikzpicture}
    shadedraw[left color=green,right color=red] (0.6315,3.6977) .. controls (0.7398,3.5492) and (0.7503,3.3778) .. (0.6550,3.3151) .. controls (0.5597,3.2523) and (0.3948,3.3219) .. (0.2865,3.4705) .. controls (0.1783,3.6190) and (0.1678,3.7903) .. (0.2631,3.8531) .. controls (0.3583,3.9158) and (0.5233,3.8463) .. (0.6315,3.6977) -- cycle
    (0.2221,3.8172) .. controls (0.2221,3.8172) and (0.6084,4.1358) .. (0.8203,4.2755) .. controls (0.8203,4.2755) and (1.1664,5.1021) .. (1.2321,5.1457) .. controls (1.3934,5.2527) and (5.8407,7.6417) .. (6.7093,8.1135) .. controls (6.7482,8.1346) and (6.8111,8.1615) .. (6.8414,8.1290) .. controls (6.8791,8.0885) and (6.8541,7.9998) .. (6.8103,7.9659) .. controls (5.0401,6.5957) and (0.6494,3.3122) .. (0.6494,3.3122);
    end{tikzpicture}
    end{document}


    enter image description here






    share|improve this answer

































      7


















      With tikz shade command:



      documentclass{standalone}

      usepackage{tikz}

      begin{document}

      begin{tikzpicture}
      shadedraw[left color=green,right color=red] (0.6315,3.6977) .. controls (0.7398,3.5492) and (0.7503,3.3778) .. (0.6550,3.3151) .. controls (0.5597,3.2523) and (0.3948,3.3219) .. (0.2865,3.4705) .. controls (0.1783,3.6190) and (0.1678,3.7903) .. (0.2631,3.8531) .. controls (0.3583,3.9158) and (0.5233,3.8463) .. (0.6315,3.6977) -- cycle
      (0.2221,3.8172) .. controls (0.2221,3.8172) and (0.6084,4.1358) .. (0.8203,4.2755) .. controls (0.8203,4.2755) and (1.1664,5.1021) .. (1.2321,5.1457) .. controls (1.3934,5.2527) and (5.8407,7.6417) .. (6.7093,8.1135) .. controls (6.7482,8.1346) and (6.8111,8.1615) .. (6.8414,8.1290) .. controls (6.8791,8.0885) and (6.8541,7.9998) .. (6.8103,7.9659) .. controls (5.0401,6.5957) and (0.6494,3.3122) .. (0.6494,3.3122);
      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer































        7














        7










        7









        With tikz shade command:



        documentclass{standalone}

        usepackage{tikz}

        begin{document}

        begin{tikzpicture}
        shadedraw[left color=green,right color=red] (0.6315,3.6977) .. controls (0.7398,3.5492) and (0.7503,3.3778) .. (0.6550,3.3151) .. controls (0.5597,3.2523) and (0.3948,3.3219) .. (0.2865,3.4705) .. controls (0.1783,3.6190) and (0.1678,3.7903) .. (0.2631,3.8531) .. controls (0.3583,3.9158) and (0.5233,3.8463) .. (0.6315,3.6977) -- cycle
        (0.2221,3.8172) .. controls (0.2221,3.8172) and (0.6084,4.1358) .. (0.8203,4.2755) .. controls (0.8203,4.2755) and (1.1664,5.1021) .. (1.2321,5.1457) .. controls (1.3934,5.2527) and (5.8407,7.6417) .. (6.7093,8.1135) .. controls (6.7482,8.1346) and (6.8111,8.1615) .. (6.8414,8.1290) .. controls (6.8791,8.0885) and (6.8541,7.9998) .. (6.8103,7.9659) .. controls (5.0401,6.5957) and (0.6494,3.3122) .. (0.6494,3.3122);
        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer
















        With tikz shade command:



        documentclass{standalone}

        usepackage{tikz}

        begin{document}

        begin{tikzpicture}
        shadedraw[left color=green,right color=red] (0.6315,3.6977) .. controls (0.7398,3.5492) and (0.7503,3.3778) .. (0.6550,3.3151) .. controls (0.5597,3.2523) and (0.3948,3.3219) .. (0.2865,3.4705) .. controls (0.1783,3.6190) and (0.1678,3.7903) .. (0.2631,3.8531) .. controls (0.3583,3.9158) and (0.5233,3.8463) .. (0.6315,3.6977) -- cycle
        (0.2221,3.8172) .. controls (0.2221,3.8172) and (0.6084,4.1358) .. (0.8203,4.2755) .. controls (0.8203,4.2755) and (1.1664,5.1021) .. (1.2321,5.1457) .. controls (1.3934,5.2527) and (5.8407,7.6417) .. (6.7093,8.1135) .. controls (6.7482,8.1346) and (6.8111,8.1615) .. (6.8414,8.1290) .. controls (6.8791,8.0885) and (6.8541,7.9998) .. (6.8103,7.9659) .. controls (5.0401,6.5957) and (0.6494,3.3122) .. (0.6494,3.3122);
        end{tikzpicture}
        end{document}


        enter image description here







        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited May 28 at 11:43

























        answered May 28 at 11:38









        ianian

        2868 bronze badges




        2868 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%2f493025%2fcolor-shading-a-wind-turbine-blade-in-tikz%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

            He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

            Bunad

            Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum