RegionPlot of annulus gives a mesh The Next CEO of Stack OverflowHow to express ticks in scientific form?How to combine ParametricPlot and RegionPlot?How should I debug a failed Manipulate of RegionPlot?RegionPlot, RegionPlot3D and differing embedding dimensionsPlotting issue — possible bug?An issue evaluating RegionInteresectCannot avoid redundant function evaluations in RegionPlotFrame within a Frame for all plots? Why?Exporting ParametricPlot to .pdfIssue related to BoundaryDiscretizeGraphics

Make solar eclipses exceedingly rare, but still have new moons

What does "Its cash flow is deeply negative" mean?

What flight has the highest ratio of time difference to flight time?

Why do remote companies require working in the US?

What benefits would be gained by using human laborers instead of drones in deep sea mining?

Why do airplanes bank sharply to the right after air-to-air refueling?

Sending manuscript to multiple publishers

Should I tutor a student who I know has cheated on their homework?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?

Help understanding this unsettling image of Titan, Epimetheus, and Saturn's rings?

What connection does MS Office have to Netscape Navigator?

Why do professional authors make "consistency" mistakes? And how to avoid them?

Anatomically Correct Strange Women In Ponds Distributing Swords

Would a galaxy be visible from outside, but nearby?

Which tube will fit a -(700 x 25c) wheel?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

How do I make a variable always equal to the result of some calculations?

Inappropriate reference requests from Journal reviewers

If the heap is initialized for security, then why is the stack uninitialized?

How does the mv command work with external drives?

How do scammers retract money, while you can’t?

Elegant way to replace substring in a regex with optional groups in Python?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

Several mode to write the symbol of a vector



RegionPlot of annulus gives a mesh



The Next CEO of Stack OverflowHow to express ticks in scientific form?How to combine ParametricPlot and RegionPlot?How should I debug a failed Manipulate of RegionPlot?RegionPlot, RegionPlot3D and differing embedding dimensionsPlotting issue — possible bug?An issue evaluating RegionInteresectCannot avoid redundant function evaluations in RegionPlotFrame within a Frame for all plots? Why?Exporting ParametricPlot to .pdfIssue related to BoundaryDiscretizeGraphics










1












$begingroup$


So I tried plotting an annulus in two ways:



RegionPlot[Annulus[0,0,a,b]]
Graphics[Annulus[0,0,a,b]]


Why does RegionPlot give a fractal looking thing? (see below for when a=1; b=5;)
RegionPlot image



*note, I used wolfram programing lab.










share|improve this question











$endgroup$











  • $begingroup$
    What are $a$ and $b$ here?
    $endgroup$
    – mjw
    5 hours ago










  • $begingroup$
    Try a=1; b=5; But really any values give something weird
    $endgroup$
    – Ion Sme
    5 hours ago






  • 4




    $begingroup$
    Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
    $endgroup$
    – MarcoB
    5 hours ago






  • 1




    $begingroup$
    @IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
    $endgroup$
    – MarcoB
    5 hours ago






  • 2




    $begingroup$
    There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
    $endgroup$
    – Thies Heidecke
    4 hours ago
















1












$begingroup$


So I tried plotting an annulus in two ways:



RegionPlot[Annulus[0,0,a,b]]
Graphics[Annulus[0,0,a,b]]


Why does RegionPlot give a fractal looking thing? (see below for when a=1; b=5;)
RegionPlot image



*note, I used wolfram programing lab.










share|improve this question











$endgroup$











  • $begingroup$
    What are $a$ and $b$ here?
    $endgroup$
    – mjw
    5 hours ago










  • $begingroup$
    Try a=1; b=5; But really any values give something weird
    $endgroup$
    – Ion Sme
    5 hours ago






  • 4




    $begingroup$
    Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
    $endgroup$
    – MarcoB
    5 hours ago






  • 1




    $begingroup$
    @IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
    $endgroup$
    – MarcoB
    5 hours ago






  • 2




    $begingroup$
    There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
    $endgroup$
    – Thies Heidecke
    4 hours ago














1












1








1





$begingroup$


So I tried plotting an annulus in two ways:



RegionPlot[Annulus[0,0,a,b]]
Graphics[Annulus[0,0,a,b]]


