To plot branch cut of logarithmVisualizing Riemann surface (two branches) of logarithmHow to plot the contour...
Ask for a paid taxi in order to arrive as early as possible for an interview within the city
Co-author responds to email by mistake cc'ing the EiC
Shouldn't the "credit score" prevent Americans from going deeper and deeper into personal debt?
Defense against attacks using dictionaries
Why were movies shot on film shot at 24 frames per second?
Why don't politicians push for fossil fuel reduction by pointing out their scarcity?
How can I support the recycling, but not the new production of aluminum?
What can I do to keep a threaded bolt from falling out of its slot?
The sound of thunder's like a whip
Is it safe to remove the bottom chords of a series of garage roof trusses?
Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?
Metal that glows when near pieces of itself
Why does my house heat up, even when it's cool outside?
(Why) May a Beit Din refuse to bury a body in order to coerce a man into giving a divorce?
Turn TDE off when restoring SQL databases
Should my "average" PC be able to discern the potential of encountering a gelatinous cube from subtle clues?
Taking out number of subarrays from an array which contains all the distinct elements of that array
Why is 日本 read as "nihon" but not "nitsuhon"?
How to dismiss intrusive questions from a colleague with whom I don't work?
Are there nouns that change meaning based on gender?
What is "Wayfinder's Guide to Eberron"?
Why we don't have vaccination against all diseases which are caused by microbes?
Are illustrations in novels frowned upon?
Is it appropriate for a prospective landlord to ask me for my credit report?
To plot branch cut of logarithm
Visualizing Riemann surface (two branches) of logarithmHow to plot the contour of f[x,y]==0 if always f[x,y]>=0Change Contour Plot Overlap OrderingBranch cuts of sqrtDifferentiate contour color based on different functions rather than the contour valuesBranch cut of $sqrt{x^2-1}$?How to Approximate at Non-differentiable Point (forced Series Expansion around Branch Cut)Visualizing the complex logarithm
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
I like to see the branch cut of the function:
$$1 - z ln[(1+z)/z].$$
If I plot it in the complex plane:
Plot3D[Re[1 - (x + I y) Log[(1 + x + I y)/(x + I y)]], {x, -2,
2}, {y, -2, 2}]
The result is:
which shows the brach cut correctly between -1 and 0. How can I get rid of the hole in the picture and have a smooth line as a branch cut rather than a white line discontinuity?
Also the same for contour plot:
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> 40]]
plotting calculus-and-analysis complex
New contributor
$endgroup$
add a comment |
$begingroup$
I like to see the branch cut of the function:
$$1 - z ln[(1+z)/z].$$
If I plot it in the complex plane:
Plot3D[Re[1 - (x + I y) Log[(1 + x + I y)/(x + I y)]], {x, -2,
2}, {y, -2, 2}]
The result is:
which shows the brach cut correctly between -1 and 0. How can I get rid of the hole in the picture and have a smooth line as a branch cut rather than a white line discontinuity?
Also the same for contour plot:
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> 40]]
plotting calculus-and-analysis complex
New contributor
$endgroup$
1
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
2
$begingroup$
You can useExclusions -> None
to get rid of the white line.
$endgroup$
– C. E.
2 days ago
add a comment |
$begingroup$
I like to see the branch cut of the function:
$$1 - z ln[(1+z)/z].$$
If I plot it in the complex plane:
Plot3D[Re[1 - (x + I y) Log[(1 + x + I y)/(x + I y)]], {x, -2,
2}, {y, -2, 2}]
The result is:
which shows the brach cut correctly between -1 and 0. How can I get rid of the hole in the picture and have a smooth line as a branch cut rather than a white line discontinuity?
Also the same for contour plot:
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> 40]]
plotting calculus-and-analysis complex
New contributor
$endgroup$
I like to see the branch cut of the function:
$$1 - z ln[(1+z)/z].$$
If I plot it in the complex plane:
Plot3D[Re[1 - (x + I y) Log[(1 + x + I y)/(x + I y)]], {x, -2,
2}, {y, -2, 2}]
The result is:
which shows the brach cut correctly between -1 and 0. How can I get rid of the hole in the picture and have a smooth line as a branch cut rather than a white line discontinuity?
Also the same for contour plot:
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> 40]]
plotting calculus-and-analysis complex
plotting calculus-and-analysis complex
New contributor
New contributor
edited 2 days ago
Call me potato.
New contributor
asked 2 days ago
Call me potato.Call me potato.
504 bronze badges
504 bronze badges
New contributor
New contributor
1
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
2
$begingroup$
You can useExclusions -> None
to get rid of the white line.
$endgroup$
– C. E.
2 days ago
add a comment |
1
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
2
$begingroup$
You can useExclusions -> None
to get rid of the white line.
$endgroup$
– C. E.
2 days ago
1
1
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
2
2
$begingroup$
You can use
Exclusions -> None
to get rid of the white line.$endgroup$
– C. E.
2 days ago
$begingroup$
You can use
Exclusions -> None
to get rid of the white line.$endgroup$
– C. E.
2 days ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Change "Rainbow" with any ColorScheme you prefer, and the rescaling values {-2,1} to obtain different scaling.
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> Range[-4, 2, .1],
ColorFunction -> (ColorData["Rainbow"][Rescale[#, {-2, 1}]] &),
ColorFunctionScaling -> False, PlotRange -> All]]
$endgroup$
add a comment |
$begingroup$
Note that you can also use the new (as of Version 12) ComplexPlot
function, too:
ComplexPlot[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I}, Mesh -> 10,
MeshFunctions -> {Re[#2] &, Im[#2] &}]
Or the 3D version:
ComplexPlot3D[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I},
Mesh -> 10, PlotRange -> All]
$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/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
});
}
});
Call me potato. is a new contributor. Be nice, and check out our Code of Conduct.
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%2f203899%2fto-plot-branch-cut-of-logarithm%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
$begingroup$
Change "Rainbow" with any ColorScheme you prefer, and the rescaling values {-2,1} to obtain different scaling.
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> Range[-4, 2, .1],
ColorFunction -> (ColorData["Rainbow"][Rescale[#, {-2, 1}]] &),
ColorFunctionScaling -> False, PlotRange -> All]]
$endgroup$
add a comment |
$begingroup$
Change "Rainbow" with any ColorScheme you prefer, and the rescaling values {-2,1} to obtain different scaling.
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> Range[-4, 2, .1],
ColorFunction -> (ColorData["Rainbow"][Rescale[#, {-2, 1}]] &),
ColorFunctionScaling -> False, PlotRange -> All]]
$endgroup$
add a comment |
$begingroup$
Change "Rainbow" with any ColorScheme you prefer, and the rescaling values {-2,1} to obtain different scaling.
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> Range[-4, 2, .1],
ColorFunction -> (ColorData["Rainbow"][Rescale[#, {-2, 1}]] &),
ColorFunctionScaling -> False, PlotRange -> All]]
$endgroup$
Change "Rainbow" with any ColorScheme you prefer, and the rescaling values {-2,1} to obtain different scaling.
With[{z = x + I y},
ContourPlot[Re[1 - z Log[(1 + z)/(z)]], {x, -2, 2}, {y, -2, 2},
Contours -> Range[-4, 2, .1],
ColorFunction -> (ColorData["Rainbow"][Rescale[#, {-2, 1}]] &),
ColorFunctionScaling -> False, PlotRange -> All]]
answered 2 days ago
FraccaloFraccalo
2,9706 silver badges18 bronze badges
2,9706 silver badges18 bronze badges
add a comment |
add a comment |
$begingroup$
Note that you can also use the new (as of Version 12) ComplexPlot
function, too:
ComplexPlot[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I}, Mesh -> 10,
MeshFunctions -> {Re[#2] &, Im[#2] &}]
Or the 3D version:
ComplexPlot3D[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I},
Mesh -> 10, PlotRange -> All]
$endgroup$
add a comment |
$begingroup$
Note that you can also use the new (as of Version 12) ComplexPlot
function, too:
ComplexPlot[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I}, Mesh -> 10,
MeshFunctions -> {Re[#2] &, Im[#2] &}]
Or the 3D version:
ComplexPlot3D[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I},
Mesh -> 10, PlotRange -> All]
$endgroup$
add a comment |
$begingroup$
Note that you can also use the new (as of Version 12) ComplexPlot
function, too:
ComplexPlot[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I}, Mesh -> 10,
MeshFunctions -> {Re[#2] &, Im[#2] &}]
Or the 3D version:
ComplexPlot3D[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I},
Mesh -> 10, PlotRange -> All]
$endgroup$
Note that you can also use the new (as of Version 12) ComplexPlot
function, too:
ComplexPlot[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I}, Mesh -> 10,
MeshFunctions -> {Re[#2] &, Im[#2] &}]
Or the 3D version:
ComplexPlot3D[1 - z Log[(1 + z)/z], {z, -2 - 2 I, 2 + 2 I},
Mesh -> 10, PlotRange -> All]
answered 2 days ago
murraymurray
6,44319 silver badges36 bronze badges
6,44319 silver badges36 bronze badges
add a comment |
add a comment |
Call me potato. is a new contributor. Be nice, and check out our Code of Conduct.
Call me potato. is a new contributor. Be nice, and check out our Code of Conduct.
Call me potato. is a new contributor. Be nice, and check out our Code of Conduct.
Call me potato. is a new contributor. Be nice, and check out our Code of Conduct.
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%2f203899%2fto-plot-branch-cut-of-logarithm%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
1
$begingroup$
Add the plot option: PlotRange -> All
$endgroup$
– Fraccalo
2 days ago
$begingroup$
@Fraccalo Many thanks! Can we have a smooth line for the brach cut rather than "white line" discontinuity?
$endgroup$
– Call me potato.
2 days ago
$begingroup$
Not sure, but if you have an analytical formula of where the branch cut is, then it would be quite simple to plot it on top of the original 3d plot
$endgroup$
– Fraccalo
2 days ago
2
$begingroup$
You can use
Exclusions -> None
to get rid of the white line.$endgroup$
– C. E.
2 days ago