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
1
answer
269
views
Difficulty in Animation of Inverted Pendulum from Interpolating Function
I was trying to model an inverted pendulum system and control it. I successfully got the plot but I'm not able to use the data to animate a graphically created inverted pendulum. Run the code serially …
3
votes
2
answers
914
views
Extraction of array from NDSolve output
I have got a system of differential equations. The system has $4$ variables. I am trying to plot trajectory of a particle outside a Kerr Black Hole. I have used Mathematica to calculate all the $4$ di …
2
votes
1
answer
192
views
How to increase performance of this code for plotting a contour plot?
I have an equation which I need to triple integrate over a unit cube. The equation is
pot = NIntegrate[1/Sqrt[(x - h)^2 + (y - k)^2 + (z - l)^2], {h,-1,1}, {k,-1,
1},{l,-1,1}];
As soon as I enter …
1
vote
2
answers
580
views
VectorPlot3D not working as expected (but other functions for same input are)
NIntegrate[rint2def[x, y, z, h], {h, -(a/2), a/2}]
Now, I plot the ContourPlot for $z=1/4$
ContourPlot[rint3[x, y, 1/4], {x, -2, 2}, {y, -2, 2},ImageSize -> 200]
Which gives the result as
Now, plotting …
2
votes
Accepted
VectorPlot3D not working as expected (but other functions for same input are)
The solution to the problem is as mentioned by @chris in comments of the question
Replace the VectorPlot3D[] command which is
VectorPlot3D[Grad[rint3[x, y, z], {x, y, z}],
{x, -2, 2}, {y, -2, 2}, { …
1
vote
1
answer
198
views
How to plot lines using consecutive points from an array using ParametricPlot3D or so?
I was trying to simulate Gravitational Orbits using Newtonian Gravitation. I did not use NDSolve[] but instead used finite differences; coded myself. The code for which is as follows:
M = 1; G = 1;h …
2
votes
3
answers
99
views
How to plot $\left|y(t)\right|'$ where $y(t)$ is the output from NDSolveValue
I have a complex valued ODE.
ysol = NDSolveValue[{y'[x] == I Sin[y[x] Cos[x y[x]]], y[0] == .5}, y, {x, 0, 30}];
Plot[Abs[ysol[x]], {x, 0, 30}, PlotRange -> All]
The function $\left|y(t)\right|$ is …
0
votes
0
answers
37
views
Meshgrid Visible in RegionPlot when Saving Figure as PDF [duplicate]
I have a region and a contour plot. My goal is to superimpose them to compare them. So, I used the Opacity[] on the region plot function but when I save the figure in .pdf or .eps format, the result i …