How to color a curveChanging the background color of the framed region of a plotHow to do the log scale plot for ListContourPlotContourPlot color problemsListPlot will not color markers in accordance with my color functionHow to color the exterior of a region in a `RegionPlot`?How to color a particular contour line in a ContourPlot and obtain the area surrounded?Color consistency in Plot3D with 2D projectionPlotting the outer region contourPlotting displacement values over defined regionWhat is the logarithmic color scales?(not logarithmic axes)

How to represent jealousy in a cute way?

As easy as Three, Two, One... How fast can you go from Five to Four?

My mom's return ticket is 3 days after I-94 expires

How much web presence should I have?

Should I explain the reasons for gaslighting?

Attempt to de-reference a null object when calling class method from Test class

C++ logging library

Was planting UN flag on Moon ever discussed?

Do they make "karaoke" versions of concertos for solo practice?

What is Gilligan's full Name?

Prove that the infinite series equals 1

Dedicated bike GPS computer over smartphone

What do you call the action of "describing events as they happen" like sports anchors do?

Professor Roman loves to teach unorthodox Chemistry

What plausible reason could I give for my FTL drive only working in space

Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?

A life of PhD: is it feasible?

How to use the word seem

Oil draining out shortly after turbo hose detached/broke

Is it advisable to add a location heads-up when a scene changes in a novel?

Suppose leased car is totalled: what are financial implications?

If absolute velocity does not exist, how can we say a rocket accelerates in empty space?

Why do I seem to lose data using this bash pipe construction?

Finding diameter of a circle using two chords and angle between them



How to color a curve


Changing the background color of the framed region of a plotHow to do the log scale plot for ListContourPlotContourPlot color problemsListPlot will not color markers in accordance with my color functionHow to color the exterior of a region in a `RegionPlot`?How to color a particular contour line in a ContourPlot and obtain the area surrounded?Color consistency in Plot3D with 2D projectionPlotting the outer region contourPlotting displacement values over defined regionWhat is the logarithmic color scales?(not logarithmic axes)













4












$begingroup$


How does one color the interior of the elongated circular region in the following figure:



ContourPlot[y^2 - x (x - 1)(x - 3) == 0, x, -2, 7, y, -4, 3]









share|improve this question











