Skip to main content
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
Results tagged with
Search options not deleted user 63584

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

18 votes
Accepted

Art on Mathematica: How can I export 4K resolution png images?

There are a couple ways to do this! One is with ImageSize, and one is with RasterSize (probably recommended), and they have slightly different effects. Specifying ImageSize essentially scales up your …
thorimur's user avatar
  • 9,080
8 votes
Accepted

How to combine several surfaces into a solid and compute its volume?

This is a little tricky, and I'm not sure why BoundaryMesh didn't work in the following. (We have to resort to BoundaryMeshRegion instead.) But here's what we do: Discretize the spline with Discretiz …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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, …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
2 votes

Inverse Function for an example

I believe you might be looking for InverseFunction; look at the docs and you'll see that Inverse refers to taking the inverse of a square matrix. Also, you'll want to feed InverseFunction a (pure) fun …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080
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[ …
thorimur's user avatar
  • 9,080
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 …
thorimur's user avatar
  • 9,080

15 30 50 per page