Why does RegionPlot give a fractal looking thing? (see below for when a=1; b=5;)
RegionPlot image



*note, I used wolfram programing lab.










share|improve this question











$endgroup$




So I tried plotting an annulus in two ways:



RegionPlot[Annulus[0,0,a,b]]
Graphics[Annulus[0,0,a,b]]


Why does RegionPlot give a fractal looking thing? (see below for when a=1; b=5;)
RegionPlot image



*note, I used wolfram programing lab.







graphics regions






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 hours ago









MarcoB

38.1k556114




38.1k556114










asked 5 hours ago









Ion SmeIon Sme

876




876











  • $begingroup$
    What are $a$ and $b$ here?
    $endgroup$
    – mjw
    5 hours ago










  • $begingroup$
    Try a=1; b=5; But really any values give something weird
    $endgroup$
    – Ion Sme
    5 hours ago






  • 4




    $begingroup$
    Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
    $endgroup$
    – MarcoB
    5 hours ago






  • 1




    $begingroup$
    @IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
    $endgroup$
    – MarcoB
    5 hours ago






  • 2




    $begingroup$
    There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
    $endgroup$
    – Thies Heidecke
    4 hours ago

















  • $begingroup$
    What are $a$ and $b$ here?
    $endgroup$
    – mjw
    5 hours ago










  • $begingroup$
    Try a=1; b=5; But really any values give something weird
    $endgroup$
    – Ion Sme
    5 hours ago






  • 4




    $begingroup$
    Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
    $endgroup$
    – MarcoB
    5 hours ago






  • 1




    $begingroup$
    @IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
    $endgroup$
    – MarcoB
    5 hours ago






  • 2




    $begingroup$
    There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
    $endgroup$
    – Thies Heidecke
    4 hours ago
















$begingroup$
What are $a$ and $b$ here?
$endgroup$
– mjw
5 hours ago




$begingroup$
What are $a$ and $b$ here?
$endgroup$
– mjw
5 hours ago












$begingroup$
Try a=1; b=5; But really any values give something weird
$endgroup$
– Ion Sme
5 hours ago




$begingroup$
Try a=1; b=5; But really any values give something weird
$endgroup$
– Ion Sme
5 hours ago




4




4




$begingroup$
Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
$endgroup$
– MarcoB
5 hours ago




$begingroup$
Because it discretized the region in order to plot it, and it is showing the underlying triangulation mesh.
$endgroup$
– MarcoB
5 hours ago




1




1




$begingroup$
@IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
$endgroup$
– MarcoB
5 hours ago




$begingroup$
@IonSme I guess they just use different defaults for plotting; the Graphics result is "normal-looking" though.
$endgroup$
– MarcoB
5 hours ago




2




2




$begingroup$
There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
$endgroup$
– Thies Heidecke
4 hours ago





$begingroup$
There are some subtle differences going on how Mma shows Regions and RegionPlot Graphics. Also Regions can be defined analytically via ImplicitRegion or ParametricRegion or as 'flat' MeshRegions. DiscretizeRegion converts every type to a MeshRegion and some functions like RegionPlot might use something similar to DiscretizeRegion under the hood to make plotting easier, whose discretization it for some reason decides to show. Like others wrote you can use ImplicitRegion to get a different (not discretized) look in your case.
$endgroup$
– Thies Heidecke
4 hours ago











1 Answer
1






active

oldest

votes


















4












$begingroup$

 a = 1; b = 5;


Please try plotting with Region[]. These look okay to me:



 Region[RegionDifference[Disk[0, 0, b], Disk[0, 0, a]]]


enter image description here



 Region[Annulus[0, 0, a, b]]


enter image description here



Here is a decent plot, with RegionPlot:



 RegionPlot[x^2 + y^2 > 1 && x^2 + y^2 < 25, x, -6, 6, y, -6, 6]


enter image description here



Here it is (again) with Graphics[]:



 Graphics[LightBlue, Annulus[0, 0, a, b]]


enter image description here






share|improve this answer











$endgroup$












  • $begingroup$
    Hmmm, that worked, but why is RegionPlot so funky?
    $endgroup$
    – Ion Sme
    5 hours ago






  • 1




    $begingroup$
    I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
    $endgroup$
    – mjw
    5 hours ago











Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

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%2f194211%2fregionplot-of-annulus-gives-a-mesh%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









