Colorize specific region in planeColorize and the Four-Color TheoremPlot more points only in specific region of plotHow to create 3d region of f[x,y] over triangular region on xy plane?Colorize an image using two parametersRestricting VectorPlot3D to a specific regionParametricPlot3D colorfunction for a specific region of an objectIRR Plot on Complex PlaneHow to scale inset such that it takes up the specific region of a plotHow to colorize a specific contour with `ListContourPlot`Is it possible to shade specific region in DensityPlot?
Why do the Brexit opposition parties not want a new election?
If every star in the universe except the Sun were destroyed, would we die?
Why is infinite intersection "towards infinity" an empty set?
What makes things real?
Problem with listing a directory to grep
Is mountain bike good for long distances?
Is there a "right" way to interpret a novel, if not, how do we make sure our novel is interpreted correctly?
How invisible hand adjusts stock prices if company is listed on multiple exchanges, under multiple currencies, and one of the currencies plunges?
Why does 8 bit truecolor use only 2 bits for blue?
Why can't some airports handle heavy aircraft while others do it easily (same runway length)?
When did computers stop checking memory on boot?
Was Robin Hood's point of view ethically sound?
Would scoring well on a non-required GRE Mathematics Subject Test make me more competitive?
Should I tip on the Amtrak train?
How to finish my PhD?
Examples where "thin + thin = nice and thick"
Capacitors with same voltage, same capacitance, same temp, different diameter?
I multiply the source, you (probably) multiply the output!
What exactly is Apple Cider
What precisely does the commonly reported network hash rate refer to?
Leaving the USA for 10 yrs when you have asylum
Owner keeps cutting corners and poaching workers for his other company
Are personality traits, ideals, bonds, and flaws required?
How do you say "to hell with everything" in French?
Colorize specific region in plane
Colorize and the Four-Color TheoremPlot more points only in specific region of plotHow to create 3d region of f[x,y] over triangular region on xy plane?Colorize an image using two parametersRestricting VectorPlot3D to a specific regionParametricPlot3D colorfunction for a specific region of an objectIRR Plot on Complex PlaneHow to scale inset such that it takes up the specific region of a plotHow to colorize a specific contour with `ListContourPlot`Is it possible to shade specific region in DensityPlot?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
The plane is divided into a grid and points is distributed on it.
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
fig = ListPlot[points, GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5, PlotStyle -> Red,
ImageSize -> 1000]
I am interested in colorizing specific regions in the plane.
fig2 = Graphics[Green, Rectangle[],
PlotRange -> 0.7`, 0.4`, 0.75`, 0.45`]
Show[fig2, fig]
But someting go wrong, any sugestion on how to do it correct? Aditionlly how to extend it to few squares in plane?
plotting graphics
$endgroup$
add a comment |
$begingroup$
The plane is divided into a grid and points is distributed on it.
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
fig = ListPlot[points, GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5, PlotStyle -> Red,
ImageSize -> 1000]
I am interested in colorizing specific regions in the plane.
fig2 = Graphics[Green, Rectangle[],
PlotRange -> 0.7`, 0.4`, 0.75`, 0.45`]
Show[fig2, fig]
But someting go wrong, any sugestion on how to do it correct? Aditionlly how to extend it to few squares in plane?
plotting graphics
$endgroup$
$begingroup$
The problem is that options in the first item inShow
override options given in the later ones. In this case, the settings for axes and gridlines are taken fromfig2
, i.e. are not included at all. The plot range offig2
becomes the plot range for the combined figure.
$endgroup$
– C. E.
8 hours ago
add a comment |
$begingroup$
The plane is divided into a grid and points is distributed on it.
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
fig = ListPlot[points, GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5, PlotStyle -> Red,
ImageSize -> 1000]
I am interested in colorizing specific regions in the plane.
fig2 = Graphics[Green, Rectangle[],
PlotRange -> 0.7`, 0.4`, 0.75`, 0.45`]
Show[fig2, fig]
But someting go wrong, any sugestion on how to do it correct? Aditionlly how to extend it to few squares in plane?
plotting graphics
$endgroup$
The plane is divided into a grid and points is distributed on it.
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
fig = ListPlot[points, GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5, PlotStyle -> Red,
ImageSize -> 1000]
I am interested in colorizing specific regions in the plane.
fig2 = Graphics[Green, Rectangle[],
PlotRange -> 0.7`, 0.4`, 0.75`, 0.45`]
Show[fig2, fig]
But someting go wrong, any sugestion on how to do it correct? Aditionlly how to extend it to few squares in plane?
plotting graphics
plotting graphics
asked 9 hours ago
Kiril DanilchenkoKiril Danilchenko
8441 gold badge5 silver badges17 bronze badges
8441 gold badge5 silver badges17 bronze badges
$begingroup$
The problem is that options in the first item inShow
override options given in the later ones. In this case, the settings for axes and gridlines are taken fromfig2
, i.e. are not included at all. The plot range offig2
becomes the plot range for the combined figure.
$endgroup$
– C. E.
8 hours ago
add a comment |
$begingroup$
The problem is that options in the first item inShow
override options given in the later ones. In this case, the settings for axes and gridlines are taken fromfig2
, i.e. are not included at all. The plot range offig2
becomes the plot range for the combined figure.
$endgroup$
– C. E.
8 hours ago
$begingroup$
The problem is that options in the first item in
Show
override options given in the later ones. In this case, the settings for axes and gridlines are taken from fig2
, i.e. are not included at all. The plot range of fig2
becomes the plot range for the combined figure.$endgroup$
– C. E.
8 hours ago
$begingroup$
The problem is that options in the first item in
Show
override options given in the later ones. In this case, the settings for axes and gridlines are taken from fig2
, i.e. are not included at all. The plot range of fig2
becomes the plot range for the combined figure.$endgroup$
– C. E.
8 hours ago
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
coord = 0.7`, 0.4`, 0.75`, 0.45`;
fig = ListPlot[points,
GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5,
PlotStyle -> Red,
ImageSize -> 1000
, Epilog -> Green, Opacity[.5], Rectangle @@ coord
]
$endgroup$
add a comment |
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/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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f204943%2fcolorize-specific-region-in-plane%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
$begingroup$
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
coord = 0.7`, 0.4`, 0.75`, 0.45`;
fig = ListPlot[points,
GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5,
PlotStyle -> Red,
ImageSize -> 1000
, Epilog -> Green, Opacity[.5], Rectangle @@ coord
]
$endgroup$
add a comment |
$begingroup$
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
coord = 0.7`, 0.4`, 0.75`, 0.45`;
fig = ListPlot[points,
GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5,
PlotStyle -> Red,
ImageSize -> 1000
, Epilog -> Green, Opacity[.5], Rectangle @@ coord
]
$endgroup$
add a comment |
$begingroup$
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
coord = 0.7`, 0.4`, 0.75`, 0.45`;
fig = ListPlot[points,
GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5,
PlotStyle -> Red,
ImageSize -> 1000
, Epilog -> Green, Opacity[.5], Rectangle @@ coord
]
$endgroup$
num = 100;
r = N[1/20];
points = RandomReal[0, 1, num, 2];
coord = 0.7`, 0.4`, 0.75`, 0.45`;
fig = ListPlot[points,
GridLines -> Range[0, 1, r], Range[0, 1, r],
PlotMarkers -> Automatic, 3.5,
PlotStyle -> Red,
ImageSize -> 1000
, Epilog -> Green, Opacity[.5], Rectangle @@ coord
]
answered 8 hours ago
FraccaloFraccalo
3,1456 silver badges19 bronze badges
3,1456 silver badges19 bronze badges
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f204943%2fcolorize-specific-region-in-plane%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
The problem is that options in the first item in
Show
override options given in the later ones. In this case, the settings for axes and gridlines are taken fromfig2
, i.e. are not included at all. The plot range offig2
becomes the plot range for the combined figure.$endgroup$
– C. E.
8 hours ago