How can I make a plot like this in Mathematica?
$begingroup$
I need to make a plot like this below, any idea?
plotting graphics graphics3d plot-themes
$endgroup$
add a comment |
$begingroup$
I need to make a plot like this below, any idea?
plotting graphics graphics3d plot-themes
$endgroup$
$begingroup$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42
add a comment |
$begingroup$
I need to make a plot like this below, any idea?
plotting graphics graphics3d plot-themes
$endgroup$
I need to make a plot like this below, any idea?
plotting graphics graphics3d plot-themes
plotting graphics graphics3d plot-themes
edited Jan 11 at 4:43
Αλέξανδρος Ζεγγ
4,2341929
4,2341929
asked Jan 10 at 17:27
ParvizParviz
776
776
$begingroup$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42
add a comment |
$begingroup$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42
$begingroup$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42
$begingroup$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Modify, style and label as needed:
myData = {{3, 4, 5, 2, 7, 6, 5}, {4, 7, 7, 1, 9, 3, 6}, {5, 4, 7, 5, 2, 2, 7}};
lines = Graphics3D[
Line /@ Table[{i, j, myData[[j, i]]}, {j, 1, 3}, {i, 1, 7}]];
Show[lines,
ListPointPlot3D[myData,
Filling -> Bottom],
BoxRatios -> {1, 1, 1}
]
$endgroup$
add a comment |
$begingroup$
SeedRandom@22;
pts = Table[{i, j, RandomReal[0.6]}, {j, 4}, {i, 9}];
grid = Join @@ {Table[{{1, i, 0}, {9, i, 0}}, {i, 4}],
Table[{{i, 0, 0}, {i, 5, 0}}, {i, 9}]};
Graphics3D[{AbsoluteThickness@3,
Line /@ ({{#1, #2, 0}, {##}} & @@@ Join @@ pts),
AbsoluteThickness@1, Line /@ pts, Thick,
Line[{{1, 0, 0}, {1, 5, 0}, {9, 5, 0}}], Dotted, Line /@ grid},
BoxRatios -> {1, 1.3, 0.6}, Boxed -> False,
Axes -> True,
AxesStyle -> Directive[Black, Thick, 12],
PlotRange -> {{1, 9}, {0, 5}, {0, 1}}]
$endgroup$
add a comment |
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
});
}
});
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%2f189224%2fhow-can-i-make-a-plot-like-this-in-mathematica%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$
Modify, style and label as needed:
myData = {{3, 4, 5, 2, 7, 6, 5}, {4, 7, 7, 1, 9, 3, 6}, {5, 4, 7, 5, 2, 2, 7}};
lines = Graphics3D[
Line /@ Table[{i, j, myData[[j, i]]}, {j, 1, 3}, {i, 1, 7}]];
Show[lines,
ListPointPlot3D[myData,
Filling -> Bottom],
BoxRatios -> {1, 1, 1}
]
$endgroup$
add a comment |
$begingroup$
Modify, style and label as needed:
myData = {{3, 4, 5, 2, 7, 6, 5}, {4, 7, 7, 1, 9, 3, 6}, {5, 4, 7, 5, 2, 2, 7}};
lines = Graphics3D[
Line /@ Table[{i, j, myData[[j, i]]}, {j, 1, 3}, {i, 1, 7}]];
Show[lines,
ListPointPlot3D[myData,
Filling -> Bottom],
BoxRatios -> {1, 1, 1}
]
$endgroup$
add a comment |
$begingroup$
Modify, style and label as needed:
myData = {{3, 4, 5, 2, 7, 6, 5}, {4, 7, 7, 1, 9, 3, 6}, {5, 4, 7, 5, 2, 2, 7}};
lines = Graphics3D[
Line /@ Table[{i, j, myData[[j, i]]}, {j, 1, 3}, {i, 1, 7}]];
Show[lines,
ListPointPlot3D[myData,
Filling -> Bottom],
BoxRatios -> {1, 1, 1}
]
$endgroup$
Modify, style and label as needed:
myData = {{3, 4, 5, 2, 7, 6, 5}, {4, 7, 7, 1, 9, 3, 6}, {5, 4, 7, 5, 2, 2, 7}};
lines = Graphics3D[
Line /@ Table[{i, j, myData[[j, i]]}, {j, 1, 3}, {i, 1, 7}]];
Show[lines,
ListPointPlot3D[myData,
Filling -> Bottom],
BoxRatios -> {1, 1, 1}
]
edited Jan 10 at 18:53
answered Jan 10 at 18:02
David G. StorkDavid G. Stork
24.3k22153
24.3k22153
add a comment |
add a comment |
$begingroup$
SeedRandom@22;
pts = Table[{i, j, RandomReal[0.6]}, {j, 4}, {i, 9}];
grid = Join @@ {Table[{{1, i, 0}, {9, i, 0}}, {i, 4}],
Table[{{i, 0, 0}, {i, 5, 0}}, {i, 9}]};
Graphics3D[{AbsoluteThickness@3,
Line /@ ({{#1, #2, 0}, {##}} & @@@ Join @@ pts),
AbsoluteThickness@1, Line /@ pts, Thick,
Line[{{1, 0, 0}, {1, 5, 0}, {9, 5, 0}}], Dotted, Line /@ grid},
BoxRatios -> {1, 1.3, 0.6}, Boxed -> False,
Axes -> True,
AxesStyle -> Directive[Black, Thick, 12],
PlotRange -> {{1, 9}, {0, 5}, {0, 1}}]
$endgroup$
add a comment |
$begingroup$
SeedRandom@22;
pts = Table[{i, j, RandomReal[0.6]}, {j, 4}, {i, 9}];
grid = Join @@ {Table[{{1, i, 0}, {9, i, 0}}, {i, 4}],
Table[{{i, 0, 0}, {i, 5, 0}}, {i, 9}]};
Graphics3D[{AbsoluteThickness@3,
Line /@ ({{#1, #2, 0}, {##}} & @@@ Join @@ pts),
AbsoluteThickness@1, Line /@ pts, Thick,
Line[{{1, 0, 0}, {1, 5, 0}, {9, 5, 0}}], Dotted, Line /@ grid},
BoxRatios -> {1, 1.3, 0.6}, Boxed -> False,
Axes -> True,
AxesStyle -> Directive[Black, Thick, 12],
PlotRange -> {{1, 9}, {0, 5}, {0, 1}}]
$endgroup$
add a comment |
$begingroup$
SeedRandom@22;
pts = Table[{i, j, RandomReal[0.6]}, {j, 4}, {i, 9}];
grid = Join @@ {Table[{{1, i, 0}, {9, i, 0}}, {i, 4}],
Table[{{i, 0, 0}, {i, 5, 0}}, {i, 9}]};
Graphics3D[{AbsoluteThickness@3,
Line /@ ({{#1, #2, 0}, {##}} & @@@ Join @@ pts),
AbsoluteThickness@1, Line /@ pts, Thick,
Line[{{1, 0, 0}, {1, 5, 0}, {9, 5, 0}}], Dotted, Line /@ grid},
BoxRatios -> {1, 1.3, 0.6}, Boxed -> False,
Axes -> True,
AxesStyle -> Directive[Black, Thick, 12],
PlotRange -> {{1, 9}, {0, 5}, {0, 1}}]
$endgroup$
SeedRandom@22;
pts = Table[{i, j, RandomReal[0.6]}, {j, 4}, {i, 9}];
grid = Join @@ {Table[{{1, i, 0}, {9, i, 0}}, {i, 4}],
Table[{{i, 0, 0}, {i, 5, 0}}, {i, 9}]};
Graphics3D[{AbsoluteThickness@3,
Line /@ ({{#1, #2, 0}, {##}} & @@@ Join @@ pts),
AbsoluteThickness@1, Line /@ pts, Thick,
Line[{{1, 0, 0}, {1, 5, 0}, {9, 5, 0}}], Dotted, Line /@ grid},
BoxRatios -> {1, 1.3, 0.6}, Boxed -> False,
Axes -> True,
AxesStyle -> Directive[Black, Thick, 12],
PlotRange -> {{1, 9}, {0, 5}, {0, 1}}]
answered Jan 11 at 4:22
Okkes DulgerciOkkes Dulgerci
4,5451817
4,5451817
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%2f189224%2fhow-can-i-make-a-plot-like-this-in-mathematica%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$
It will be much appreciated if some sample data are provided.
$endgroup$
– Αλέξανδρος Ζεγγ
Jan 11 at 4:42