Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
0
votes
Accepted
How to make a {x,y,z} plot of a data set
If I'm interpreting your data structure right, then one straightforward way to do this is by the following:
datapoints = Flatten[Array[{X[[#1]], Y[[#2]], Z[[#2, #1]]} &, {Length[X], Length[Y]}], 1]
A …
2
votes
Accepted
How to exclude multiple ranges from the X-axis in ListPlot
One way is to change the construction of Tab1 in the first place, and simply Join together the ranges that you are going to keep.
Another is to use Select, Cases, or DeleteCases to modify Tab1. With S …
4
votes
ContourPlot3D, grid of cylinders
So, one thing you can do here is note that the equation for a cylinder extending along the z-axis is $x^2+y^2=0$, or $x^2+y^2\leq0$ for a solid cylinder. That is, it's the equation for a circle that i …
4
votes
Optimal presentation of discrete double inequality
Building off of what you have, I think it's nice to put $F(n)$ in the denominator each time, and shift the origin of the axes to {0,1}. Then the one bigger than $F(n)$ is above the axis, and the one s …
6
votes
Plot only a portion of an equation with two variables in the plane
I think your issue might be that $x_1 \leq 0$ and $x_1 \geq 0$ do not properly characterize the parts of the regions you want. It seems that for the bottom one, you want $x_1 \geq -x_2$, and for the t …
7
votes
Plotting electric field derived from Mie theory
Welcome to MMA SE! There are several things preventing this from working.
The ; after ContourPlot will suppress the output; simply remove it.
Es is not defined as a function, and so the syntax Es[x,y …
3
votes
Accepted
1D Integral always evaluates to 0 and Replace All
You're right that it's a delayed evaluation problem! I traced the problem back to Eigenvectors. Note that it behaves differently when given symbolic arguments and numeric ones:
Eigenvectors[hMf[0.01, …
1
vote
How can I plot a 2D matrix with this style?
To do this you might have to add extra values to your matrix, essentially to "pin down" the values of ListPlot3D to 0 between your "actual" matrix values. We can do that as follows:
mRiffle0[m_?Matrix …
2
votes
Accepted
'quiver' function in MMA (quiver(x,y,u,v))
If you want to mimic MATLAB syntax, you can define quiver as such:
quiver[X_, Y_, DX_, DY_, opts___] :=
Block[{points = Transpose[Flatten /@ {X, Y}]},
ListVectorPlot[Transpose[{points, Transpose[ …
5
votes
Copy graphical style of Slider2D
I don't think this is actually made with Wolfram graphics primitives, but you can still find the image it uses! Open the application package and navigate to Contents > SystemFiles > FrontEnd > SystemR …
4
votes
Accepted
Plotting fundamental domains of $\mathbb{Z}^{2}$ with additional features
Here's something that you could overlay things on with Show (and you could include Axes -> True to show the axes—plus you could style them appropriately)! xmin, xmax, ymin, and ymax are of course adju …
2
votes
Accepted
How to visualize a Lagrange problem with Mathematica?
It's typically useful in Mathematica to translate mathematical notation of the form $x_i$ into x[i]. If you do that with \[Sigma][i] (which looks much better in a Mathematica notebook!), we could defi …
1
vote
Plotting equation with some unknown parameters
However, by plotting both sides of the equation in 3D and viewing the result from directly above to see where the intersections lie, it does seem we've got them all in this range. …
1
vote
Plane embedded in Non-Euclidean spacetime
Here's the simple approach in case it helps (not a full answer), noting that we can phrase the constraint $u=x$ in terms of $t$ by substituting $x$ in for $u$ in $t = u + \int \frac{dz}{f(u,z)}$:
\[Ep …
7
votes
Rescale y-axis of listplot
You can use the option ScalingFunctions! They're easy to use but a bit tricky to understand. I'll be honest: I don't know what the second function it asks for does, but the documentation says to use t …