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.
5
votes
Accepted
How to change the variable for x axes in a plot?
Plot isn't designed to handle arbitrary expressions as a domain. Replace r with a rdividedbya where rdividedbya is a symbol name that the language can use.
Plot[a*r^2*f[r]^2/.r->a rdividedbya,{rdivid …
2
votes
Accepted
Why DensityPlot[If[expression<0,1,0]] produce this?
From the documentation,
With the default settings Exclusions->Automatic and ExclusionsStyle->None, DensityPlot breaks continuity in the density it displays at any discontinuity curve it detects.
Mat …
2
votes
Accepted
How to plot phase plot?
I processed the data written in your question
dat = ToExpression@
With[{catenated = StringTake[#,
StringPosition[#, "Pop"][[1, 2]] - StringLength@#] &@
FirstCase[StringSplit[Import@
"https:// …
4
votes
1
answer
179
views
Sided Exclusions in Plot
Consider
Plot[Floor[x],{x,-5.5,5.5},ExclusionsStyle->{None,Blue}]
At each discontinuity, we get circles indicating the jump. Mathematically, Floor[x]=x at these discontinuities, which concides with …
3
votes
Putting together several ListPlot 2D in a 3D graphic
Manually crafting the 3d data is a good approach and may be acceptable. Another approach is to use the ListLinePlots themselves as textures for 3d polygons:
dat=yourlist&/@Range@6;
Show@@Join[
{Plo …
6
votes
Accepted
Plot a Satellite Knot
I have completely ignored all specifications of the knots (i.e. I don't know what the definition of Newton pair is or exactly what the tuples correspond to). So, flying by the seat of my pants,
here' …
3
votes
How do I use If to plot a function conditionally
Plot works with logical statements, for instance
Plot[If[x>0,x^2,0],{x,-10,10}]
Also see Piecewise or Switch instead of nesting Ifs for multiply defined functions.
2
votes
How could this image be reproduced with MMA?
Too long for a comment: I interpret these sorts of questions as a request for brainstorming. Here's how one might tackle the problem of reverse-engineering the colors: let's get every distinct color …
2
votes
Is it how you do a projection? Is it a Projection? I don’t know what this is
There are several errors in your plotting code (bmf pointed out pi, PlotStyleBlue should have a ->, PlotPoint should have an s). …
8
votes
How can I make a similiar kind of diagram without solving the dynamical equation?
One parameterization of a torus is $((2+\cos v)\cos u,(2+\cos v)\sin u,\sin v)$ for $u\in\{0,2\pi\}$ and $v\in\{0,2\pi\}$. Letting $u=50t$ and $v=t$ yields a curve along the surface like so:
With[{n …
5
votes
Gradually rendering parametric surface
I tried setting ColorFunctionScaling->False and manually scaling the range based on the max for u. Also I set MeshFunctions manually to not simply subdivide up to u, but up to 2Pi -- unfortunately th …
0
votes
Accepted
Plotting the electric field of the Lienard-Wiechert potentials
I'm not sure about the Tag List error; posting your plot code may yield some insight.
That being said, it plots fine with three changes:
make LWVdt and LWSgrad functions of $t$,
replace instances of …
10
votes
Accepted
Code golf chromostereopsis illusion
66 characters, adapted from Greg Hurst's answer:
Hue[2⌊2#⌋/3,1,⌊2Random[]⌋Boole@¬.44<#<.53]&~RadialGradientImage~57
old versions
79: ArrayPlot@Array[{Red,1,Blue}〚2+Sign@⌊#^2+#2^2-3⌋⌊2Random[]⌋〛&,{57, …
5
votes
2
answers
259
views
Copy graphical style of Slider2D
Slider2D@{.5,.5} makes a draggable orange point with gray lines in a square.
I want to use that dot in my plots. I also want to use that color and thickness of gray line. I could extract all of thi …
2
votes
How to plot ternary density plots?
0)
samplepolywhole[nsides_, density_] :=
Table[(a/density) samplepolyshell[nsides, a], {a, 0,
density}] /; (IntegerQ@nsides && nsides > 2 && IntegerQ@density && density >= 0)
And finally make a plotting …