Data visualization is the study of the visual representation of data, meaning "information that has been abstracted in some schematic form, including attributes or variables for the units of information"
Questions tagged [visualization]
707 questions
18
votes
3 answers
How to improve quality of this Plot3D
I tried driving up PlotPoints and MaxRecursion but the intersections look weird, is there some other trick I can do?
plot = Plot3D @@ {Abs[Sqrt[x] + Sqrt[y]] /. {x -> Sin[2 x],
y -> Cos[2 y]}, {x, -2, 2}, {y, -2, 2},
PlotPoints -> 200,…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
14
votes
3 answers
One-dimensional heatmap
I want to plot a heatmap of a set of real points of the interval [0,1] - i.e., to display their linear density in the sense of a smoothed histogram. The idea I have come up so far is to use the heatMap function introduced here:
heatMap[data_, opts :…
Frederik Ziebell
- 1,053
- 8
- 21
10
votes
3 answers
Working with country flags in Mathematica
So the following on social media recently makes me wonder - What is the most elegant way to create a table of rank-1 decompositions of country flags in Mathematica?
Edit
The question is vague, but a nice side-effect would be a pedagogical…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
9
votes
2 answers
Drawing a second set of coordinate axes on the same plot
What is the right way to visualize a second set of "rotated" coordinate axes on a plot?
As an example, for the diagram below, I want to show the choice of coordinate system which makes the distribution centered at 0 with diagonal covariance matrix.…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
7
votes
3 answers
Visualizing changing histogram over time
I'm looking for a way to visualize evolution of histogram over time. You have $n$ timesteps, each with its own set of data, and I want to create $n$ histograms and visualize them as a density plot. Basically I want to demonstrate how the…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
7
votes
2 answers
How to get contour levels of picked automatically by ContourPlot?
ContourPlot picks a nice set of curves as level curves by default. I'm trying to use the set of curves as mesh curves for corresponding 3D plot, can anyone suggest how I can get those levels extracted out of contour plot?
f[x_, y_] := Log[(1 - x)^2…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
7
votes
1 answer
Anyone recognize this heatmap?
Anyone know the origins of the attached heatmap/daylight overlay? I see it on the Mathematica homepage all the time and I even saw it once on Wolfram|Alpha launch video. I know there are ways to generate both heatmaps and daylight overlays, but does…
Cory Walker
- 463
- 4
- 8
6
votes
3 answers
How to visualize a function with four arguments?
If I have a function, f[a, b, c, d], with a, b, c and d varying between 0 and 1 continuously. What would be the best way to explore this function visually with Mathematica? Is evaluating multiple Plot3D expressions with two of the four arguments…
Sulli
- 2,185
- 14
- 28
5
votes
2 answers
ListPlot3D with individual colours for each point that blend
If I have a list of points {x,y,z} and for each point an rgb colour, e.g.:
points={{0,0,0,1,0,0}, {1,0,0,0,1,0}, {1,1,1,0,0,1}}
how can I plot the surface covering the given points (ListPlot3D) and colour it with blends of the individual colours?
In…
piiipmatz
- 195
- 4
4
votes
1 answer
Clickable Bounded Diagram
Suppose I make a BoundedDiagram via the following code
Needs["ComputationalGeometry`"];
data2D = RandomReal[{0, 10}, {10, 2}];
b1 = {{0, 0}, {11, 0}, {11, 11}, {0, 11}};
convexhull = ConvexHull[data2D];
delval =…
Noon Silk
- 523
- 3
- 11
4
votes
1 answer
Map 2D data to a room plan?
I need to map 2D measures taken at regular intervals in a room on the room floor plan in order to create a "heat map". Something like that:
Taken from https://www.purrmetrix.com/category/advice/ -- for illustration purpose only
The room map can…
Sylvain Leroux
- 1,509
- 5
- 15
4
votes
2 answers
Placing a contour line at y when f(x)>=y
I have an issue that the plot below drops the contour at 0. I suspect this case is special because my function is lower bounded by 0. As a work-around, I changed 0 to 0.01, but it looks jagged, any suggestions?
ContourPlot[0.5 (x y - 4)^2, {x, 0,…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
4
votes
1 answer
Putting a 2D plot into a 3D plot
I'm trying to put a 2D plot (ContourPlot) into a 3D plot.
I started by adapting my recipe from 8 years ago but I'm finding it to be quite user unfriendly/hard to use. For one, it's using Rasterize so additional tweaking is needed to get rid of…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44
4
votes
1 answer
Dataset on a sphere
Is it possible do a similar graphic (and animation) with Mathematica? (Please see the example of dataset on a sphere in this link). To see the rotating sphere, click on the "View the Interactive Sphere" button.
locometro
- 861
- 5
- 14
3
votes
1 answer
Visualizing high-dimensional sphere packing
I'm looking for an elegant way to visualize the following problem -- allegedly, if you put $2^d$ spheres in the corners of the $d$-dimensional cube and inscribe a sphere in the center, for $d>9$, the inscribed sphere will "poke out" from the sides…
Yaroslav Bulatov
- 7,793
- 1
- 19
- 44