4












$begingroup$

 a = 1; b = 5;


Please try plotting with Region[]. These look okay to me:



 Region[RegionDifference[Disk[0, 0, b], Disk[0, 0, a]]]


enter image description here



 Region[Annulus[0, 0, a, b]]


enter image description here



Here is a decent plot, with RegionPlot:



 RegionPlot[x^2 + y^2 > 1 && x^2 + y^2 < 25, x, -6, 6, y, -6, 6]


enter image description here



Here it is (again) with Graphics[]:



 Graphics[LightBlue, Annulus[0, 0, a, b]]


enter image description here






share|improve this answer











$endgroup$












  • $begingroup$
    Hmmm, that worked, but why is RegionPlot so funky?
    $endgroup$
    – Ion Sme
    5 hours ago






  • 1




    $begingroup$
    I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
    $endgroup$
    – mjw
    5 hours ago















4












$begingroup$

 a = 1; b = 5;


Please try plotting with Region[]. These look okay to me:



 Region[RegionDifference[Disk[0, 0, b], Disk[0, 0, a]]]


enter image description here



 Region[Annulus[0, 0, a, b]]


enter image description here



Here is a decent plot, with RegionPlot:



 RegionPlot[x^2 + y^2 > 1 && x^2 + y^2 < 25, x, -6, 6, y, -6, 6]


enter image description here



Here it is (again) with Graphics[]:



 Graphics[LightBlue, Annulus[0, 0, a, b]]


enter image description here






share|improve this answer











$endgroup$












  • $begingroup$
    Hmmm, that worked, but why is RegionPlot so funky?
    $endgroup$
    – Ion Sme
    5 hours ago






  • 1




    $begingroup$
    I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
    $endgroup$
    – mjw
    5 hours ago













4












4








4





$begingroup$

 a = 1; b = 5;


Please try plotting with Region[]. These look okay to me:



 Region[RegionDifference[Disk[0, 0, b], Disk[0, 0, a]]]


enter image description here



 Region[Annulus[0, 0, a, b]]


enter image description here



Here is a decent plot, with RegionPlot:



 RegionPlot[x^2 + y^2 > 1 && x^2 + y^2 < 25, x, -6, 6, y, -6, 6]


enter image description here



Here it is (again) with Graphics[]:



 Graphics[LightBlue, Annulus[0, 0, a, b]]


enter image description here






share|improve this answer











$endgroup$



 a = 1; b = 5;


Please try plotting with Region[]. These look okay to me:



 Region[RegionDifference[Disk[0, 0, b], Disk[0, 0, a]]]


enter image description here



 Region[Annulus[0, 0, a, b]]


enter image description here



Here is a decent plot, with RegionPlot:



 RegionPlot[x^2 + y^2 > 1 && x^2 + y^2 < 25, x, -6, 6, y, -6, 6]


enter image description here



Here it is (again) with Graphics[]:



 Graphics[LightBlue, Annulus[0, 0, a, b]]


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 5 hours ago









mjwmjw

1,17610




1,17610











  • $begingroup$
    Hmmm, that worked, but why is RegionPlot so funky?
    $endgroup$
    – Ion Sme
    5 hours ago






  • 1




    $begingroup$
    I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
    $endgroup$
    – mjw
    5 hours ago
















  • $begingroup$
    Hmmm, that worked, but why is RegionPlot so funky?
    $endgroup$
    – Ion Sme
    5 hours ago






  • 1




    $begingroup$
    I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
    $endgroup$
    – mjw
    5 hours ago















$begingroup$
Hmmm, that worked, but why is RegionPlot so funky?
$endgroup$
– Ion Sme
5 hours ago




$begingroup$
Hmmm, that worked, but why is RegionPlot so funky?
$endgroup$
– Ion Sme
5 hours ago




1




1




$begingroup$
I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
$endgroup$
– mjw
5 hours ago




$begingroup$
I think MarcoB mostly answers this below your question. So we can then ask: Why does RegionPlot use one algorithm, and Region another? RegionPlot seems to like functions as inputs, and also likes to have the $x$ and $y$ ranges speciifed ...
$endgroup$
– mjw
5 hours ago

















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%2f194211%2fregionplot-of-annulus-gives-a-mesh%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

Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2