$endgroup$
















    4












    $begingroup$


    How does one color the interior of the elongated circular region in the following figure:



    ContourPlot[y^2 - x (x - 1)(x - 3) == 0, x, -2, 7, y, -4, 3]









    share|improve this question











    $endgroup$














      4












      4








      4


      0



      $begingroup$


      How does one color the interior of the elongated circular region in the following figure:



      ContourPlot[y^2 - x (x - 1)(x - 3) == 0, x, -2, 7, y, -4, 3]









      share|improve this question











      $endgroup$




      How does one color the interior of the elongated circular region in the following figure:



      ContourPlot[y^2 - x (x - 1)(x - 3) == 0, x, -2, 7, y, -4, 3]






      plotting






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 0:04









      J. M. is away

      99.3k10315472




      99.3k10315472










      asked Mar 24 at 20:37









      Sara yaqobSara yaqob

      425




      425




















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          Try without "==0"



          ContourPlot[y^2 - x (x - 1) (x - 3), x, -2, 7, y, -4, 3]


          enter image description here






          share|improve this answer









          $endgroup$












          • $begingroup$
            But I need only the curve not the surface
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:47


















          4












          $begingroup$

          Your plot



          c = ContourPlot[y^2 - x (x - 1) (x - 3) == 0, x, -2, 7, y, -4, 3]


          enter image description here
          The region you would like colored



          R = RegionPlot[y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3]


          enter image description here



          Both plotted together



          Show[c, R]


          enter image description here






          share|improve this answer











          $endgroup$








          • 1




            $begingroup$
            Thank you so so much sir. That's what I need.
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:50










          • $begingroup$
            @Sara, You are welcome!
            $endgroup$
            – mjw
            Mar 24 at 20:52






          • 2




            $begingroup$
            @Sarayaqob you mistakenly accepted my answer
            $endgroup$
            – Xminer
            Mar 24 at 21:05






          • 1




            $begingroup$
            That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
            $endgroup$
            – mjw
            Mar 26 at 17:11










          • $begingroup$
            You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
            $endgroup$
            – rmw
            Apr 4 at 17:08











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "387"
          ;
          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%2fmathematica.stackexchange.com%2fquestions%2f193893%2fhow-to-color-a-curve%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









          2












          $begingroup$

          Try without "==0"



          ContourPlot[y^2 - x (x - 1) (x - 3), x, -2, 7, y, -4, 3]


          enter image description here






          share|improve this answer









          $endgroup$












          • $begingroup$
            But I need only the curve not the surface
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:47















          2












          $begingroup$

          Try without "==0"



          ContourPlot[y^2 - x (x - 1) (x - 3), x, -2, 7, y, -4, 3]


          enter image description here






          share|improve this answer









          $endgroup$












          • $begingroup$
            But I need only the curve not the surface
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:47













          2












          2








          2





          $begingroup$

          Try without "==0"



          ContourPlot[y^2 - x (x - 1) (x - 3), x, -2, 7, y, -4, 3]


          enter image description here






          share|improve this answer









          $endgroup$



          Try without "==0"



          ContourPlot[y^2 - x (x - 1) (x - 3), x, -2, 7, y, -4, 3]


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 24 at 20:43









          XminerXminer

          520211




          520211











          • $begingroup$
            But I need only the curve not the surface
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:47
















          • $begingroup$
            But I need only the curve not the surface
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:47















          $begingroup$
          But I need only the curve not the surface
          $endgroup$
          – Sara yaqob
          Mar 24 at 20:47




          $begingroup$
          But I need only the curve not the surface
          $endgroup$
          – Sara yaqob
          Mar 24 at 20:47











          4












          $begingroup$

          Your plot



          c = ContourPlot[y^2 - x (x - 1) (x - 3) == 0, x, -2, 7, y, -4, 3]


          enter image description here
          The region you would like colored



          R = RegionPlot[y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3]


          enter image description here



          Both plotted together



          Show[c, R]


          enter image description here






          share|improve this answer











          $endgroup$








          • 1




            $begingroup$
            Thank you so so much sir. That's what I need.
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:50










          • $begingroup$
            @Sara, You are welcome!
            $endgroup$
            – mjw
            Mar 24 at 20:52






          • 2




            $begingroup$
            @Sarayaqob you mistakenly accepted my answer
            $endgroup$
            – Xminer
            Mar 24 at 21:05






          • 1




            $begingroup$
            That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
            $endgroup$
            – mjw
            Mar 26 at 17:11










          • $begingroup$
            You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
            $endgroup$
            – rmw
            Apr 4 at 17:08















          4












          $begingroup$

          Your plot



          c = ContourPlot[y^2 - x (x - 1) (x - 3) == 0, x, -2, 7, y, -4, 3]


          enter image description here
          The region you would like colored



          R = RegionPlot[y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3]


          enter image description here



          Both plotted together



          Show[c, R]


          enter image description here






          share|improve this answer











          $endgroup$








          • 1




            $begingroup$
            Thank you so so much sir. That's what I need.
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:50










          • $begingroup$
            @Sara, You are welcome!
            $endgroup$
            – mjw
            Mar 24 at 20:52






          • 2




            $begingroup$
            @Sarayaqob you mistakenly accepted my answer
            $endgroup$
            – Xminer
            Mar 24 at 21:05






          • 1




            $begingroup$
            That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
            $endgroup$
            – mjw
            Mar 26 at 17:11










          • $begingroup$
            You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
            $endgroup$
            – rmw
            Apr 4 at 17:08













          4












          4








          4





          $begingroup$

          Your plot



          c = ContourPlot[y^2 - x (x - 1) (x - 3) == 0, x, -2, 7, y, -4, 3]


          enter image description here
          The region you would like colored



          R = RegionPlot[y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3]


          enter image description here



          Both plotted together



          Show[c, R]


          enter image description here






          share|improve this answer











          $endgroup$



          Your plot



          c = ContourPlot[y^2 - x (x - 1) (x - 3) == 0, x, -2, 7, y, -4, 3]


          enter image description here
          The region you would like colored



          R = RegionPlot[y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3]


          enter image description here



          Both plotted together



          Show[c, R]


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 25 at 1:24

























          answered Mar 24 at 20:49









          mjwmjw

          1,33910




          1,33910







          • 1




            $begingroup$
            Thank you so so much sir. That's what I need.
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:50










          • $begingroup$
            @Sara, You are welcome!
            $endgroup$
            – mjw
            Mar 24 at 20:52






          • 2




            $begingroup$
            @Sarayaqob you mistakenly accepted my answer
            $endgroup$
            – Xminer
            Mar 24 at 21:05






          • 1




            $begingroup$
            That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
            $endgroup$
            – mjw
            Mar 26 at 17:11










          • $begingroup$
            You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
            $endgroup$
            – rmw
            Apr 4 at 17:08












          • 1




            $begingroup$
            Thank you so so much sir. That's what I need.
            $endgroup$
            – Sara yaqob
            Mar 24 at 20:50










          • $begingroup$
            @Sara, You are welcome!
            $endgroup$
            – mjw
            Mar 24 at 20:52






          • 2




            $begingroup$
            @Sarayaqob you mistakenly accepted my answer
            $endgroup$
            – Xminer
            Mar 24 at 21:05






          • 1




            $begingroup$
            That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
            $endgroup$
            – mjw
            Mar 26 at 17:11










          • $begingroup$
            You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
            $endgroup$
            – rmw
            Apr 4 at 17:08







          1




          1




          $begingroup$
          Thank you so so much sir. That's what I need.
          $endgroup$
          – Sara yaqob
          Mar 24 at 20:50




          $begingroup$
          Thank you so so much sir. That's what I need.
          $endgroup$
          – Sara yaqob
          Mar 24 at 20:50












          $begingroup$
          @Sara, You are welcome!
          $endgroup$
          – mjw
          Mar 24 at 20:52




          $begingroup$
          @Sara, You are welcome!
          $endgroup$
          – mjw
          Mar 24 at 20:52




          2




          2




          $begingroup$
          @Sarayaqob you mistakenly accepted my answer
          $endgroup$
          – Xminer
          Mar 24 at 21:05




          $begingroup$
          @Sarayaqob you mistakenly accepted my answer
          $endgroup$
          – Xminer
          Mar 24 at 21:05




          1




          1




          $begingroup$
          That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
          $endgroup$
          – mjw
          Mar 26 at 17:11




          $begingroup$
          That's okay. Anyway, your answer works. One question is whether or not we can color in the round area only using ContourPlot[].
          $endgroup$
          – mjw
          Mar 26 at 17:11












          $begingroup$
          You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
          $endgroup$
          – rmw
          Apr 4 at 17:08




          $begingroup$
          You can color the RegionPlotwith PlotStyle, e.g. R = RegionPlot[ y^2 - x (x - 1) (x - 3) < 0 && x < 2, x, -2, 7, y, -4, 3, PlotStyle -> Yellow]
          $endgroup$
          – rmw
          Apr 4 at 17:08

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Mathematica 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.

          Use MathJax to format equations. MathJax reference.


          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%2fmathematica.stackexchange.com%2fquestions%2f193893%2fhow-to-color-a-curve%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현